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

Leave to list-processing

Former Member
0 Likes
1,363

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.

1 ACCEPTED SOLUTION
Read only

LucianoBentiveg
Active Contributor
0 Likes
1,221

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.

4 REPLIES 4
Read only

LucianoBentiveg
Active Contributor
0 Likes
1,222

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.

Read only

0 Likes
1,221

Hi,

iam using normal report,but not getting the output even after the final internal table is populated...

Regards,

Rohan.

Read only

0 Likes
1,221

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

Read only

awin_prabhu
Active Contributor
0 Likes
1,221

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