Application Development 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: 

moving between screens

Former Member
0 Kudos

hi SAP Technical Guru,

i have main screen i.e.100

main screen has 3 different screeen i.e. 011,012,013.

now my problem is when i am trying back to go screen from 100 to 011 its going to program.

but i want it should go to main screen i.e. 100.

kindly suggest me how to overcome this.

regards,

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

You need to use SET SCREEN and LEAVE SCREEN Statements.

Or Leave to screen <screenno>.

let me know what are you doing..

12 REPLIES 12

former_member188685
Active Contributor
0 Kudos

You need to use SET SCREEN and LEAVE SCREEN Statements.

Or Leave to screen <screenno>.

let me know what are you doing..

0 Kudos

hi vijay babu,

thanks for responding.

i created one main screen (100).

main screen has 3 push buttons like below

1.create PO(011)

2.change/modify(012)

3.display(013)

when i click on create PO it goes to another screen(011). now my problem is when i am pressing back button its comes to abap editor but not to main screen.how would i over come this.

i have to move screens between 100,011,012,013.

please suggest me .

0 Kudos

>when i click on create PO it goes to another screen(011).

How are you calling the screen 011.

using call sreen 011 or leave to screen 011 (set screen 011 , leave screen).

which one you are using././?

0 Kudos

hi

call screen 011 i am using.

thanks

0 Kudos

i tried with leave to screen 011 , it is working fine.

Did you check that,...?

0 Kudos

Leave to screen 0, leads you to the previous screen (if your ideia is to return to the previous screen),

Regards,

Valter Oliveira.

0 Kudos

Hi Reddy,

Use this code in Main screen (100)

PAI

case sy-ucomm.

when 'PO'.

call screen 011.

endcase.

PAI of 011 screen

In screen 011.

Case sy-ucomm.

when 'back'. " are you using GUI for activating Back ?

call screen 100.

endcase.

This practically working for me.

Hope my answer helps you.

Cheers!!

0 Kudos

hi vijay,

its working fine.

one more help i need ,i created tabstrip with two pushbuttons and i have taken subscreen area in each pushbutton , at output it shows two pushbuttons but not moving into two pushbuttons.

if you have any program, like one screen has tabstrip and table control for creating PO(purchase Order) kindly provide me.

regards,

0 Kudos

I don't have any examples. Check the standard example ME21N/ME22N.

and also check the Demo programs on Tab strip

DEMO_DYNPRO_TABSTRIP_LOCAL

DEMO_DYNPRO_TABSTRIP_SERVER

DEMO_SEL_SCREEN_IN_TABSTRIP

DEMO_SEL_SCREEN_WITH_TABSTRIP

0 Kudos

hi vijay babu,

thanks for responding i given full points.

i wil be contact with you on yahoo mail.

best regards,

Former Member
0 Kudos

Hi,

To move between screen,

We can specify the next screen number using following ststement,

SET SCREEN '0100'.

Leaving the current screen using following statement,

LEAVE SCREEN.

Try this.

Regards,

R.Nagarajan.

Former Member
0 Kudos

hi,

try this it will work

use CALL SCREEN 011 in screen 100

use LEAVE SCREEN in 011 to come back to 100.