Skip to Content
author's profile photo Former Member
Former Member

CJ20N changes

I searched over and over again but couldn't find a thread for the following so here goes my first post Please let me know if you know the solution.

I have added a custom sub-screen (with tab-strip) in CJ20N using CNEX0007. Everything is working fine except that I just realized that when users toggle between Edit / Display mode, the sub-screen with tabstrips doesn't toggle. It always stays in the Edit mode. I thought there might be a system filed which might tell the status of the main screen but I couldn't find any. I am looking for a trigger that tells me the status of the main screen so that I can do my PBO to make subscreen display only or in edit mode.

Overall, how do I toggle subscreen in edit/display mode along with the main screen?

thanks & regards,

Gowd.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 06:23 AM

    Hi,

    Hope the previous code helps you,

    in PAI event write :

    case sy-ucom.

    when <tabstrip Control name>-ActiveTab = < tabstrip name > .

    Dynnr = ' sub screen no. ' . "Dynnr type sy-dynnr

    EndCase.

    Cheers,

    Chaitanya.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 29, 2008 at 01:06 PM

    Hi Muneshwar,

    Assign group IDs to your fields in the subscreen. Using the transaction code you can check whether the mode is display or change or debug and check sy-ucomm when ever you toggle between display and change. Based on this write code in PBO of your subscreen using SCREEN i.e LOOP at screen.

    Please let me know if you require further info.

    Regards,

    Kalyan.

    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.