11-07-2008 10:46 AM
hi experts,
i wanted to know how to call/Execute a batch file from ABAP code?
thanks and regards
priya
11-07-2008 10:49 AM
Hi,,,,,,
Can you please explain more by batch file wat do you mean..
Thanks
Saurabh
11-07-2008 10:49 AM
Hi,,,,,,
Can you please explain more by batch file wat do you mean..
Thanks
Saurabh
11-07-2008 10:53 AM
how to call/Execute a dos batch file from ABAP code
batch files are nothing but .bat files
11-07-2008 10:51 AM
Look for [RSBDCSUB|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=RSBDCSUB&adv=false&sortby=cm_rnd_rankvalue] at sdn.
Regards
11-07-2008 10:57 AM
Hi,,,,,
The code is....
REPORT ZDOSCOMMAND NO STANDARD PAGE HEADING.
PARAMETERS: DOSCMD(30) DEFAULT 'c:\test.bat' LOWER CASE.
call function 'GUI_EXEC'
exporting
command = DOSCMD.
*-- End of program.
THanks
saurabh
11-07-2008 10:58 AM
Use a ([samples at sdn|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=cl_gui_frontend_services%3d%3eexecute&adv=true&sdn_author_name=&sortby=cm_rnd_rankvalue])
CALL METHOD cl_gui_frontend_services=>execute
Regards
06-16-2009 10:21 AM