cancel
Showing results for 
Search instead for 
Did you mean: 

FM SXPG_COMMAND_EXECUTE and parameters

Former Member
0 Kudos

Dear all !

I tried to execute the FM SXPG_COMMAND_EXECUTE (SM49, SM69) in order to execute SAPCAR on a couple of file on the server with the parameter

<i>-cvf /usr/sap/SBD/interfaces//SP2/CH/BACKUP/comp.car .</i>.

Unfortunately the FM changes the parameter string to UPPERCASE:

-CVF /USR/SAP/SBD/INTERFACES//SP2/CH/BACKUP/COMP.CAR .

Result is that SAPCAR finishes with :

<i>46 SAPCAR: unknown command option CVF (error 20).

45 External program terminated with exit code 20 </i>

Any ideas of how I can pass the parameter to SAPCAR without having it changed to UPPERCASE ?

Thanks in advance,

Philipp

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

If you are trying to excute the function module using SE37 there will be a check box on top saying uppper/Lower case.

Check the box it will work fine.

When using the function module inside the program no need to specify upper/lower case.

Nataraju