Open all | Close all

Getting the LATEST information!

To ensure you are getting the latest information please vist this page on the new domain for SAP Development


Radiobutton (inc desc) and entry field on same line of selection screen



*ABAP code
SELECTION-SCREEN BEGIN OF BLOCK out WITH FRAME TITLE text-s01.
  selection-screen begin of line.
    parameters: p_type radiobutton group grp1.
    selection-screen comment 4(15) text-010 for field p_type.
    selection-screen position pos_low.
    parameters: p_tinput like p2001-awart.
  selection-screen end of line.
  selection-screen begin of line.
    parameters: p_reason radiobutton group grp1.
    selection-screen comment 4(17) text-010 for field p_reason.
    selection-screen position pos_low.
    parameters: p_rinput like p2001-umsch.
  selection-screen end of line.
SELECTION-SCREEN END OF BLOCK out.


Checkbox (inc desc) and entry field on same line of selection screen


*Abap code
SELECTION-SCREEN BEGIN OF BLOCK out WITH FRAME TITLE text-s01.
  SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: p_filchk AS CHECKBOX.
    SELECTION-SCREEN COMMENT 4(17) text-s02 FOR FIELD p_filchk.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS: p_file LIKE rlgrap-filename.
  SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK out.


Two radios buttons on same line of selection screen

*Abap code
SELECTION-SCREEN BEGIN OF BLOCK out WITH FRAME TITLE text-s01.
selection-screen begin of line.
  parameters: p_and radiobutton group grp1.
  selection-screen comment 4(5) text-010 for field p_and.
  parameters: p_or radiobutton group grp1.
  selection-screen comment (5) text-011 for field p_or.
selection-screen end of line.
SELECTION-SCREEN END OF BLOCK out.


Two entry fields plus comments on same line of selection screen


*Abap code
SELECTION-SCREEN BEGIN OF BLOCK out WITH FRAME TITLE text-s01.
selection-screen begin of line.
  selection-screen comment 1(7) text-su9.  "su9 = Clerk
  parameters: p_clerk1 LIKE knb1-busab OBLIGATORY DEFAULT '51'.
  selection-screen comment 15(19) text-su1. "su1 = Surname begins with
  parameters: p_cstr1(20) type c OBLIGATORY DEFAULT 'ABCD'.
selection-screen end of line.
SELECTION-SCREEN END OF BLOCK out.