‎2006 Mar 09 7:31 AM
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.
‎2006 Mar 09 8:13 AM
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
‎2006 Mar 09 7:34 AM
Hi
Handle it by using CASE SY-UCOMM in PAI.
Use Leave to screen 0.
or Leave screen.
Or Leave program.
Regards
vinod
‎2006 Mar 09 7:39 AM
‎2006 Mar 09 7:45 AM
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>
‎2006 Mar 09 7:54 AM
Hi
In PAI,use CASE SY-UCOMM.
and give Leave to screen <screennumber> or Leave screen.
Or give Submit....and Return.
thanks,
priya
‎2006 Mar 09 8:13 AM
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