Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Application

Former Member
0 Kudos

How can I create a directory on application layer say for ex : "/usr/sap/dec/dvebmsgs00/data"

this is the existing directory

now i want to create a directory of my own

/usr/tmp/ravi

how can i do this ?

3 REPLIES 3

Former Member
0 Kudos

Hi

Check the following Tcodes

AL11

CG3Y and

CG3Z

Regards

Anji

Former Member
0 Kudos

Hi

**********************************

call function 'GUI_CREATE_DIRECTORY'

exporting

dirname = '//<ip_address>/qfilesvr400/<host>/usr/sap/TST/SYS/Folder1'

exceptions

failed = 1

others = 2.

**********************************

follow the link. hope it definitely help u.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40b0d690-0201-0010-2c86-909...

**********************************

You can create an external command via SM69 which you can then invoke through function module SXPG_COMMAND_EXECUTE

**********************************

Call the Method DIRECTORY_CREATE of Class CL_GUI_FRONTEND_SERVICES.

You can find this Class in SE24.

In the Editor use Pattern -> ABAP Object Patterns to Call this Method..

**********************************

Regards

vasu

Former Member
0 Kudos

hi

good

I would suggest you speak to your UNIX people (or whatever system you use) and ask them to create your directory as they will know the correct permissions to apply.

However, if you must, you can use SM49 and create a MKDIR command.

thanks

mrutyun^