Application Development and Automation 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: 
Read only

Radiobutton not displaying while program gets executed.

Former Member
0 Likes
1,235

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
Read only

Former Member
0 Likes
1,210

Hi

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

  submit  zcombination8 USING SELECTION-SCREEN AND RETURN .



regards.

laxman

Read only

0 Likes
1,210

Hi Laxman,

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

Thanks for reply.

Read only

0 Likes
1,210

Hi

try this its working

submit  zcombination8 VIA SELECTION-SCREEN.


regards.

laxman

Read only

0 Likes
1,210

Read SUBMIT syntax in online help or press F1 :

> SUBMIT zcombination8 USING SELECTION-SCREEN 1000 AND RETURN .

Regards,

Raymond

Read only

Former Member
0 Likes
1,210

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'" .

Read only

Former Member
0 Likes
1,210

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

Read only

Former Member
0 Likes
1,210

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'.




Read only

Former Member
0 Likes
1,210

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

Read only

0 Likes
1,210

Thanks alot Laxman.Its working now.

Read only

0 Likes
1,210

Hi Sam

then please close the thread

rg

laxman