anchor.diff:  
     METHOD lif_object~serialize.
   
  +    DATA: lt_functions TYPE ty_function_tt.
  +
       IF lif_object~exists( ) = abap_false.
         RETURN.
       ENDIF.
   
       serialize_xml( io_xml ).
   
  -    serialize_functions( ).
  +    lt_functions = serialize_functions( ).
  +    io_xml->add( iv_name = 'FUNCTIONS'
  +                 ig_data = lt_functions ).
   
       serialize_includes( ).
   
     ENDMETHOD.                    "serialize
   
     METHOD lif_object~deserialize.
  +
  +    DATA: lt_functions TYPE ty_function_tt.
  +
   
       deserialize_xml(
         io_xml     = io_xml
         iv_package = iv_package ).
   
  -    deserialize_functions( io_xml ).
  +    io_xml->read( EXPORTING iv_name = 'FUNCTIONS'
  +                  CHANGING cg_data = lt_functions ).
  +    deserialize_functions( lt_functions ).
   
       deserialize_includes(
         io_xml     = io_xml
  
positive.code: 
        CALL FUNCTION 'RS_FUNCTIONMODULE_INSERT'
          EXPORTING
            funcname                = <ls_functab>-funcname
            function_pool           = lv_area
            interface_global        = lv_global_flag
            remote_call             = lv_remote_call
            short_text              = lv_short_text
  *         NAMESPACE               = ' ' todo
            remote_basxml_supported = lv_remote_basxml
          IMPORTING
            function_include        = lv_include
          TABLES
            import_parameter        = lt_import
            export_parameter        = lt_export
            tables_parameter        = lt_tables
            changing_parameter      = lt_changing
            exception_list          = lt_exception
            parameter_docu          = lt_documentation
          EXCEPTIONS
            double_task             = 1
            error_message           = 2
  
negative.code: 
    METHOD serialize_functions.
  
      DATA:
        lt_source     TYPE TABLE OF rssource,
        lt_functab    TYPE ty_rs38l_incl_tt,
        lt_new_source TYPE rsfb_source.
  
      FIELD-SYMBOLS: <ls_func> LIKE LINE OF lt_functab,
                     <ls_ret>  LIKE LINE OF rt_functions.
  
  
      lt_functab = functions( ).
  