2008 Jan 23 1:57 AM
Hi all
I create a tabstrip contain 3 subscreen, which is 9000, 9001, 9002.
i got a button at screen 9002. when i press the button, i want to go to subscreen 9001 . How to call this sub screen 9001.
code please.
Thks.
Hi all
I create a tabstrip contain 3 subscreen, which is 9000, 9001, 9002.
i got a button at screen 9002. when i press the button, i want to go to subscreen 9001 . How to call this sub screen 9001.
code please.
Thks.
2008 Jan 23 2:53 AM
data: tab9001 like sy-dynnr value '9001',
w_screen like sy-dynnr.
controls: maintab type tabstrip.
in user command
when '9001'.
w_screen = tab9001.
maintab-activetab = < give you tabstrip name of 9001>.
then in PBO
call subscreen <your subscreen name> including sy-cprog w_screen.
a®
2008 Jan 23 3:28 AM
gary,
This code in Flow logic editor
PROCESS BEFORE OUTPUT.
MODULE status_100.
CALL SUBSCREEN: area1 INCLUDING sy-repid
number1.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
MODULE save_ok.
CALL SUBSCREEN: area1.
MODULE user_command_100.
********************************************
THIS IS IN ABAP EDITOR:
MODULE user_command_100 INPUT.
IF sy-ucomm EQ 'your button functin code'
number1 = '9001'
ENDMODULE.
Don't forget to reward if useful....
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |