06-18-2008 4:44 PM
Hi,
I wold like place on a small dynpro a tabstrip and
put on this tabstrip to input fields and a radio button.
I never come ever before into touch with such a problem.
Can you pls help me ?
Regards
ertas
06-18-2008 4:48 PM
Hi
See demo programs like DEMO_DYNPRO_TABSTRIP_LOCAL, DEMO_DYNPRO_TABSTRIP_SERVER
Max
06-18-2008 4:48 PM
Hi
See demo programs like DEMO_DYNPRO_TABSTRIP_LOCAL, DEMO_DYNPRO_TABSTRIP_SERVER
Max
06-18-2008 4:50 PM
please read more correctly !
....put on this tabstrip input fields and a radio button.
Regards
ertas
06-18-2008 5:05 PM
Hi
U need only to call a subscreen just like it's explained in the program demo:
so u need to insert your input/output fields (radio button too) in the subscreen (called by tabstrip) just as a normal screen.
If u can put a field in a normal screen, u can put a field in a subscreen so in a tabstrip.
See the program demo.
Max
06-18-2008 5:29 PM
hi max,
to call a subscreen first of all I have to create one.
This is exactly the most important part.
How to combine the subscreen with main window .
Where must this subscreen being created inside of main window
or inside of tabstrip ??????
ertas
06-18-2008 5:45 PM
Hi Ertas,
The first thing you have to do, is to place a tabstrip on the Mainscreen and then in the tabstrip create a subscreen-area,
then you need to create a screen of type subscreen ( in its attributes ).
In the above subscreen you created, place the radiobutton, input fields you require.
Now in the PAI of Main screen i.e. in which you have placed the subscreen area, you have to call the subscreen area using the CALL SUBSCREEN statement, please check the syntax, while calling you will use the subscreen number you created.
Let me know if you have any problems.
Thanks
Yugandhar
06-18-2008 5:51 PM
some time ago I made a program with tabstrip this is may code to call the subscreen.
In the main screen:
PROCESS BEFORE OUTPUT.
MODULE TABPROM_ACTIVE_TAB_SET.
CALL SUBSCREEN TABPROM_SCA
INCLUDING G_TABPROM-PROG G_TABPROM-SUBSCREEN.
DATA: BEGIN OF G_TABPROM,
SUBSCREEN LIKE SY-DYNNR,
PROG LIKE SY-REPID VALUE 'ZSDP0807',
PRESSED_TAB LIKE SY-UCOMM VALUE C_TABPROM-TAB1,
END OF G_TABPROM.
MODULE TABPROM_ACTIVE_TAB_SET OUTPUT.
TABPROM-ACTIVETAB = G_TABPROM-PRESSED_TAB.
CASE G_TABPROM-PRESSED_TAB.
WHEN C_TABPROM-TAB1.
G_TABPROM-SUBSCREEN = '0101'.
WHEN C_TABPROM-TAB2.
G_TABPROM-SUBSCREEN = '0102'.
WHEN C_TABPROM-TAB3.
G_TABPROM-SUBSCREEN = '0103'.
WHEN C_TABPROM-TAB4.
G_TABPROM-SUBSCREEN = '0104'.
WHEN OTHERS.
* DO NOTHING
ENDCASE.
ENDMODULE. "TABPROM_ACTIVE_TAB_SET OUTPUT
06-19-2008 6:54 AM
Hi Ertas,
Let me know if you are struck anywhere while having the tabstrip placed, so that we could help.
Yugandhar
06-18-2008 5:08 PM
Hi,
Check the following link:
http://saptechnical.com/Tutorials/ABAP/Tabstrips/page1.htm
Regards,
Bhaskar