Skip to Content
avatar image
Former Member

Re: Tabstrip in the screen


in my program i was using two tabstrip where in each tabstrip i was having a 2 buttons and 1 listbox inorder to add the values in the listbox and to delete the values from the listbox.based on the values selecte tree control will be displayed and bottom .there user can select some objects.

likewise in the 1st tabstrip i have selected some objects from tree control after adding the values to the listbox.

then i moved to 2nd tabstrip and i didnt do anything there and came back to the 1st tabstrip itself but i cant able to see any buttons

or the listbox over the screen.

could anyone tell what will be the i can get back screen back..??????

Kind Regards,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 22, 2010 at 07:14 AM


    Debug after going to tabstrip 1 from tabstrip 2 -

    check which subscreen ur calling

    check in the pbo of tabstrip 1 is there any screen changes done .

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 22, 2010 at 07:37 AM

    All of the tab pages reside locally on the SAPgui.

    When the user chooses a tab title, paging takes place within the SAPgui.

    In this respect, the tabstrip control behaves like a single screen.

    In particular, the PAI event is not triggered when the user chooses a tab title, and no data is transported.

    While this improves the performance of your tabstrip control, it also has the negative effect that when the user does trigger the PAI event, all of the input checks for all of the subscreens are performed.

    This means that when the user is working on one tab page, the input checks may jump to an unfilled mandatory field on another page.



    where <ctrl> is the name of the tabstrip area on a screen in the ABAP program. The control allows the ABAP program to work with the tabstrip control. The statement declares a structure with the name <ctrl> . The only component of this structure that you need in your program is called ACTIVETAB.

    Use in the PBO event

    Before the screen is displayed, you use the control to set the tab page that is currently active. To do this, assign the function code of the corresponding tab title to the component ACTIVETAB:

    <ctrl>-ACTIVETAB = <fcode>.

    When you page at the SAPgui, you only need to do this once before the screen is displayed. This initializes the tabstrip control. The default active tab page is the first page. After this, the page activated when the user chooses a tab title is set within SAPgui.

    When you page on the application server, you must assign the active page both before the screen is displayed for the first time, and each time the user pages. At the same time, you must set the required subscreen screen.

    You can suppress a tab page dynamically by setting the ACTIVE field of table SCREEN to 0 for the corresponding tab title.

    Use in the PAI event

    In the PAI event, ACTIVETAB contains the function code of the last active tab title on the screen.

    When you page in the SAPgui, this allows you to find out the page that the user can currently see. When you page at the application server, the active tab page is controlled by the ABAP program anyway.

    Add comment
    10|10000 characters needed characters exceeded