‎2010 Jul 19 3:30 PM
Hi Friends,
We are using the Windows NT operating system and cluster set ups. My requirement is, i have to save the batch file on application server and i have to run it from sap program. i am creating the batch file using 'OPEN DATASET ', but it is saving on the virtual drive of application server. now when i am running this batch file using function module 'SXPG_COMMAND_EXECUTE' i am getting the errors "Can't exec external program (No such process), WaitForSingleObject failedwith %d (No such device or address)". when i am manually creating the file on main application server that time it is running fine. I am not able to understand why this problem is comming only for running the batch file on virtual drive. Please someone give me the solution, how to run the batch file on virtual application server?
Thanks and regards,
vicky.
‎2010 Jul 19 3:40 PM
Hi,
As per my understanding you want to write data on application server. Are you using 'Logical File Name'?
Kindly provide some part of your code for better understanding.
Thanks,
Sanjay Shinde
‎2010 Jul 19 3:44 PM
SXPG_COMMAND_EXECUTE is tied up with Tr. SM69 and SM49 where you create the commands.. verify and see if the commands passed to the FM are available in those transactions.