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 control PAI modules

Former Member
0 Likes
471

Hello everybody,

I have a program that I'm working on and there I use tabstrip control,

I have a problem with tabstrip because everytime I go to PAI of the program, SAP goes to PAI of every tabstrip,
I also have a subscreen for each tab,

So I need that when I got to PAI, to only in the PAI of the active tab, not all of them,

Maybe I have the problem that I created a subscreen for each tab, somebody told me that,

I don't know how to solve this

I hope I was clear in my request

Regards,
Dren Selimi

2 REPLIES 2
Read only

Former Member
0 Likes
422

Hello, Dren.

Did you see following doc?

1. Help Doc : Tabstrip Controls - ABAP Programming (BC-ABA) - SAP Library

2. Step-by-Step Doc. : SAPTechnical.COM - Demo on Tabstrips

Regards,

Donghoon..

Read only

Former Member
0 Likes
422

hi dren,

have you declared ok_code in the report and in elements list (Module Pool)?

In the PAI based on ok_code you can code like this: sample code only

MODULE USER_COMMAND_0100 INPUT.

CASE OK_CODE.

WHEN 'TAB_1'.

  TABSTRIP-ACTIVETAB = 'TAB_1'.

WHEN 'TAB_2'.

  TABSTRIP-ACTIVETAB = 'TAB_2'.

WHEN 'BACK' OR 'CANCEL' OR 'EXIT'.

  LEAVE PROGRAM.

ENDCASE.