‎2006 Jul 28 3:06 AM
Hi all,
Im currently doing a program that will trigger an external batch (.bat) program. Im using WS_EXECUTE function module to trigger the external program. I need to know that whether ABAP will wait until the external bat program run completed then only will go back to the calling program and execute the rest of the ABAP code; or the WS_EXECUTE will just trigger the external program then continue the rest of the code in ABAP.
Best regards,
Patrick
‎2006 Jul 28 4:50 AM
Hi Patrick,
sorry for late reply.
This FM is obsolete. You could use the replacing FM
GUI_EXEC (This starts a File or Program Asynchronously with WinExec).
regards,
Uma.
‎2006 Jul 28 4:50 AM
Hi Patrick,
sorry for late reply.
This FM is obsolete. You could use the replacing FM
GUI_EXEC (This starts a File or Program Asynchronously with WinExec).
regards,
Uma.
‎2006 Jul 28 4:58 AM
Hi Uma,
FYI, I've run a thorough test, it will run synchronously though it calls an external program.
I shall take note of the obsolete FM.
Many thanks,
Patrick
‎2006 Jul 28 4:59 AM
Hi Patrick,
I guess you should be trying DSVAS_DOC_WS_EXECUTE_50 FM as FM WS_EXECUTE is flagged obsolete.... It should work fine to the best of my knowledge.... Please try it and let us know....
Regards,
Abhy