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

Regarding Tabstrip control

Former Member
0 Likes
807

Hi there,

I drag & place the tabstrip in the screen editor,But i find only two tabstrips how can i increase it to more than 2 tabstrips?hope this explains.

rgrds

5 REPLIES 5
Read only

Former Member
0 Likes
753

Hi Chidambar,

Follow this procedure to create extra tabs in the tabstrip:

Select a push button and place it next to the last tab.

Double click on it and give a name and fucntion code to it and save it.

This will create a new tab in the tabstrip.

Assign a subscreen area to each tab(you then call a subscreen here ) .

Subscreen can be created by selecting the subscreen from the layout and placing it in the tab area.

This might be helpfull for you in coding for the tabstrip:

In the ABAP program use the CONTROLS statement and declare an object with the same name and type TABSTRIP eg. : CONTROLS : tab1 type tabstrip.

The field ACTIVETAB of the type tabstrip will contain the current titles’ function code.

If the function type is ‘ ‘ PAI is triggered, if type ‘P’ no PAI is triggered

You can assign the same subscreen area to more than one tab title. For this enter the name of the subscreen in the attribute Reference Object of the tab title

For display transactions use local scrolling (all tab titles with type P). Only functions on the screen will trigger the PAI

For the above you need a separate subscreen area for each page. A subscreen will be sent to each of these areas.

Call all the subscreens from the flow logic (Both PBO and PAI)

Assign P as the function type

If a page does not have any elements to display the system will hide the page, if there are no page elements to be displayed the tabstrip is not displayed

Scrolling should be handled in the program. When they all share the same subscreen area handle it carefully.

Reward points if helpfull.

Regards,

Kashyap

Read only

Former Member
Read only

Former Member
0 Likes
753

Hi,

You can create tabstrips using the tabstrip wizard also, that is the button just near to the tabstrip control button.

to learn the various fuctionalities of tabstrip through coding , you may refer to the sample program DEMO_DYNPRO_TABSTRIP_LOCAL .

Regards,

Renjith Michael.

Edited by: Renjith Michael on Jan 15, 2008 10:19 AM

Read only

Former Member
0 Likes
753

Hi,

if u want more than two tabs in the tabstrip screen just do as follows,

select the pushbutton icon from icons of the screen then drop it after the existing tabs of the tabstrip then u can difine attributes for that new tab, like that u can add as many tabs as u want.....

reward points if useful,

seshu.

Read only

Former Member
0 Likes
753

hi,

by default it shows u 2 tabstrips, if u want to incerease it to more drag and drop .

rewards if useful to u bye.