Skip to Content
author's profile photo
Former Member

Application

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 ?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 07:20 AM

    Hi

    Check the following Tcodes

    AL11

    CG3Y and

    CG3Z

    Regards

    Anji

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 08:34 AM

    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-9092407528c3

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

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 08:55 AM

    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^

    Add comment
    10|10000 characters needed characters exceeded