on ‎2020 Jan 09 2:19 PM
I am created control tabstrip with 2 tabs inside screen SAPLXWOC 0900 of enhancement IWO10018.
Then set Function codes "ZTAB1", "ZTAB2" into tabs TAB1 and TAB2.
Following error message has appeared when I try to switch between tabs.
How can I handle it?

Flow Logic
PROCESS BEFORE OUTPUT.
* MODULE STATUS_0900.
*
CALL SUBSCREEN tab_messages_ref1 INCLUDING 'SAPLXWOC' '0901'.
CALL SUBSCREEN tab_kpi_ref1 INCLUDING 'SAPLXWOC' '0902'.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0900.
CALL SUBSCREEN tab_messages_ref1.
CALL SUBSCREEN tab_kpi_ref1.
*&---------------------------------------------------------------------*
*& Module USER_COMMAND_0900 INPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
MODULE user_command_0900 INPUT.
ok_code = sy-ucomm.
CASE ok_code.
WHEN 'ZTAB1'.
ts_enh-activetab = 'TAB_MESSAGES'.
WHEN 'ZTAB2'.
ts_enh-activetab = 'TAB_KPI'.
WHEN 'BACK'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0900 INPUT

Request clarification before answering.
I added custom Function codes into tables T185 and T185F. use Transaction code VFBS.
And I changed Function codes to "Z9T1" and "Z9T2" for meet to the requirement "Customer namespace reservation".
Now my codes are works perfect. Thanks for all replies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And I changed User command module below. The activetab's value is same with the tab's function code.
*----------------------------------------------------------------------*
***INCLUDE ZXWOCI02.
*----------------------------------------------------------------------*
*&---------------------------------------------------------------------*
*& Module USER_COMMAND_0900 INPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
MODULE user_command_0900 INPUT.
CASE sy-ucomm.
WHEN 'Z9T1'.
ts_enh-activetab = 'Z9T1'.
WHEN 'Z9T2'.
ts_enh-activetab = 'Z9T2'.
ENDCASE.
ENDMODULE. " USER_COMMAND_0900 INPUT
Thanks for the feedback!
Hi,
Kindly check the program DEMO_DYNPRO_TABSTRIP_LOCAL, you will get what is missing. or check Tabstrip Controls
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rather than using SAPLXWOC with both 0902 and 0902, try using just 0901 with a tabstrip control.
.
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 40 | |
| 21 | |
| 16 | |
| 6 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.