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

Declaring Parameter with length 10 chars with two lines

Former Member
0 Likes
1,050

Hi Experts,

How to declare parameters with some length say 10 chars with two lines.

it should be for same parameter.

like 10 chars one line and 10 chars on second.

i know how to create this on separate screen and calling the screen but i want on selection screen parameters.

Thanks In Advance.

Regards,

Venkat.

Hi Experts,

How to declare parameters with some length say 10 chars with two lines.

it should be for same parameter.

like 10 chars one line and 10 chars on second.

i know how to create this on separate screen and calling the screen but i want on selection screen parameters.

Thanks In Advance.

Regards,

Venkat.

4 REPLIES 4
Read only

Former Member
0 Likes
892

You can create two parameters with length 10 each , in the selection texts keep a blank. Then in the AT SELECTION SCREEN , add the two parameters into one new field for using in the program.

Read only

Former Member
0 Likes
892

Hi,

I believe you cannot have parameter with two lines..

INstead you can create another parameter and don't give the selection-text..

Check this Ex..

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) V_TEXT1 FOR FIELD P_TEXT.

PARAMETERS: P_TEXT(10).

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) V_TEXT2 FOR FIELD P_TEXT1.

PARAMETERS: P_TEXT1(10).

SELECTION-SCREEN END OF LINE.

INITIALIZATION.

V_TEXT1 = 'Text'.

V_TEXT2 = ''.

Thanks,

Naren

Read only

0 Likes
892

Hi,

I have done the same thing but iam getting space between two lines i dont want that space.Is there any other alternative.

Thanks For Ur Response.

Regards,

Venkat.

Read only

Former Member
0 Likes
892

Hi,

You can use POSITION..

Check this

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) V_TEXT1 FOR FIELD P_TEXT.

PARAMETERS: P_TEXT(10).

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

<b>SELECTION-SCREEN POSITION 12.</b>

PARAMETERS: P_TEXT1(10).

SELECTION-SCREEN END OF LINE.

INITIALIZATION.

V_TEXT1 = 'Text'.

THanks,

Naren