Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

“Can't exec external program (No such file or directory)” while executing

Former Member
0 Likes
648

By using the FM “SXPG_COMMAND_EXECUTE” we are try to remane the file on the Windows base application server.

We have also created the command on SM69 but when we execute the FM “SXPG_COMMAND_EXECUTE” every time we are getting the error “Can't exec external program (No such file or directory)”

On the Input parameters on the FM we have provided the value like

  1. COMMANDNAME --à what ever command name maintained on SM69 like Z_REN
  2. ADDITIONAL_PARAMETERS-à[Source file path source file name] [target file name] like \\XXX.YY\ABC\Text.txt   Abc.txt
  3. OPERATINGSYSTEM-à WINDOWS NT
  4. TARGETSYSTEM---à as Host Name
  5. STDOUT----------------à X
  6. STDERR----------------à X
  7. TERMINATIONWAIT-------à X

We have also try with ADDITIONAL_PARAMETERS as” \\XXX.YY\ABC\Text.txt”   “Abc.txt” every time we are getting the same error.

We are sure the file exists in AL11 but somehow the application is not recognizing the folder. Do we need to give the source file path like “c:\xyz”.

We have try the same for Operating system command – REN/RENAME/DEL but every time we are getting the same Error “Can't exec external program (No such file or directory)”

1 REPLY 1
Read only

arindam_m
Active Contributor
0 Likes
439

Hi,

Please give details of the designed command Z_BCM_RENAME in SM69. That should give us a better idea. Also the path mentioned

\\XXX.YY\ABC\Text.txt

is it windows format i mean there has to be a drive right its not UNIX OS?

Cheers,

Arindam