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

Renaming a file

Former Member
0 Likes
822

Hi all,

iam loding a exel file using bdc for one master data updation .

i need to change the file name of the excel file in the presentation server once the loading is over .

is it possible to do so ?

Please update me ..

thanks in advance ,

sarath P

Hi all,

iam loding a exel file using bdc for one master data updation .

i need to change the file name of the excel file in the presentation server once the loading is over .

is it possible to do so ?

Please update me ..

thanks in advance ,

sarath P

5 REPLIES 5
Read only

Former Member
0 Likes
754

You could read it and save it with a different name.

Read only

ThomasZloch
Active Contributor
0 Likes
754

Did not find a "rename", but a combination of cl_gui_frontend_services->file_copy and cl_gui_frontend_services->file_delete should do it.

Thomas

Read only

Former Member
0 Likes
754

check all the methods from cl_gui_fronnd_services related to file. i guess you can easily find a walkthrough of the solution.

Read only

former_member191735
Active Contributor
0 Likes
754

There is no Rename option in CL_GUI_FRONTEND_SERVICES. Instead, you can copy and delete the existing file.

Read only

0 Likes
754

well i guess thats a solution for the question as well..