on 12-24-2006 5:32 AM
Hi All,
We have written a shell script to write the error logs in unix into a file, which we need to run from SAP. We have tested the shell script command and it is running fine. We have created an entry in SM69 for running this.
But when we try to run this command either by FM <b>'SXPG_COMMAND_EXECUTE'</b> or by SM49 we get an error status saying <b>'Can't exec external program (Exec format error) Can't exec external program (Exec format error</b>)'.
We could not identify where we might have gone wrong. Any inputs in this regards are appreciated.
Thank you,
Regards,
Vijay
Hi,
Also check the correct way to 'define external program'
http://help.sap.com/saphelp_47x200/helpdata/en/c4/3a8023505211d189550000e829fbbd/frameset.htm
Regards,
Siddhesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
Please check the list of pre-requisites for running an external program:
http://help.sap.com/saphelp_47x200/helpdata/en/c4/3a7fbb505211d189550000e829fbbd/frameset.htm
Regards,
Siddhesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What about sm49 entry screenshot?
kind regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.