Application Development and Automation 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: 
Read only

Copy the folder

Former Member
0 Likes
413

Hi,

Can anybody help me for coping one folder and its contents and paste it to another folder in abap

1 ACCEPTED SOLUTION
Read only

former_member189059
Active Contributor
0 Likes
389

If the folder you are referring to is on the presentation server, then you can use a combination of the following methods

CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE

CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES

CL_GUI_FRONTEND_SERVICES=>FILE_COPY

3 REPLIES 3
Read only

GauthamV
Active Contributor
0 Likes
389

hi,

where do u hav folders in abap

Read only

Former Member
0 Likes
389

actually i am deploying a report program in abap in which i have to transfer a folder from source to destination .

The path is provided by user and the folder(it may be anyone) should be transferred to the destination.

Read only

former_member189059
Active Contributor
0 Likes
390

If the folder you are referring to is on the presentation server, then you can use a combination of the following methods

CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE

CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES

CL_GUI_FRONTEND_SERVICES=>FILE_COPY