anchor.diff:                   ig_data = ls_img_activity ).
   
     ENDMETHOD.                    "serialize
  -
  -  METHOD zif_abapgit_object~deserialize.
  -
  -    DATA: ls_img_activity TYPE ty_img_activity,
  -          ls_text         LIKE LINE OF ls_img_activity-texts.
  -
  -    io_xml->read(
  -      EXPORTING
  -        iv_name = 'CUS0'
  -      CHANGING
  -        cg_data = ls_img_activity ).
  -
  -    READ TABLE ls_img_activity-texts INTO ls_text
  -                                     WITH KEY spras = sy-langu.
  -
  -    CALL FUNCTION 'S_CUS_IMG_ACTIVITY_SAVE'
  -      EXPORTING
  -        img_activity  = ls_img_activity-header-activity
  -        i_docu        = ls_img_activity-header-docu_id
  -        i_attributes  = ls_img_activity-header-attributes
  -        i_activity    = ls_img_activity-header-c_activity
  -        i_description = ls_text
  -        i_tcode       = ls_img_activity-header-tcode.
  -
  -  ENDMETHOD.                    "deserialize
  -
  -  METHOD zif_abapgit_object~compare_to_remote_version.
  -    CREATE OBJECT ro_comparison_result TYPE zcl_abapgit_comparison_null.
  -  ENDMETHOD.
  -
  -  METHOD zif_abapgit_object~is_locked.
  -
  -    rv_is_locked = abap_false.
  -
  -  ENDMETHOD.
  -
  -ENDCLASS.                    "zcl_abapgit_object_cus0 IMPLEMENTATION
  +ENDCLASS.
  
positive.code: 
  ENDCLASS.
  
  CLASS zcl_abapgit_object_cus0 IMPLEMENTATION.
  
    METHOD constructor.
  
  
negative.code:     ENDIF.
  
    ENDMETHOD.                    "delete
  
  
    METHOD zif_abapgit_object~deserialize.
  
      DATA: ls_img_activity TYPE ty_img_activity,
            ls_text         LIKE LINE OF ls_img_activity-texts.
  
      io_xml->read(
        EXPORTING
          iv_name = 'CUS0'
        CHANGING
          cg_data = ls_img_activity ).
  
      READ TABLE ls_img_activity-texts INTO ls_text
                                       WITH KEY spras = sy-langu.
  
      CALL FUNCTION 'S_CUS_IMG_ACTIVITY_SAVE'
        EXPORTING
          img_activity  = ls_img_activity-header-activity
          i_docu        = ls_img_activity-header-docu_id
          i_attributes  = ls_img_activity-header-attributes
          i_activity    = ls_img_activity-header-c_activity
          i_description = ls_text
          i_tcode       = ls_img_activity-header-tcode.
  
      CALL FUNCTION 'RS_CORR_INSERT'
        EXPORTING
          object              = ms_item-obj_name
          object_class        = ms_item-obj_type
          mode                = 'I'
          global_lock         = abap_true
          devclass            = iv_package
          master_language     = sy-langu
        EXCEPTIONS
          cancelled           = 1
          permission_failure  = 2
          unknown_objectclass = 3
          OTHERS              = 4.
      IF sy-subrc <> 0.
        zcx_abapgit_exception=>raise( 'error from RS_CORR_INSERT, CUS0' ).
      ENDIF.
  
    ENDMETHOD.
  
  
    METHOD zif_abapgit_object~exists.
  
      DATA: ls_message TYPE hier_mess.
  
      CALL FUNCTION 'S_CUS_IMG_ACTIVITY_EXISTS'
        EXPORTING
          img_activity = mv_img_activity
        IMPORTING
          message      = ls_message.
  
      rv_bool = boolc( ls_message IS INITIAL ).
  
    ENDMETHOD.                    "zif_abapgit_object~exists
  
  
    METHOD zif_abapgit_object~get_metadata.
      rs_metadata = get_metadata( ).
      rs_metadata-delete_tadir = abap_true.
    ENDMETHOD.
  
  
    METHOD zif_abapgit_object~has_changed_since.
      rv_changed = abap_true.
    ENDMETHOD.  "zif_abapgit_object~has_changed_since
  
  
    METHOD zif_abapgit_object~is_locked.
  
      rv_is_locked = abap_false.
  
    ENDMETHOD.
  
  
    METHOD zif_abapgit_object~jump.
  
      zcx_abapgit_exception=>raise( |TODO: Jump| ).
  
  *   doesn't work...
  *    CALL FUNCTION 'S_CUS_IMG_ACTIVITY_MAINTAIN'
  *      EXPORTING
  *        i_display        = 'X'
  *        i_no_replacement = 'X'
  *      CHANGING
  *        img_activity     = mv_img_activity.
  
    ENDMETHOD.                    "jump
  
  
    METHOD zif_abapgit_object~serialize.
  
  