Application Development 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: 

Cannot increase select option field visible length beyond 18

Former Member

Hi,

I have created a select option field and it is referring to an object which is of 255 characters in length. However the select option field on the screen is only 18 characters. I read in the Help that that is the way it is meant to be. However, since this field is supposed to take server directory names, it does not look good when it is only 18 characters. I have  even tried to edit it in the screen 1000 element list properties for no avail.

Any advise will be of great help.

Thanks,

Ajith Cheruvally

8 REPLIES 8

Mohamed_Mukhtar
Active Contributor
0 Kudos

Hi Ajith,

Define it as paramter field if this field is used for directory names.

Thanks

0 Kudos

Hi, I would like this field to take multiple values and hence not declared as parameter.

Thanks,

Ajith Cheruvally

0 Kudos

Hello Ajith,

But how you are going to read the information of multiple directory names in your program.

If you already know the number of directories from which data needs be read/write then i suggest you to create as many fileds with parameter keyword.

Thanks

naveenvishal
Contributor
0 Kudos

Hi Ajith,


You can try giving the size as


PARAMETERS: p1(255) TYPE c VISIBLE LENGTH 45.


There is a limitation of the selection screen, you cannot have more than 45 chars long field (visible length).


Regards,

Naveen

Former Member
0 Kudos

Hi Ajith,

Look in the help of select-options:

The maximum visible length of the input fields is, depending on the nesting depth, in blocks with frames between 10 and 18. If the length is larger than the maximum visible length, then the content is scrollable.

Check below thread of SDN.

krishna_k19
Contributor
0 Kudos

Hi Ajith,

     While declaring a Input parameter through Select options we will refer with table name / domain , so it will check that field output length there how many characters is mentioned it will display that much only.

Just double click on that filed and see the output length.

Regards,

Krishna

Former Member
0 Kudos

Hi Ajith,

In parameter field, you can specify it but for select-options, its limited character max upto 18.check above thread which i have given..

Thanks..

JP

raymond_giuseppi
Active Contributor
0 Kudos

What is your SAP_ABA version ?

AFAIK displayed select-options are limited to 18 characters even if field definition is 255, the field is scrollable to input more characters. You could input more characters (before 7.31, 45 characters, as of 7.31, 255 characters) using the green arrow thru the multiple selection dialog. But as soon as user executes any action on  the first screen, the first record will get truncated.

Regards,

Raymond