Skip to Content
0

Active tab in nested tab strip

Feb 11 at 03:05 AM

48

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Raymond Giuseppi
Feb 12 at 07:35 AM
1

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)


Share
10 |10000 characters needed characters left characters exceeded
bhargava dns Feb 12 at 06:24 AM
-1

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.

Share
10 |10000 characters needed characters left characters exceeded
bhargava dns Feb 12 at 06:25 AM
-1

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.

Share
10 |10000 characters needed characters left characters exceeded