anchor.diff:  CLASS ZCL_ABAPGIT_OBJECT_SCP1 IMPLEMENTATION.
   
   
  -  METHOD get.
  +  METHOD adjust_inbound.
   
       FIELD-SYMBOLS: <ls_scprvals> TYPE scprvals,
                      <ls_scprreca> TYPE scprreca.
   
  -
  -    CALL FUNCTION 'SCPR_TEXT_GET'
  -      EXPORTING
  -        profid        = cs_scp1-scprattr-id
  -        category      = cs_scp1-scprattr-category
  -      TABLES
  -        texts         = cs_scp1-scprtext
  -      EXCEPTIONS
  -        no_text_found = 1.
  -
  -    CALL FUNCTION 'SCPR_TEMPL_DB_VALS_GET_DETAIL'
  -      EXPORTING
  -        profid   = cs_scp1-scprattr-id
  -        category = cs_scp1-scprattr-category
  -      TABLES
  -        values   = cs_scp1-scprvals
  -        valuesl  = cs_scp1-scprvall
  -        recattr  = cs_scp1-scprreca.
  +* back to internal format
  +    LOOP AT cs_scp1-scprvals ASSIGNING <ls_scprvals>.
  +      SHIFT <ls_scprvals>-recnumber RIGHT DELETING TRAILING space.
  +    ENDLOOP.
  +    LOOP AT cs_scp1-scprreca ASSIGNING <ls_scprreca>.
  +      SHIFT <ls_scprreca>-recnumber RIGHT DELETING TRAILING space.
  +    ENDLOOP.
  +
  +  ENDMETHOD.
  +
  +
  +  METHOD adjust_outbound.
  +
  +    FIELD-SYMBOLS: <ls_scprvals> TYPE scprvals,
  +                   <ls_scprreca> TYPE scprreca.
   
   * normalize the XML
       LOOP AT cs_scp1-scprvals ASSIGNING <ls_scprvals>.
  
positive.code:         orgid      = ls_scp1-scprattr-orgid
          act_info   = ls_scp1-scprattr-act_info.
  
  
      IF ls_scp1-scprattr-type = 'TMP'.
  * todo, Hierarchical
        BREAK-POINT.
      ELSE.
        get( CHANGING cs_scp1 = ls_scp1 ).
      ENDIF.
  
  
      io_xml->add(
        iv_name = 'SCP1'
  
negative.code:       CONDENSE <ls_scprreca>-recnumber.
      ENDLOOP.
  
    ENDMETHOD.
  
  
    METHOD dequeue.
  
      DATA: lv_id TYPE scpr_id.
  
  
      lv_id = ms_item-obj_name.
  
      CALL FUNCTION 'SCPR_SV_DEQUEUE_BCSET'
        EXPORTING
          bcset_id = lv_id.
  
    ENDMETHOD.
  
  
    METHOD enqueue.
  
      DATA: lv_id TYPE scpr_id.
  
      lv_id = ms_item-obj_name.
  
      CALL FUNCTION 'SCPR_SV_ENQUEUE_BCSET'
        EXPORTING
          bcset_id          = lv_id
        EXCEPTIONS
          is_already_locked = 1
          system_failure    = 2
          OTHERS            = 3.
      IF sy-subrc <> 0.
        zcx_abapgit_exception=>raise( |SCP1 locking error| ).
      ENDIF.
  
    ENDMETHOD.
  
  
    METHOD load.
  
      CALL FUNCTION 'SCPR_TEXT_GET'
        EXPORTING
          profid        = cs_scp1-scprattr-id
          category      = cs_scp1-scprattr-category
        TABLES
          texts         = cs_scp1-scprtext
        EXCEPTIONS
          no_text_found = 1.
  
      CALL FUNCTION 'SCPR_TEMPL_DB_VALS_GET_DETAIL'
        EXPORTING
          profid   = cs_scp1-scprattr-id
          category = cs_scp1-scprattr-category
        TABLES
          values   = cs_scp1-scprvals
          valuesl  = cs_scp1-scprvall
          recattr  = cs_scp1-scprreca.
  
      CALL FUNCTION 'SCPR_TEMPL_DB_FLDTXTVAR_GET'
        EXPORTING
          bcset_id = cs_scp1-scprattr-id
  