anchor.diff:  
     METHOD deserialize_cua.
   
  -    DATA: ls_tr_key TYPE trkey.
  +    DATA: ls_tr_key TYPE trkey,
  +          ls_adm    TYPE rsmpe_adm.
   
   
       IF lines( is_cua-sta ) = 0
  
positive.code:                   it_spaces      TYPE ty_spaces_tt
          RETURNING VALUE(rt_flow) TYPE swydyflow.
  
  
  ENDCLASS.
  
  
negative.code: 
    ENDMETHOD.
  
  
    METHOD auto_correct_cua_adm.
      " issue #1807 automatic correction of CUA interfaces saved incorrectly in the past (ADM was not saved in the XML)
      FIELD-SYMBOLS:
        <ls_pfk> TYPE rsmpe_pfk,
        <ls_act> TYPE rsmpe_act,
        <ls_men> TYPE rsmpe_men.
  
      IF cs_adm IS NOT INITIAL.
        RETURN.
      ENDIF.
  
      LOOP AT is_cua-act ASSIGNING <ls_act>.
        IF <ls_act>-code+6(14) IS INITIAL AND <ls_act>-code(6) CO '0123456789'.
          cs_adm-actcode = <ls_act>-code.
        ENDIF.
      ENDLOOP.
  
      LOOP AT is_cua-men ASSIGNING <ls_men>.
        IF <ls_men>-code+6(14) IS INITIAL AND <ls_men>-code(6) CO '0123456789'.
          cs_adm-mencode = <ls_men>-code.
        ENDIF.
      ENDLOOP.
  
      LOOP AT is_cua-pfk ASSIGNING <ls_pfk>.
        IF <ls_pfk>-code+6(14) IS INITIAL AND <ls_pfk>-code(6) CO '0123456789'.
          cs_adm-pfkcode = <ls_pfk>-code.
        ENDIF.
      ENDLOOP.
  
    ENDMETHOD.
  
  ENDCLASS.
  