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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Feb 12, 2018 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 12, 2018 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 12, 2018 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.