Mastering SAP ABAP: Exploring Selection Screens and Classical Reports
Welcome back everyone, So we have started the concept of Selection Screen in our previous blog, So let’s Continue it. How To create a Selection Screen block ? Requirement :- We have to create a selection screen block which consists of two select options and one parameter as given below. Step 1 :- Create a executable program in ABAP Editor. Step 2 :- Follow the below code. Code :- *****************************Start Of Selection Screen SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE TEXT-001. ******************************** *Declaring Parameters PARAMETERS : p_ono TYPE zar_ono OBLIGATORY. *Creating Radiobuttons PARAMETERS : p_r1 TYPE c RADIOBUTTON GROUP r1, p_r2 TYPE c RADIOBUTTON GROUP r1 DEFAULT 'X', p_r3 TYPE c RADIOBUTTON GROUP r1. ************* *Creating Checkboxes PARAMETERS : p_chk1 AS CHECKBOX, p_chk2 AS CHECKBOX. *Creating a select option DATA : lv_ono TYPE zar_ono. SELECT-OPTIONS : s_ono FOR lv_ono. *************