anchor.diff:      ENDIF.
   
       CREATE OBJECT lo_utility.
  -    l_base64str = lo_utility->encode_x_base64( unencoded = l_xstring ).
  +    lv_base64str = lo_utility->encode_x_base64( lv_xstring ).
   
       io_xml->add( iv_name = 'NAME'
                    ig_data = ls_key-objid ).
  
positive.code:                c_oo_frupdtask(30) VALUE 'UPDATE_MODE',
                 c_oo_synchron      VALUE 'S',
                 c_oo_asynchron     VALUE 'U',
                 c_oo_lokal         VALUE 'L',
                 c_true             TYPE c VALUE 'X',
                 c_false            TYPE c VALUE space.
  
      METHODS:
        split_parameters
          CHANGING !et_rsparam TYPE s_param
                   !es_rsstcd  TYPE rsstcd
                   !is_tstcp   TYPE tstcp
                   !es_tstc    TYPE tstc,
  
        split_parameters_comp
          IMPORTING !iv_type  TYPE any
                    !iv_param TYPE any
          CHANGING
                    !ic_value TYPE any.
  
  ENDCLASS.                    "lcl_object_TRAN DEFINITION
  
  
negative.code:   " W3xx DESERIALIZE
    """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
    METHOD lif_object~deserialize.
  
      DATA ls_key       TYPE wwwdatatab.
      DATA lv_base64str TYPE string.
      DATA lt_w3params  TYPE STANDARD TABLE OF wwwparams.
      DATA lv_xstring   TYPE xstring.
      DATA lo_utility   TYPE REF TO cl_http_utility.
      DATA lt_w3mime    TYPE STANDARD TABLE OF w3mime.
      DATA lt_w3html    TYPE STANDARD TABLE OF w3html.
      DATA lv_size      TYPE int4.
      DATA lv_tadir_obj TYPE tadir-object.
  
      ls_key = init_key( ).
  
      io_xml->read( EXPORTING iv_name = 'TEXT'
                    CHANGING  cg_data = ls_key-text ).
  
      io_xml->read( EXPORTING iv_name = 'DATA'
                    CHANGING  cg_data = lv_base64str ).
  
      io_xml->read( EXPORTING iv_name = 'PARAMS'
                    CHANGING  cg_data = lt_w3params ).
  
      CREATE OBJECT lo_utility.
      lv_xstring = lo_utility->decode_x_base64( lv_base64str ).
  
      CASE ls_key-relid.
        WHEN 'MI'.
          CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
            EXPORTING
              buffer        = lv_xstring
            IMPORTING
              output_length = lv_size
            TABLES
              binary_tab    = lt_w3mime.
        WHEN 'HT'.
          CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
            EXPORTING
              buffer        = lv_xstring
            IMPORTING
              output_length = lv_size
            TABLES
              binary_tab    = lt_w3mime.
  
          CALL FUNCTION 'SCMS_BINARY_TO_TEXT'
            EXPORTING
              input_length  = lv_size
            IMPORTING
              output_length = lv_size
            TABLES
              binary_tab    = lt_w3mime
              text_tab      = lt_w3html
            EXCEPTIONS
              failed        = 1.
          IF sy-subrc IS NOT INITIAL.
            _raise 'Cannot update W3xx params'.
          ENDIF.
  
          CLEAR lt_w3mime.
        WHEN OTHERS.
          _raise 'Wrong W3xx type'.
      ENDCASE.
  
      CALL FUNCTION 'WWWPARAMS_UPDATE'
        TABLES
          params       = lt_w3params
        EXCEPTIONS
          update_error = 1.
  
      IF sy-subrc IS NOT INITIAL.
        _raise 'Cannot update W3xx params'.
  