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

Upload program from local to SAP

Former Member
0 Likes
968

Hi,

I have developed a upload program (local to SAP), the problem is after the first upload when the program returns to the selection screen with the uploaded file name in the parameter. The program does not recognize the file anymore, I need to browse the file again in my local drive. Wherein it is expected if I run the program again the upload program will work because the filename is still specified in the parameter.

I tried to clear the parameter which hold the file path after program run. But unfortunately it is still there. Is there any other way to clear the data in the selection data after program run?

6 REPLIES 6
Read only

Former Member
0 Likes
931

hi,

After Upload is done in the program Clear the Selection screen field. In this case after upload with it comes to screen the file name will be blank.

Read only

Former Member
0 Likes
931

Hi,

Use

GUI_UPLOAD

Read only

Former Member
0 Likes
931

There are many such programs in circulation and many of them expose the upload file path and do not use restrictive S_DATASET and S_DEVELOP checks to protect the programs. They are a hacker's delight.

If you have developed such a tool on your own, then please use appropriate checks to protect it, and it should ideally exit / stop at initialization already if the client / system is closed.

I assume that you know that, but some don't so I did not want to miss the opportunity to point it out...

Cheers,

Julius

Read only

Former Member
0 Likes
931

I tried to clear the parameter which hold the file path after program run. But unfortunately it is still there. Is there any other way to clear the data in the selection data after program run?

Read only

0 Likes
931

Hello,

Try to clear those parameters in the event AT SELECTION-SCREEN.

Regards

Arindam

Read only

Former Member
0 Likes
931

Hi,

Try to clear the same in 'INITIALIZATION' event.

Thanks and Regards,

Suemsh