anchor.diff:            lo_otgr      TYPE REF TO cl_cls_object_type_group,
             lt_lang_sel  TYPE RANGE OF langu,
             ls_lang_sel  LIKE LINE OF lt_lang_sel,
  -          lx_pak_error TYPE REF TO cx_root.
  +          lx_pak_error TYPE REF TO cx_root,
  +          lo_parents   TYPE REF TO data.
   
       FIELD-SYMBOLS: <ls_groupt>  LIKE LINE OF ls_otgr-texts,
  -                   <ls_element> LIKE LINE OF ls_otgr-elements.
  -*                   <ls_parent>  LIKE LINE OF ls_otgr-parents.
  +                   <ls_element> LIKE LINE OF ls_otgr-elements,
  +                   <lv_field>   TYPE any,
  +                   <ls_parent>  TYPE any,
  +                   <lt_parents> TYPE ANY TABLE.
   
       lo_otgr = instantiate_and_lock_otgr( ).
   
  
positive.code:     TRY.
          CREATE OBJECT ro_otgr
            EXPORTING
              im_name             = lv_name
              im_new              = lv_new
              im_activation_state = cl_pak_wb_domains=>co_activation_state-active.
        CATCH cx_pak_invalid_data
            cx_pak_not_authorized
            cx_pak_invalid_state
  
negative.code:     TRY.
          lo_otgr->if_cls_object_type_group~set_proxy_filter( ls_otgr-cls_type_group-proxy_flag ).
          lo_otgr->if_cls_object_type_group~set_elements( ls_otgr-elements ).
  
          IF <lt_parents> IS ASSIGNED.
            CALL METHOD lo_otgr->('IF_CLS_OBJECT_TYPE_GROUP~SET_PARENT_GROUPS')
              EXPORTING
                im_parent_groups = <lt_parents>.
          ENDIF.
  
          lv_masterlang = lo_otgr->if_pak_wb_object~get_master_language( ).
          READ TABLE ls_otgr-texts WITH KEY langu = lv_masterlang ASSIGNING <ls_groupt>.
          IF sy-subrc = 0.
            lo_otgr->set_description( <ls_groupt>-text ).
            " ELSE.
            "   Do we want to clear the master language description if not present in the XML conent?
            "   Master Language is non-deterministic - it depends on sy-langu, so rather don't touch
            "   description if the master language is not present
            "   Perhaps, we can display some sort of a message but how?
          ENDIF.
  
          set_default_package( iv_package ).
  
          lo_otgr->if_pak_wb_object~save( ).
  
          lo_otgr->if_pak_wb_object~activate( ).
          lo_otgr->unlock( ).
  