‎2008 Jan 30 12:46 PM
After execution of Function module SXPG_COMMAND_EXECUTE following message is displayed:-
" Can't execute external program(Exec format error)
External Program terminated with exit code 1"
please suggest the cause why we are getting the message.
‎2008 Jan 30 2:22 PM
Hi,
Please go to transaction ST22 and you will get a good error analysis there.
Regards,
Renjith Michael.
‎2008 Mar 15 4:58 PM
Hi,
Did you manage to solve this error ?
If yes, can you share the solution since I'm also hitting the exact same one.
Thanks.
‎2008 Apr 27 7:30 AM
HI Shilpa,
I am also facing same error, Will it be possible to share the information, how did you solve the progblam.
I really appreciate if you can help me on this,
Thanks
‎2008 Apr 27 3:35 PM
the solution to my problem is that the operating system command setup is wrong in SM69. Go check that.
‎2008 Apr 28 4:30 AM
Hi
In my case operating system command is not wrong. I am just giving for test mv ( to move file from one dir to other) still its giving me same error. If it works, then I can try for decripting the file.
I have tried below ways for testing in SM49. don't know what was causing the problam. Please help me in this.
Command name ZMV2
Operating system HP-UX / Windows NT / Unix / anyos
Operating system command
mv
Parameters for operating system command
Additional parameters
D:\usr\sap\DEC\DVEBMGS00\work\usra.out D:\usr\sap\DEC\DVEBMGS00\work\usra_r.out
OR
usr\sap\DEC\DVEBMGS00\work\usra.out
usr\sap\DEC\DVEBMGS00\work\usra_r.out
executin Target : selected Local
Error I am getting in SM49 : Can't exec external program (No such process) WaitForSingleObject failedwith %d (No such device or address)
It will be very greatfull, If you can help me on this.
‎2008 Jul 23 8:11 PM
Hi All,
Me too getting same error,
Can any one guide here some solution of the problem?
"Can't exec external program (Exec format error)
External program terminated with exit code 1"
Thanks & regards
‎2008 Aug 04 7:20 AM
Hello,
in the external scipt you trying to start you shold define, which shell should by used for the command execution:
Let this be the first line of your script:
#!/usr/bin/ksh
(or any other shell)
Regards,
Roland
‎2009 Aug 17 10:40 AM