Skip to Content

How to create our own directory in AL11

Hi All,

How we can create our own directory in AL11 tcode....?

I have created my directory in AL11... when I am trying to save my files from PC to AL11 its not getting saved at the created location...

but it is getting saved at other previous created locations.... the error which I am getting is Wrong order of calls <- CALL opendir: No such file or directory(,,..)

Please anyone can help me.....

Thanks in advance......

SAP ABAPER

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Apr 26, 2012 at 11:41 AM

    Check the following thread :

    http://scn.sap.com/message/1230244#1230244

    in this thread Former MemberFormer MemberFormer Memberexplain very well they give following :

    data: unixcom like rlgrap-filename,

    dir type char(30).

    data: begin of tabl occurs 500,

    line(400),

    end of tabl.

    dir = '/tmp/test'.

    tabl-line = dir.

    append tabl.

    unixcom = 'mkdir mydir'. "command to create dir

    "to execute the unix command

    call 'SYSTEM' id 'COMMAND' field unixcom

    id 'TAB' field tabl[].

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 25, 2012 at 09:43 AM

    Hi,

    AL11 gives a snapshot of Folder available at OS level.. generally UNIX system. In the AL11, instead of complete path sometime, short nodes are created by basis. Its very muck like a Logical name. In actual, one need to create the Folders at the OS level and then it's linking with the AL11. Kindly check with BASIS administrator for further details.

    - Harshad

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 25, 2012 at 10:35 AM

    Hi,

    Did you check the file path which you are passing in the program ?

    Yes it the same as the path where you have created the folder ?

    Thanks,

    Best regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.