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

Parameter selection text length more than 30.

Former Member
0 Likes
5,053

Hi,

I declared the one parameter in selection-screen.

i declared selection texts for the parameter.

but selection-text not taking more than 30 chars.

how can i provide selection texts more than 30 chars.

Regards,

Suresh.

Hi,

I declared the one parameter in selection-screen.

i declared selection texts for the parameter.

but selection-text not taking more than 30 chars.

how can i provide selection texts more than 30 chars.

Regards,

Suresh.

5 REPLIES 5
Read only

former_member156446
Active Contributor
0 Likes
2,573

declare it as type string.... it will show you less characters but will internally accept more length..

Read only

0 Likes
2,573

Hi,

iam taking about text elements-> selection-text not the selection input value.

Regards,

Suresh

Read only

0 Likes
2,573

Hi,

The selection text length is limited to 30 chars by default. Paul has explained you to overcome that limitation by using selection-screen comments.

regards,

Advait

Read only

0 Likes
2,573

Here's another example that makes use of the POSITION verb and can allow you to be more precise with the placement of screen items.


SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20)   text-613.
SELECTION-SCREEN POSITION 22.                        " Standard
PARAMETER: pst04sl RADIOBUTTON GROUP x041 DEFAULT 'X' MODIF ID cus.
SELECTION-SCREEN POSITION 27.                        " Standard
PARAMETER: pst04bu RADIOBUTTON GROUP x041 MODIF ID cus.
SELECTION-SCREEN END   OF LINE.

Read only

Former Member
0 Likes
2,573

You'll need to use this construct


SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(40)  text-601.
PARAMETERS: acct LIKE vbap-vbeln.
SELECTION-SCREEN END   OF LINE.

Put your Text as the text-601 text.