Skip to Content

Active tab in nested tab strip

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 12 at 07:35 AM

    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)


    Add comment
    10|10000 characters needed characters exceeded

  • 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.

    Add comment
    10|10000 characters needed characters exceeded

  • 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.

    Add comment
    10|10000 characters needed characters exceeded