Application Development 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: 

Active tab in nested tab strip

bhargava_dns
Participant
0 Kudos

i a screen i have four push buttons, on click of each pushbutton a different tap strip with nested tabs gets appeared. But the problem is in the nested tab strips i am unable to get the ok code from sy-ucomm because of which my active strip is getting to first tab strip by default i press enter...can any body please suggest some solution in fixing the problem.

3 REPLIES 3

bhargava_dns
Participant
0 Kudos

I am calling the sub-tabs ( ie nested tabstrips ) from the sub screen from the main screen. The subscreen does not have a ok code , the sy-ucomm is getting populated with the pushbuttons function code instead of tabs.

bhargava_dns
Participant
0 Kudos

I am calling the sub-tabs ( ie nested tabstrips ) from the sub screen from the main screen. The subscreen does not have a ok code , the sy-ucomm is getting populated with the pushbuttons function code instead of tabs.

raymond_giuseppi
Active Contributor

As subscreens don't manage an ok_code, you should manage the ok_code in the main screen (Enhancement spots or BAdI if standard)

If not applicable, a common way to get around this problem is manage of sy-ucomm in a subscreen PAI (hoping the subscreen PAI is executed before the AT USER-COMMAND in the main PAI logic, this is most often the case) But conduct extensive testings as sometimes you will be required to clear the main ok_code once sy-ucomm was handled to prevent some error message (invalid ok_code) or even dump. (cl_gui_cfw=>set_new_ok_code)