2009 Jan 02 10:31 AM
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?
2009 Jan 02 10:33 AM
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.
2009 Jan 03 11:33 AM
2009 Jan 03 6:36 PM
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
2009 Jan 05 2:21 AM
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?
2009 Jan 05 3:41 AM
Hello,
Try to clear those parameters in the event AT SELECTION-SCREEN.
Regards
Arindam
2009 Jan 05 7:02 AM
Hi,
Try to clear the same in 'INITIALIZATION' event.
Thanks and Regards,
Suemsh
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |