09-23-2008 9:55 AM
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,
09-23-2008 10:35 AM
You need to use SET SCREEN and LEAVE SCREEN Statements.
Or Leave to screen <screenno>.
let me know what are you doing..
09-23-2008 10:35 AM
You need to use SET SCREEN and LEAVE SCREEN Statements.
Or Leave to screen <screenno>.
let me know what are you doing..
09-23-2008 2:25 PM
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 .
09-23-2008 2:57 PM
>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././?
09-23-2008 3:28 PM
09-23-2008 4:22 PM
i tried with leave to screen 011 , it is working fine.
Did you check that,...?
09-23-2008 4:25 PM
Leave to screen 0, leads you to the previous screen (if your ideia is to return to the previous screen),
Regards,
Valter Oliveira.
09-24-2008 5:49 AM
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!!
09-24-2008 7:39 AM
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,
09-24-2008 9:47 AM
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
09-24-2008 10:50 AM
hi vijay babu,
thanks for responding i given full points.
i wil be contact with you on yahoo mail.
best regards,
09-23-2008 10:37 AM
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.
09-24-2008 6:50 AM
hi,
try this it will work
use CALL SCREEN 011 in screen 100
use LEAVE SCREEN in 011 to come back to 100.