Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Function Module 'SXPG_CALL_SYSTEM' giving dump, please advice..

Hi Experts,

FM 'SXPG_CALL_SYSTEM' is giving dump with

CALL FUNCTION 'SXPG_CALL_SYSTEM'

EXPORTING

commandname = wl_remote_copy "RCP

additional_parameters = wf_parameters

IMPORTING

status = btcxp3-exitstat

TABLES

exec_protocol = int_return_code .

the following EXPORT parameters

commandname = ZRCP

additional_parameters =

/comm/send/work/VPOB1001 ctaadm@ctamsgsv:/comm/edi/out/VPOB1001.20081013084808

It is not giving any values for status.

FM is giving dump at the following part of the code

000610 IF OPERATINGSYSTEM = SPACE .

000620 LOOP AT COMMAND_LIST WHERE OPSYSTEM = ANYOS .

000630 OPERATINGSYSTEM = ANYOS .

000640 EXIT.

000650 ENDLOOP.

000660 ENDIF.

000670 ENDIF.

000680

000690 IF OPERATINGSYSTEM = SPACE .

> RAISE COMMAND_NOT_FOUND .

000710 ENDIF.

000720

000730

000740 CALL FUNCTION 'SXPG_COMMAND_EXECUTE'

000750 EXPORTING

000760 COMMANDNAME = COMMANDNAME

000770 OPERATINGSYSTEM = OPERATINGSYSTEM

000780 ADDITIONAL_PARAMETERS = ADDITIONAL_PARAMETERS

Please advice.

Thanks in advance..

Tags:
Not what you were looking for? View more on this topic or Ask a question