Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SWW_WI_HEADER_READ :- CALL_FUNCTION_NOT_REMOTE

Former Member
0 Kudos

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

1 REPLY 1

paul_bakker2
Active Contributor
0 Kudos

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