‎2009 Feb 24 3:07 PM
Hi,
I have one requirement...In the selection screen i have some fields and in which one field is mandatory..also i have 2 push buttons say submit and cancel....
Now on clicking the submit push button i should get the report output.
So for output iam using logic leave to list processing after populating my final internal table.Now the problem is it is not coming back to the selection screen when I press the back button on an output screen.
please suggest me on how to come back to selection screen or plz tell me the other logic to get the report output without using the leave to list processing.
Regards,
Rohan.
‎2009 Feb 24 3:15 PM
If you are using a report with selection screen, you don't need to use "leave to list processing".
Try without that.
Leave to list processing is used in dialog programs.
Regards.
‎2009 Feb 24 3:15 PM
If you are using a report with selection screen, you don't need to use "leave to list processing".
Try without that.
Leave to list processing is used in dialog programs.
Regards.
‎2009 Feb 24 3:19 PM
Hi,
iam using normal report,but not getting the output even after the final internal table is populated...
Regards,
Rohan.
‎2009 Feb 24 3:26 PM
Hi,
1>When you are Clicking Submit Button on selection screen.
2>Selection screen Event is triggered if Any for Validation.
3>Check If the Data is fetched in START-OF-SELECTION Event
4>Display Data Either in START-OF-SELECTION or END-OF-SELECTION Event.
Leave to list-processing is required in Module Pool Programming.
With out it list will be populated if you handle EVENTS properly.
For BACK no EXTRA Coding is required in Reports.
Hope this resolves your issue.
Regards,
Gurpreet
‎2009 Feb 24 3:27 PM
Hi friend,
If u are using report and select-options, then no need to give 'leave to list processing'.
In case u use module pool programming, then use
LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN scr.
Goto Debugging mode and see whether your internal table is populated or not.
Also check the sy-ucomm value for the push-button, it should be in caps. (ex: if sy-ucomm = 'SUBMIT' ).
Use start-of-selection event for fetching and printing.
Thanks..
Edited by: Sap Fan on Feb 24, 2009 4:28 PM