Posted: Sun Oct 14, 2007 6:30 pm Post subject: Display multiple fields on same line (checkbox +field entry)
Radiobutton (inc desc) and entry field on same line of selection screen
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
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
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
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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.