2008 Aug 07 9:44 AM
Hi Friends,
How to create a new folder in presentation server.
If any Function module create new folder in presentation server.
Bye
RAHUL
2008 Aug 07 10:03 AM
Plz use FM
CALL FUNCTION 'GUI_CREATE_DIRECTORY'
EXPORTING
dirname = 'C:\raj
EXCEPTIONS
FAILED = 1
OTHERS = 2
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
rgsd
rajesh
2008 Aug 07 9:54 AM
Hello Rahul,
Try these FM,
GUI_CREATE_DIRECTORY
TMP_GUI_CREATE_DIRECTORY
Regards
Indu
2008 Aug 07 10:00 AM
2008 Aug 07 10:03 AM
Plz use FM
CALL FUNCTION 'GUI_CREATE_DIRECTORY'
EXPORTING
dirname = 'C:\raj
EXCEPTIONS
FAILED = 1
OTHERS = 2
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
rgsd
rajesh
2008 Aug 07 10:09 AM
U can create it using GUI_DOWNLOAD
in that give the filename = path.
looks for directory if not there it creates.
2008 Aug 07 10:13 AM
You can even create Directory from this also..
DIRECTORY_CREATE method of class CL_GUI_FRONTEND_SERVICES