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

Access network folder with username password

Former Member
0 Likes
717

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
Read only

Former Member
0 Likes
532

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.

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 REPLY 1
Read only

Former Member
0 Likes
533

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.