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

Problem in Screen fields

Former Member
0 Likes
504

Hi Abappers,

I have a screen field which is a drop down box and refers to the dictionary element Infotype which is of 4 characters in length.

Instead of showing Infotypes in that box i have to show infotype text.

I select the Infotype text against the infotype from table T582S.

When I move the Infotype text into drop down box, it only shows the first four characters of the text as it is of 4 char length only.

How to display the whole Infotype text into that same drop down box?

Please reply.

Regards,

Rahul

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
459

This happens because system assume that the first four characters are the Key in the dropdown.

Before moving the description to the table of the dropdown box, concatenate the values with the description and append into the table for dropdown box.

To display keys along with the values in the drop down box:

Go to Customize Local Layouts (very last button , next to help on any screen)

Select Options

Select Experts tab

select the checkbox "Show Keys in All Drop Down list"

select the checkbox "Sort Item by Key". This will help you when you have more values in the dropdown.

Regards,

Naimesh Patel.

Read only

0 Likes
459

Hi Naimesh,

Its not working.

What table you are talking about.

I am concatenating the two variables into the third one and passes it to the screen element.

But it is showing the Infotype(INFTY) now.

Please reply.

Regards,

Rahul

Read only

Former Member
0 Likes
459

Hi

Change the screen filed length 4 char to 30 char

Thanks

SEK