‎2008 Jan 29 12:54 PM
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.
‎2008 Jan 30 6: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.
‎2008 Jan 29 1: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.
‎2008 Jan 30 6: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.