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

Tabstrip

vijy_mukunthan
Active Contributor
0 Likes
475

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

4 REPLIES 4
Read only

Former Member
0 Likes
457

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.

Read only

KN-Nampoothiry
Active Participant
0 Likes
457

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.

Read only

Former Member
0 Likes
457

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

Read only

Former Member
0 Likes
457

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