Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

tabstrip

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

See demo programs like DEMO_DYNPRO_TABSTRIP_LOCAL, DEMO_DYNPRO_TABSTRIP_SERVER

Max

8 REPLIES 8

Former Member
0 Kudos

Hi

See demo programs like DEMO_DYNPRO_TABSTRIP_LOCAL, DEMO_DYNPRO_TABSTRIP_SERVER

Max

0 Kudos

please read more correctly !

....put on this tabstrip input fields and a radio button.

Regards

ertas

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

Hi Ertas,

Let me know if you are struck anywhere while having the tabstrip placed, so that we could help.

Yugandhar

Former Member
0 Kudos

Hi,

Check the following link:

http://saptechnical.com/Tutorials/ABAP/Tabstrips/page1.htm

Regards,

Bhaskar