04-26-2019 11:18 AM
I have a Tabstrip control and has 3 tabs - Tab1, Tab2, Tab3. The Issues are listed below:
1. When i click on Tab2 the subscreen area in that is not displayed. I have used the Activetab thing also after capturing sy-ucomm. Likewise it is for Tab3 also.
2. I want texteditor in Tab2 which contains a subscreen area. Pls suggest. I have gone through the class also available. But in subscreen it can be displayed. If possible for same requirement, code provided would be fine.
3. How i can change the Standard text (SO10) text created - through code in texteditor.
Pls. suggest. Note: I am doing this by use of module pool.
04-26-2019 2:36 PM
My crystal ball gives several answers:
1. You didn't activate the screen, or you didn't debug, or you didn't define a pushbutton for each tab, or you defined your tabstrip with a "local" paging (i.e. pressing a pushbutton switches to the subscreen of the chosen tab; the pushbutton must have a "P" function type / it does not give control to the ABAP program).
2. If you say "Tab2 subscreen area", then you mean that each tab has one subscreen area, so you are using a "local" paging. With a "server" paging, there is only one subscreen area for all tabs.
3. cf SAPscript APIs "SAVE_TEXT" and "COMMIT_TEXT" https://help.sap.com/saphelp_nw70/helpdata/en/d6/0db8bb494511d182b70000e829fbfe/frameset.htm
cf demo programs DEMO_DYNPRO_TABSTRIP_LOCAL and DEMO_DYNPRO_TABSTRIP_SERVER.