anchor.diff:          RAISING
             zcx_abapgit_exception.
   
  +  PROTECTED SECTION.
     PRIVATE SECTION.
       TYPES:
         BEGIN OF ty_longtext,
  
positive.code: 
  
  
  CLASS zcl_abapgit_longtexts IMPLEMENTATION.
  
  
    METHOD constructor.
  
negative.code: 
    ENDMETHOD.
  
  
    METHOD serialize.
  
      DATA lt_longtexts TYPE tty_longtexts.
      DATA lt_dokil LIKE it_dokil.
  
      lt_dokil = it_dokil.
      IF io_xml->i18n_params( )-serialize_master_lang_only = abap_true.
        DELETE lt_dokil WHERE masterlang <> abap_true.
      ENDIF.
  
      lt_longtexts = read( iv_object_name = iv_object_name
                           iv_longtext_id = iv_longtext_id
                           it_dokil       = lt_dokil ).
  
      io_xml->add( iv_name = mv_longtexts_name
                   ig_data = lt_longtexts ).
  
    ENDMETHOD.
  ENDCLASS.
  