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'
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.