Selektionsparameter speichern

Selektionsparameter aus ABAP merken.

Like it? Share it!
PARAMETERS: p1 RADIOBUTTON GROUP rg1, p2 RADIOBUTTON GROUP rg1. AT SELECTION-SCREEN OUTPUT. DATA: lv_rg1(2) TYPE c. * Selektionsscreen Parameter wiederherstellen GET PARAMETER ID 'RG1' FIELD lv_rg1. IF lv_rg1 = 'P1'. p1 = 'X'. p2 = ''. p3 = ''. ELSEIF lv_rg1 = 'P2'. p1 = ''. p2 = 'X'. p3 = ''. ENDIF. START-OF-SELECTION. * Selektionsparameter merken IF p1 = 'X'. SET PARAMETER ID 'RG1' FIELD 'P1'. ELSEIF p2 = 'X'. SET PARAMETER ID 'RG1' FIELD 'P2'. ENDIF. WRITE: / 'p1', p1. WRITE: / 'p2', p2.

>_ Author

>_ last updated 4 yearss ago

>_ Language: ABAP

Selectionscreen