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: 

Creating a new folder in AL11.

Former Member
0 Kudos

Hello Experts,

I actually need to create a folder in AL11 under a predefined directory which would store all my Input Flat Files together. This if happens, would facilitate me to choose the folder only as the input from the Application server. Then, automatically, all the Input Flat files within that folder would be processed.

Hence, My main question is how to create such a folder in AL11 within a predefined folder.

Thanks in advance.

Amrita Mitra.

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please try this.


parameters: p_path like rlgrap-filename.
 
at selection-screen on value-request for p_path.
 
    CALL METHOD cl_gui_frontend_services=>DIRECTORY_CREATE
        EXPORTING DIRECTORY = p_path .

Regards,

Ferry Lianto

2 REPLIES 2

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please try this.


parameters: p_path like rlgrap-filename.
 
at selection-screen on value-request for p_path.
 
    CALL METHOD cl_gui_frontend_services=>DIRECTORY_CREATE
        EXPORTING DIRECTORY = p_path .

Regards,

Ferry Lianto

amit_khare
Active Contributor
0 Kudos

Refer the links -

Regards,

Amit

Reward all helpful replies.