05-13-2011 11:24 AM
Hi
Anyone can help with an example to create command to be executed by SXPG_COMMAND_EXECUTE for windows in SM49. This is to run a batch file script i.e t:\script\ftp.bat whcich FTP files.
Thanks,
Kumar.V
05-13-2011 11:39 AM
Hi,
i don't via SM49, but you can use this:
DATA: FILENAME TYPE STRING.
FILENAME = 't:\script\ftp.bat'.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
EXPORTING
DOCUMENT = FILENAME.
Hope it helps.
Regards, Dieter
05-13-2011 11:42 AM
There is probably other commands in SM49 already, look at these for reference.
This is not directly related to ABAP development, you could have a look in other SCN forums like Netweaver Adminstrator or SAP on <OS>. If you re-post there, please close this thread in ABAP General.
Thomas
05-13-2011 11:52 AM
Hi Thomas ,
Thanks for the info am posting this in SAP on windows thread . Closing here
Thanks,
Kumar.