Skip to Content
avatar image
Former Member

SWW_WI_HEADER_READ :- CALL_FUNCTION_NOT_REMOTE

Dear Experts,

In recent Support Packs, SAP changed functional module SWW_WI_HEADER_READ from remote to not remote.

We have dumps after this change with short text The function module "SWW_WI_HEADER_READ" cannot be used for 'remote' calls.

Source code for dump is as below in the ABAP program "SAPLSWW_SRV".

  156 *&---------------------------------------------------------------------*

  157 *&      Form  remote_function_call

  158 *&---------------------------------------------------------------------*

  159 *       text

  160 *----------------------------------------------------------------------*

  161 *      -->VALUE      text

  162 *      -->(TYPE)     text

  163 *----------------------------------------------------------------------*

  164 FORM remote_function_call USING value(type).

  165   DATA rc             TYPE i VALUE 0.

  166   DATA: l_syxform     TYPE syxform,

  167         l_syxprog     TYPE syxprog,

  168         l_cbe         TYPE i.

  169

  170 * necessary variables for class based exceptions

  171   DATA: l_root        TYPE REF TO cx_root.

  172

  173   DO.

  174 *

  175 * with ID 'CLException' we determine, whether the caller is able to handl

  176 * class based excptions or not

  177 *

>>>>>     CALL 'RfcImport' ID 'Type'        FIELD type

  179                      ID 'SYXForm'     FIELD l_syxform

  180                      ID 'SYXProg'     FIELD l_syxprog

  181                      ID 'CLException' FIELD l_cbe.

why SAP does it and why we have dumps after this change?

Thanks & Regards,

Sachin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 31, 2014 at 02:37 PM

    Hi,

    They probably replaced it with an equivalent  SAP_WAPI* FM, so this FM does not need to be RFC-enabled any more. You should probably do the same.

    cheers

    Paul

    Add comment
    10|10000 characters needed characters exceeded