anchor.diff:        EXPORTING
           infoobject = lv_iobjnam
         IMPORTING
  -        details    = ls_details
  +        details    = <ls_details>
           return     = ls_return.
   
       IF ls_return-type = 'E'.
         zcx_abapgit_exception=>raise( |Error when geting getails of iobj: { ls_return-message }| ).
       ENDIF.
   
  -    CLEAR: ls_details-tstpnm, ls_details-timestmp, ls_details-dbroutid.
  +    clear_field( EXPORTING iv_fieldname = 'TSTPNM'
  +                 CHANGING  cs_metadata  = <ls_details> ).
  +
  +    clear_field( EXPORTING iv_fieldname = 'TIMESTMP'
  +                 CHANGING  cs_metadata  = <ls_details> ).
  +
  +    clear_field( EXPORTING iv_fieldname = 'DBROUTID'
  +                 CHANGING  cs_metadata  = <ls_details> ).
   
       io_xml->add( iv_name = 'IOBJ'
  -                 ig_data = ls_details ).
  -
  -  ENDMETHOD.
  +                 ig_data = <ls_details> ).
  +
  +  ENDMETHOD.
  +
  +
  +  METHOD clear_field.
  +
  +    FIELD-SYMBOLS: <lg_field> TYPE data.
  +
  +    ASSIGN COMPONENT iv_fieldname
  +           OF STRUCTURE cs_metadata
  +           TO <lg_field>.
  +    ASSERT sy-subrc = 0.
  +
  +    CLEAR: <lg_field>.
  +
  +  ENDMETHOD.
  +
   ENDCLASS.
  
positive.code: 
    METHOD zif_abapgit_object~deserialize.
  
      DATA: ls_details TYPE bapi6108,
            lt_infoobj TYPE STANDARD TABLE OF bapi6108io,
            ls_return  TYPE bapiret2,
            lt_return  TYPE STANDARD TABLE OF bapiret2.
  
      io_xml->read( EXPORTING iv_name = 'IOBJ'
                     CHANGING cg_data = ls_details ).
      TRY.
          CALL FUNCTION 'BAPI_IOBJ_CREATE'
            EXPORTING
              details = ls_details
            IMPORTING
              return  = ls_return.
  
  
negative.code:           zcx_abapgit_exception=>raise( |Error when creating iobj: { ls_return-message }| ).
          ENDIF.
  
          ASSIGN
            COMPONENT 'INFOOBJECT'
            OF STRUCTURE <ls_details>
            TO <ls_infoobject>.
          ASSERT sy-subrc = 0.
  
          APPEND <ls_infoobject> TO <lt_infoobjects>.
  
          CALL FUNCTION 'BAPI_IOBJ_ACTIVATE_MULTIPLE'
            TABLES
              infoobjects = <lt_infoobjects>
              return      = lt_return.
  
          READ TABLE lt_return WITH KEY type = 'E' INTO ls_return.
  