anchor.diff:  *----------------------------------------------------------------------*
   *
   *----------------------------------------------------------------------*
  -CLASS lcl_abap_unit IMPLEMENTATION.
  +CLASS ltcl_abap_unit IMPLEMENTATION.
   
     METHOD serialize_enqu.
   
  
positive.code:   PUBLIC SECTION.
      CLASS-METHODS serialize
        IMPORTING is_item         TYPE st_item
        RETURNING VALUE(rt_files) TYPE tt_files
        RAISING   lcx_exception.
  
      CLASS-METHODS deserialize
  
negative.code:     view( render( ) ).
  
    ENDMETHOD.                    "add
  
    METHOD newoffline.
  
      DATA: lv_returncode TYPE c,
            ls_repo       TYPE st_repo,
            lv_package    TYPE devclass,
            lt_fields     TYPE TABLE OF sval.
  
      FIELD-SYMBOLS: <ls_field> LIKE LINE OF lt_fields.
  
  
      APPEND INITIAL LINE TO lt_fields ASSIGNING <ls_field>.
      <ls_field>-tabname   = 'ABAPTXT255'.
      <ls_field>-fieldname = 'LINE'.
      <ls_field>-fieldtext = 'Name'.                          "#EC NOTEXT
  
      APPEND INITIAL LINE TO lt_fields ASSIGNING <ls_field>.
      <ls_field>-tabname   = 'TDEVC'.
      <ls_field>-fieldname = 'DEVCLASS'.
      <ls_field>-fieldtext = 'Package'.                       "#EC NOTEXT
  
      CALL FUNCTION 'POPUP_GET_VALUES'
        EXPORTING
          no_value_check  = abap_true
          popup_title     = 'New Offline Project'             "#EC NOTEXT
        IMPORTING
          returncode      = lv_returncode
        TABLES
          fields          = lt_fields
        EXCEPTIONS
          error_in_fields = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        _raise 'Error from POPUP_GET_VALUES'.
      ENDIF.
      IF lv_returncode = 'A'.
        RETURN.
      ENDIF.
  
      READ TABLE lt_fields INDEX 1 ASSIGNING <ls_field>.
      ASSERT sy-subrc = 0.
      ls_repo-url = <ls_field>-value.
  
      READ TABLE lt_fields INDEX 2 ASSIGNING <ls_field>.
      ASSERT sy-subrc = 0.
      lv_package = <ls_field>-value.
      TRANSLATE lv_package TO UPPER CASE.
  
      lcl_persistence=>validate_package( lv_package ).
  
      lcl_persistence=>add( is_repo    = ls_repo
                            iv_package = lv_package
                            iv_offline = abap_true ).
  
      view( render( ) ).
  
    ENDMETHOD.                    "newoffline
  
    METHOD install.
  
  