anchor.diff:  
     METHOD save.
   
  -    _raise 'todo, WDYA, save'.
  +    DATA: li_prop TYPE REF TO if_wdy_md_application_property,
  +          lo_app  TYPE REF TO cl_wdy_md_application.
  +
  +    FIELD-SYMBOLS: <ls_property> LIKE LINE OF it_properties.
  +
  +
  +    TRY.
  +        CREATE OBJECT lo_app
  +          EXPORTING
  +            name       = is_app-application_name
  +            definition = is_app
  +            devclass   = iv_package.
  +
  +        LOOP AT it_properties ASSIGNING <ls_property>.
  +          li_prop = lo_app->if_wdy_md_application~create_property( <ls_property>-name ).
  +          li_prop->set_value( <ls_property>-value ).
  +        ENDLOOP.
  +
  +        lo_app->if_wdy_md_lockable_object~save_to_database( ).
  +      CATCH cx_wdy_md_exception.
  +        _raise 'error saving WDYA'.
  +    ENDTRY.
   
     ENDMETHOD.
   
  
positive.code:     CLASS-METHODS save
        IMPORTING is_app        TYPE wdy_application
                  it_properties TYPE wdy_app_property_table
        RAISING   lcx_exception.
  
  ENDCLASS.
  
negative.code:     lo_xml->table_read( CHANGING ct_table = lt_properties ).
  
      save( is_app        = ls_app
            it_properties = lt_properties
            iv_package    = iv_package ).
  
    ENDMETHOD.
  
  