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

2 fields with text on the same line

Former Member
0 Likes
607

Hi everyone,

Could anyone let me know how I can get 2 fields with their text values in the same line. For eg:

weight ______ unit of weight _____

i need both of the fields and text to be visible.

Thanks/

Message was edited by:

Raj Kali

Hi everyone,

Could anyone let me know how I can get 2 fields with their text values in the same line. For eg:

weight ______ unit of weight _____

i need both of the fields and text to be visible.

Thanks/

Message was edited by:

Raj Kali

3 REPLIES 3
Read only

Former Member
0 Likes
517

Hi,

You can use SELECTION-SCREEN BEGIN OF LINE and SELECTION-SCREEN END OF LINE.


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 = 'FIELD1'.
INPUT2 = 'FIELD2'.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
517

Hi,

Check this example..

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) v_text1 FOR FIELD p_menge.

PARAMETERS: p_menge TYPE menge_d.

SELECTION-SCREEN COMMENT 30(20) v_text2 FOR FIELD p_meins1.

PARAMETERS: p_meins1 TYPE meins.

SELECTION-SCREEN END OF LINE.

INITIALIZATION.

v_text1 = 'Weight'.

v_text2 = 'Unit of Weight'.

Thanks

Naren

Read only

0 Likes
517

Hi,

Is this what you want or some thing else? Just reply and close the thread if your problem is solved.