Skip to Content
0
Former Member
Sep 08, 2010 at 02:10 PM

how to use FM: SXPG_CALL_SYSTEM

1427 Views

Hi all.

i used the FM SXPG_CALL_SYSTEM as below

w_ext_cmd = 'ZREMSH'.

w_params = 'HARP -L BATCHMGR LS -L ~ORDER_BOOKING/PMAIL/DV4/*.TXT'.

CALL FUNCTION 'SXPG_CALL_SYSTEM'

EXPORTING

commandname = w_ext_cmd

additional_parameters = w_params

.....

.......

ZHREMSH was already added by BASIS.

the output was ERROR:

18 permission denied.

44 External program terminated with exit code 1

i loggen in into my user Account.

can u please provide me the process how i can execute it successfully. If possible with a sample program.

thanks,

Ajay