anchor.diff:                   ig_data = <lg_data> ).
   
     ENDMETHOD.
  +
  +
  +  METHOD format_source_before_serialize.
  +
  +    DATA:
  +      lv_len       TYPE i,
  +      lv_lastchar1 TYPE c,
  +      lv_lastchar2 TYPE c.
  +
  +    " New line included in 751+ by CL_DD_DDL_HANDLER=>ADD_BASEOBJS_INFO_TO_DDLS
  +    " Change for 750-
  +
  +    lv_len = strlen( cv_string ) - 1.
  +    lv_lastchar1 = cv_string+lv_len(1).
  +
  +    lv_len = strlen( cv_string ) - 2.
  +    lv_lastchar2 = cv_string+lv_len(1).
  +
  +    " only add a line break, if the last character is unequal to cr_lf and newline !
  +    IF lv_lastchar1 <> cl_abap_char_utilities=>cr_lf AND lv_lastchar1 <> cl_abap_char_utilities=>newline AND
  +        lv_lastchar1 <> space OR
  +        ( lv_lastchar1 = space AND
  +          ( lv_lastchar2 <> cl_abap_char_utilities=>cr_lf AND lv_lastchar2 <> cl_abap_char_utilities=>newline ) ).
  +      cv_string = |{ cv_string }{ cl_abap_char_utilities=>cr_lf }|.
  +    ENDIF.
  +
  +  ENDMETHOD.
  +
  +
   ENDCLASS.
  
positive.code:     ASSIGN COMPONENT 'SOURCE' OF STRUCTURE <lg_data> TO <lg_field>.
      ASSERT sy-subrc = 0.
  
      mo_files->add_string( iv_ext    = 'asddls'
                            iv_string = <lg_field> ).
  
  
negative.code:     METHODS read_baseinfo
        RETURNING
          VALUE(rv_baseinfo_string) TYPE string.
      METHODS format_source_before_serialize
        CHANGING
          cv_string TYPE string.
  ENDCLASS.
  
  
  