Programming tab strips

To create a tab strip in the R/3 System, make sure to meet the following prerequisites:

Scrolling in the tab strip

The GUI element Tab strip offers two alternatives for scrolling. In both cases, the tab titles are defined as pushbuttons and the tab page as subscreen. However, in one case, scrolling is achieved via the backend, in the other locally in the GUI.

Scrolling via the backend

All tab titles use one subscreen area and the application uses the function codes of the individual titles to determine which subscreen to display.

The advantage of this method is that field checks are executed only for the actually displayed area.

The disadvantage is that each click on a tab title triggers a backend communication.

Scrolling locally using the GUI

Define an individual subscreen area for each tab title. Define the function codes of the titles using the type "P tab strip code"

In the flow logic, include all subscreens used into PBO. This ensures that all tab pages exist locally in the GUI.

With this method, the user scrolls locally in the GUI between the individual tab pages. The tab strip thus behaves like a large screen.

The advantage is that no backend communication is needed when the user clicks on a tab title. The disadvantage is that for each backend communication, the system triggers all screen checks. For example, if the user scrolls within a table control on the first tab page, the system may go to an empty required entry field on the fourth tab page.

Therefore, this method is recommended for display transaction rather than for change transactions.

Combining the two scrolling methods

You can use a combination of the two scrolling methods. For example, if for editing individual tab pages, extensive database selections are required, you can use the first scrolling method for these tab pages, while offering local scrolling for simple tab pages.

For information on usage and layout of tab strips, refer to transaction BIBS. Use Elements to find a sample program for tab strips and click on the pushbutton Rules for notes on how to lay out tab strips.