Question:
Hi All,
Good Morning.
I need your help for the following requirement:
1.Create a folder in Presentation Server like we create using Windows in a common path.
2. System will assign a Tracking number for the folder which we created.
3.The folder which we created will contain 10 files(templates) ie by the time we create a folder it will contain 10 files..
Could anybody help me in achieving this..
Thanks in Advance
Sham
Answer:
Hi Sham,
I guess the main hurdle is to create folders on the presentation server.
Try this out.
1. create a RFC destination using SM59 of type T with activation type start on frontend work station. No enter the path of the exe rfcexec which is on ur desktop.
2. and then in ur code do so
FUNCTION 'RFC_REMOTE_EXEC'
DESTINATION 'Y_CALL_PRES_SERVER'
EXPORTING
COMMAND = 'mkdir c:\test1'.
Have a great day.
Pralay
Answer:
Hi,
Try with FM 'WS_EXECUTE'.
You can use this FM to work with files, programs in Presentation server.
Thanks
Manoj
Answer:
You can rely on func.mod. GUI_CREATE_DIRECTORY as of 4.6.
Function modules GUI_* are very interesting.
guest2