‎2014 Dec 05 7:56 AM
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
‎2014 Dec 05 8:04 AM
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..
‎2014 Dec 05 8:48 AM
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.