When we define selection screens, it is common practice to group certain fields together: element blocks Element blocks draw frames around the groups or fields we choose and give your fields some context. Make selection screens look a lot better from the user's perspective. We can also add frame labels You can nest blocks in other blocks, so you can subdivide individual sections of your screen. Element blocks are similar to begin of line addition. Have the option of choosing whether you want to apply a frame around a block of fields in your selection screen using WITH FRAME. You can also add a frame labels, called titles to the frame. As with comments we can use text symbols or field names of max 8 characters. Also need to include an ender block.
SELECTION-SCREEN BEGIN OF BLOCK myblock1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION POS_LOW.
PARAMETERS abc(5).
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN COMMENT 1(15) TEXT-001.
SELECTION-SCREEN COMMENT 20(10) comm1.
SELECTION-SCREEN END OF BLOCK myblock1.