i have problem with executing SXPG_COMMAND_EXECUTE
In SM69 we defined an external command 'Z_MKDIR':
Operating system command: c:\sap\create_dir.bat
Parameters for operating system command: &
the script create_dir does following:
also RFCs are working correctly.
But when we execute
CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
COMMANDNAME = 'Z_MKDIR'
ADDITIONAL_PARAMETERS = 'C:\test
OPERATINGSYSTEM = 'Windows NT'
DESTINATION = u_gwdesx
STDOUT = 'X'
STDERR = 'X'
TERMINATIONWAIT = 'X'
EXITCODE = lf_exitcode
EXEC_PROTOCOL = lt_protocol
For some reason folder is not create. Within the table lt_protocol:
31 |Invalid trace level as argument
39 |The syntax of the command is incorrect.
Someone knows what could be the problem?