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 funtionality between two selection screen

Former Member
0 Likes
1,439

HI Friends ,

Please any one know help me.....

i have one problem in report . when i run tcode one selection screen will come in this selection screen i have 3 radio buttons

if i selected one radio button there i  submited one programme this programme have one selection screen.

now my problem is when i click on second selection screen 'BACK' standard button

i want to come first selection screen  ( which one when i run first tcode ).

how will it come

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,406

SUBMIT <PROGRAM NAME> VIA SELECTION-SCREEN AND RETURN

10 REPLIES 10
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,406

Did you use return with submit...?

Nabheet

Read only

Former Member
0 Likes
1,406

Hi Varun,

Are you using SUBMIT program name AND RETURN ???

If you use this, the control will come back the point from where the program is called. Please share the code so that we could help more.

Thanks,

Sumit

Read only

Former Member
0 Likes
1,407

SUBMIT <PROGRAM NAME> VIA SELECTION-SCREEN AND RETURN

Read only

0 Likes
1,406

thanks dear

it is working.....

Read only

Former Member
0 Likes
1,406

i wont write any return in submit.

when i check in debug ofter clicking on 'BACK'  standard button the cursor is going to

submit programme then i press f5 it is coming out of the programme.

i checked there is no sy-ucomm in debug it is empty

and ofter submit if we write any code that is not exectuting directly coming out .

Read only

Former Member
0 Likes
1,406

i wont write any return in submit.

when i check in debug ofter clicking on 'BACK'  standard button the cursor is going to

submit programme then i press f5 it is coming out of the programme.

i checked there is no sy-ucomm in debug it is empty

and ofter submit if we write any code that is not exectuting directly coming out .

Read only

0 Likes
1,406

Any particular reason for refraining from return statement

Read only

0 Likes
1,406

no i written return not getting first selection screen.

from second selection to first selection screen i want to come .

return will pass parameters from second programme to first programme na

i need when i click on back in second selection  screen i want to come first selection screen

so that sy-ucomm is initial . how will  i call this

Read only

0 Likes
1,406

No varun it will not pass values back to your first selection screen. Try with this

 

submit ZPROG2 via selection-screen and return.

You dont need to code.

check it

Read only

0 Likes
1,406

thanks nabheet madan it is also working