Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SELECTION SCREEN

Former Member
0 Likes
543

HOW TO DISPLAY PARAMETERS IN SAME LINE IN SELECTION SCREEN

5 REPLIES 5
Read only

Former Member
0 Likes
516

hi ,

try this,

selection-screen begin of line.

selection-screen comment 3(20) text-s02 for field user.

selection-screen position 25.

parameters: user(12) default sy-uname. "user for session in batch

selection-screen comment 48(20) text-s06 for field cupdate.

selection-screen position 70.

parameters cupdate like ctu_params-updmode default 'L'.

selection-screen end of line.

" u should provide texta at (the text-s06) text keywords.

reward points if useful,

regards,

seshu.

Read only

Former Member
0 Likes
516

Pavan,

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) INPUT1.

PARAMETERS P1 TYPE I.

SELECTION-SCREEN COMMENT 40(10) INPUT2.

PARAMETERS P2 TYPE I.

SELECTION-SCREEN END OF LINE.

INITIALIZATION.

INPUT1 = 'INPUT1'.

INPUT2 = 'INPUT2'.

Don't forget to reward if useful....

Read only

Former Member
0 Likes
516

HI

Refer this code.

SELECTION-SCREEN: BEGIN OF LINE.

SELECTION-SCREEN: COMMENT 01(31) text-001 FOR FIELD p_datuv.

PARAMETERS: p_datuv LIKE zmd_blend_tsw-datuv DEFAULT sy-datum.

SELECTION-SCREEN: COMMENT 60(15) text-002 FOR FIELD p_datub.

PARAMETERS: p_datub LIKE zmd_blend_tsw-datub.

SELECTION-SCREEN: END OF LINE.

SELECTION-SCREEN: SKIP 1.

SELECTION-SCREEN: END OF BLOCK b1.

reward all helpfull answers.

Jay

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
516

Hi,

As suggested,you need to use begin of line and end of line along with comments.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1.

PARAMETERS: P1 LIKE SAPLANE-PLANETYPE, P2(5), P3(1).

SELECTION-SCREEN END OF LINE.

Use F1 help for more information.

Message was edited by:

Jayanthi Jayaraman

Read only

Former Member
0 Likes
516

Hi,

Check this Code,

SELECTION-SCREEN : BEGIN OF SCREEN 105 AS WINDOW,

BEGIN OF LINE,

COMMENT 4(17) FOR FIELD TICNO.

PARAMETERS : TICNO TYPE ZRESER_H-TICKETNO VISIBLE LENGTH 13.

SELECTION-SCREEN : COMMENT 40(17) FOR FIELD TRAINO.

PARAMETERS : TRAINO TYPE ZRESER_H-TRAINNO .

SELECTION-SCREEN : END OF LINE,

END OF SCREEN 105.

Regards,

Padmam.