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

Back button in selection screen

Former Member
0 Likes
1,604

hi frnd's,

I had a back button in selection screen.

when i click that it must leave to the modulepool program.

ie i had called the selection screen using submit command in a menu of modulepool program.

can this be possible.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
813

Hi Suganya,

Use the following things:

First add 'AND RETURN' with your Submit command in module-pool program:

SUBMIT <report name> VIA SELECTION-SCREEN AND RETURN

Second add the following statement in the report where you are capturing the user action for back button:

LEAVE PROGRAM.

Hope it fulfills your requirement.

Regards,

Neeraj Gupta

5 REPLIES 5
Read only

vinod_gunaware2
Active Contributor
0 Likes
813

Hi

Handle it by using CASE SY-UCOMM in PAI.

Use Leave to screen 0.

or Leave screen.

Or Leave program.

Regards

vinod

Read only

Former Member
0 Likes
813

Hi,

Did you use SUBMIT... AND RETURN?

Regards,

Shashank

Read only

hymavathi_oruganti
Active Contributor
0 Likes
813

1.IF U R USING, <b>LEAVE TO LIST PROCESSING</b>

THEN WRITE <b>LEAVE LIST PROCESSING</b> UNDER USER COMMAND OF BACK BUTTON.

2. IF U R USING SUBMIT,

THEN SUBMIT ..... AND RETURN

3. OR ELSE U CAN USE <b>LEAVE TO SCREEN 0</b>

Read only

Former Member
0 Likes
813

Hi

In PAI,use CASE SY-UCOMM.

and give Leave to screen <screennumber> or Leave screen.

Or give Submit....and Return.

thanks,

priya

Read only

Former Member
0 Likes
814

Hi Suganya,

Use the following things:

First add 'AND RETURN' with your Submit command in module-pool program:

SUBMIT <report name> VIA SELECTION-SCREEN AND RETURN

Second add the following statement in the report where you are capturing the user action for back button:

LEAVE PROGRAM.

Hope it fulfills your requirement.

Regards,

Neeraj Gupta