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: 

Access network folder with username password

Former Member
0 Kudos

Hi experts!!!

I have the following requirement:

i need to upload to SAP a txt file from a network folder.

I am using the method CALL METHOD cl_gui_frontend_services=>file_open_dialog to get the filename.

But when calling the method it prompts for a username and password.

Is there any way i can verify the username and password from withing the code so that the user does not type it?????

please help!!!

Thank you all in advance!!!

1 ACCEPTED SOLUTION

abhishek_pradhan
Explorer
0 Kudos

Hint : In ABAP program make use of FTP to move file from network onto the SAP's application server. Now you work around this file in your program. Whether this is in forground or background, it will still work. User will never know of this transfer.

1 REPLY 1

abhishek_pradhan
Explorer
0 Kudos

Hint : In ABAP program make use of FTP to move file from network onto the SAP's application server. Now you work around this file in your program. Whether this is in forground or background, it will still work. User will never know of this transfer.