Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

multiple selection screen with pushbutton!!

Hi everybody!!

I need an example of how can I make a multiple selection screen with differents pushbutton!! Initially, I've 3 buttons, and when I click on one of them I need to show another 3 differents pushbutton, but I don't know how can I make this, I've tried making 2 screen but I only get dumps, does anybody know how can I make this?

Thanks a lot,

Regards,

Rebeca

Former Member
replied

Hi,

Try this code, if u select second radio button, the send set not displays.

REPORT zpbk_selection_screen.

TABLES : sscrfields.

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

PARAMETERS : rd_p1 TYPE c RADIOBUTTON GROUP r1 USER-COMMAND abcd,

rd_p2 TYPE c RADIOBUTTON GROUP r1 .

SELECTION-SCREEN END OF BLOCK b1.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.

PARAMETERS : rd_r1 TYPE c RADIOBUTTON GROUP r2 MODIF ID ccc,

rd_r2 TYPE c RADIOBUTTON GROUP r2 MODIF ID ccc,

rd_r3 TYPE c RADIOBUTTON GROUP r2 MODIF ID ccc.

SELECTION-SCREEN END OF BLOCK b2.

AT SELECTION-SCREEN OUTPUT.

IF rd_p2 = 'X' .

LOOP AT SCREEN.

CASE screen-group1.

WHEN 'CCC'.

screen-input = 0. "Enable

screen-invisible = 1. "Disable

MODIFY SCREEN.

ENDCASE.

ENDLOOP.

ENDIF.

START-OF-SELECTION.

Regards

Bala Krishna

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question