05-26-2014 7:46 AM
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
05-26-2014 7:52 AM
Hi Ajith,
Define it as paramter field if this field is used for directory names.
Thanks
05-26-2014 8:03 AM
Hi, I would like this field to take multiple values and hence not declared as parameter.
Thanks,
Ajith Cheruvally
05-26-2014 8:08 AM
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
05-26-2014 7:59 AM
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
05-26-2014 8:00 AM
05-26-2014 8:01 AM
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
05-26-2014 8:02 AM
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
05-26-2014 8:33 AM
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