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

Parameters in single line

Former Member
0 Likes
903

hi, 2 parameters r there in selection screen? i want to get 2 parameters in single line?how to do that....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
873

Hi Balu,

Please try this.


SELECTION-SCREEN BEGIN OF BLOCK B1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 5.
PARAMETERS : P_VAR1(10).
SELECTION-SCREEN POSITION 35.
PARAMETERS : P_VAR2(10).
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1.

Regards,

Ferry Lianto

hi, 2 parameters r there in selection screen? i want to get 2 parameters in single line?how to do that....

5 REPLIES 5
Read only

rahulkavuri
Active Contributor
0 Likes
873

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 1.

SELECTION-SCREEN COMMENT 1(10) TEXT-R01 FOR FIELD BUY.

PARAMETERS: BUY RADIOBUTTON GROUP G1.

SELECTION-SCREEN POSITION 16.

SELECTION-SCREEN COMMENT 16(10) TEXT-R02 FOR FIELD SELL.

PARAMETERS: SELL RADIOBUTTON GROUP G1.

the positions should be modified according to the requirement and ur field lengths, in the above code radio buttons are placed at those positions

U also need to create comments so as to description about the field

reward points if found helpful

Message was edited by:

Rahul Kavuri

Read only

Former Member
0 Likes
874

Hi Balu,

Please try this.


SELECTION-SCREEN BEGIN OF BLOCK B1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 5.
PARAMETERS : P_VAR1(10).
SELECTION-SCREEN POSITION 35.
PARAMETERS : P_VAR2(10).
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
873

Hi ,

just write the code and execute it ,then find the program name and screen number from status of your selection screen.

then go to se 71 , than drag to desired location.

Thanks

Read only

0 Likes
873

Hi , iam sorry,its se 71 the screen number would be 1000 and give the program and then go to lay out .

thanks

Read only

SantoshKallem
Active Contributor
0 Likes
873

write the code in between <b> SELECTION-SCREEN:BEGIN OF LINE & SELECTION-SCREEN: END OF LINE</b>