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: 

Radiobutton not displaying while program gets executed.

Former Member
0 Kudos

Hello all,

             I am working on two reports zcombination88 and zcombination8.Both the programs have radio button code and zcombination88 is calling zcombination8 program.

REPORT  ZCOMBINATION88.

SELECTION-SCREEN BEGIN OF BLOCK A2 WITH FRAME TITLE TEXT-003.

   PARAMETERS: R1 RADIOBUTTON GROUP R,

                              R2 RADIOBUTTON GROUP R.

SELECTION-SCREEN END OF BLOCK A2.

START-OF-SELECTION.

  if R1 = 'X'.

   submit  zcombination8 AND RETURN .

  ENDIF.



---------------------------------------------------------------------------------------------------------------------------------

REPORT  ZCOMBINATION8.

SELECTION-SCREEN BEGIN OF BLOCK A2.

   PARAMETERS: p1 RADIOBUTTON GROUP p,

                              p2 RADIOBUTTON GROUP p.

SELECTION-SCREEN END OF BLOCK A2.

Write : 'Test ABAP'

now problem is that whenever i execute ZCOMBINATION88 it  display R1 and R2.when i again click again on execute its not showing p1 and p2 radiobutton It only displays 'TEST ABAP' but not the radiobuttons.can anyone please help me with this....

Thanks in advance.

10 REPLIES 10

Former Member
0 Kudos

Hi

You need to call the program with using selection screen like below

  submit  zcombination8 USING SELECTION-SCREEN AND RETURN .



regards.

laxman

0 Kudos

Hi Laxman,

I tried it but its showing an error  "Statement concluding with "...SELECTION-SCREEN" ended unexpectedly."

Thanks for reply.

0 Kudos

Hi

try this its working

submit  zcombination8 VIA SELECTION-SCREEN.


regards.

laxman

0 Kudos

Read SUBMIT syntax in online help or press F1 :

> SUBMIT zcombination8 USING SELECTION-SCREEN 1000 AND RETURN .

Regards,

Raymond

Former Member
0 Kudos

try this



REPORT  ZCOMBINATION88.

DATA: seltab LIKE rsparams OCCURS 0.


SELECTION-SCREEN BEGIN OF BLOCK A2 WITH FRAME TITLE TEXT-003.

   PARAMETERS: R1 RADIOBUTTON GROUP R,

                              R2 RADIOBUTTON GROUP R.

SELECTION-SCREEN END OF BLOCK A2.

START-OF-SELECTION.

  if R1 = 'X'.

   submit  zcombination8 AND RETURN .

  ENDIF.


SUBMIT zpy_fss

                                WITH SELECTION-TABLE seltab

                                WITH R1 = 'X'" .

Former Member
0 Kudos

No sir, Its not showing the buttons yet.problem output remain same

Former Member
0 Kudos

its work


REPORT  ZCOMBINATION88.

SELECTION-SCREEN BEGIN OF BLOCK A2 WITH FRAME TITLE TEXT-003.

    PARAMETERS: R1 RADIOBUTTON GROUP R,

                               R2 RADIOBUTTON GROUP R.

SELECTION-SCREEN END OF BLOCK A2.

START-OF-SELECTION.

   if R1 = 'X'.

    submit  zcombination8 VIA SELECTION-SCREEN AND RETURN .

   ENDIF.

*********************************************************************************

REPORT  ZCOMBINATION8.

SELECTION-SCREEN BEGIN OF BLOCK A2.

    PARAMETERS: p1 RADIOBUTTON GROUP p,

                               p2 RADIOBUTTON GROUP p.

SELECTION-SCREEN END OF BLOCK A2.

Write : 'Test ABAP'.




Former Member
0 Kudos

HI

try this its working i have tried..

SELECTION-SCREEN BEGIN OF BLOCK A2 WITH FRAME TITLE TEXT-003.

    PARAMETERS: R1 RADIOBUTTON GROUP R,

                  R2 RADIOBUTTON GROUP R.

SELECTION-SCREEN END OF BLOCK A2.

START-OF-SELECTION.

   if R1 = 'X'.

    submit ZTEST_LB1 via selection-screen.

   ENDIF.

regards.

laxman

0 Kudos

Thanks alot Laxman.Its working now.

0 Kudos

Hi Sam

then please close the thread

rg

laxman