2007 May 09 5:04 PM
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.
2007 May 09 5:06 PM
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.
2007 May 09 5:09 PM
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
2007 May 09 5:15 PM
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.
2007 May 09 5:18 PM
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