2011 Feb 08 12:08 AM
Hi,
I have a report program in HR, using LDB "PNP" and Report category : PSSPCDOC.
After the program is executed and the report is displayed on screen, if the user clicks the BACK button (F3), the selection screen is displayed with initial values. The input values provided by the user previously get lost.
I debugged and it seems that the memory gets cleared everytime the BACK button is clicked.
But i want to retain the user inputs on the selection screen if the user clicks the BACK button because the user wants to change some selection inputs not all.
I am new to HR module, please let me know how to solve this issue.
2011 Feb 08 4:09 AM
Hi,
In your screen in the application bar,the right most button is a coloured monitor kind of icon, next to the Help icon (which is a white question mark in a yellow circle) ,click on this monitor icon ,then under the Local Data tab there is a History Block, select radio button History ON.
I hope it helps.
Regards,
Shraddha
2011 Feb 08 6:20 AM
Hi,
Try a thing,that is you write the SQL query part under START-OF-SELECTION Event and the data to be displayed into list under END-OF-SELCTION event.and then check whether it is working or not.
regards,
Suvajit
2011 Feb 08 10:32 AM
Hi Suvajit,
The GET PERNR is already in the START-OF-SELECTION event and the report is being displayed from the END-OF-SELECTION.
But whenever the BACK button is clicked, the memory is completely refreshed. This is causing the problem..
2011 Mar 07 9:15 AM
Load selection screen data in SAP memory in the AT-SELECTION-SCREEN event and in the AT-SELECTION-SCREEN OUTPUT put a check against that memory area. If memery is not initial, show that data in the selection filed.
If SAP/ABAP memeory is completely being refreshed, use shared memory by creating a shared memory object and use that in the same event blocks. Hope this will help
2011 Mar 07 9:36 AM
Hello
I tried using the same report category and all the values entered seem to be available as entered upon clicking back button. Can you please confirm these points,
1) Is the BACK button is coming by the std. way. You are not setting a separate GUI status separately in your program?
2) If you are setting one, how are you handling the BACK button.
Regards
Ranganath