complex complex selection screen report screen selection SELECTION-SCREEN
When you have to enter a text greater than 50 characters to describe a field in the selection screen, or need to have more control over the position of the items in the selection screen, use technique below. This can also be used when you need to insert for example two radio buttons in the same line.
REPORT ZSELECTION_SCREEN.
* Text-symbols
*001 Lorem ipsum ei mei affert eruditi necessitatibus, id nec tota ullum
*002 Nibh maluisset scripserit et
**********************************************************************
* Selection Screen
**********************************************************************
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_radio1 type SPRPS RADIOBUTTON GROUP a1.
SELECTION-SCREEN: COMMENT 4(67) text-001.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_radio2 type SPRPS RADIOBUTTON GROUP a1.
SELECTION-SCREEN: COMMENT 4(28) text-002.
SELECTION-SCREEN END OF LINE.
ALV ALV report list report
In transaction SE38, search for programs “BCALV*”. You’ll get a variety ofALV report examples.
form print report SAPscript SE71 truetype
In order to import/export a SAPscript, use program RSTXSCRP.
Tip: check if font is truetype in order to get the same result when printing report.