‎2007 Sep 20 1:03 PM
hi friends
I need a help in coding a tabstrip in module pool programming. i have placed different tabstrips in a screen but how to call sub screens and code for the tab. plz help me. i need it urgent.
Regards
vijay
‎2007 Sep 20 1:29 PM
hi,
make TABSTRIP by wizard.
It will automatically create sub screens and give numbers.
Than go to that subscreen and put elements (like table control,text fields, etc) which u want.
hope it will helpful.
U can ask if u get confuse.
‎2007 Sep 20 5:36 PM
hi Vijay ,
create the tabstrip and then create a subscreen area in each of the tabs.
put a case based on the ok code for the tabstrip being selected.
Call the subscreen to be displayed to each of the subscreen area in the case statement.
As you change the tabstrip-activetab value with the tab the screens will be displayed.
eg :
case ok_code.
when 'TAB1'.
tabstrip-activetab = ok_code.
* call respective subscreen here.
when 'TAB2'.
tabstrip-activetab = ok_code.
* call respective subscreen here.
endcase.As suggested above even Wizard is god idea....later try this so u get what exacty happens..
*Reward if useful.
‎2007 Sep 21 6:47 AM
Hi,
Write this coding on the screen's flowlogic part in which u have taken tabstrip.
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
CALL SUBSCREEN sub1 INCLUDING 'Z_TABPAGE' '101'.
CALL SUBSCREEN sub2 INCLUDING 'Z_TABPAGE' '102'.
PROCESS AFTER INPUT.
CALL SUBSCREEN sub1.
CALL SUBSCREEN sub2.
MODULE USER_COMMAND_0100.
here <b>SUB1</b> and <b>SUB2</b> is the name of subscreen taken on the tabpage respectively.
The name of prog is <b>'Z_TABPAGE'</b>
<b>101</b> & <b>102</b> are <b>screen number</b>.
thanks
Dharmishta
‎2007 Sep 21 7:35 AM
Hi
If your using tabstrip wizhard it will be easy.In that wizhard itself it will ask for how many tabs you need,from which table data has to be taken etc.If it is nessesary you have to use other way for your program then try this wizhard for some other trial program and you will get what all statement you have to write.
Regards
Shibin