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

Set Table Control Visible Length Using Code

Former Member
0 Likes
529

Hi Experts,

I'm wondering whether there is any ABAP code that enable me to change the visible length of a table control. I wish to adjust the visible length according to what the user keyin in a selection field before they start keying in the data in the table control.

Is this possible?

2 REPLIES 2
Read only

Former Member
0 Likes
383

HI,

You can change in the transaction SE51, you will see the 'Defined length' and 'Visible Length' there you can change the Visible length of the each field of the table control. If you want to modify the whole table control then you can drag it.

Please let me know if you need more information.

Regards,

Satya

Read only

0 Likes
383

Hi Satya,

I understand that in SE51 we can change the visible length, but what i mean is i want the table's control visible length to be fix according to what the user choose in selection option. (eg. let say the user choose company A then the visible length of the table control will be change to 8, if the user choose company B then the visible length of table control will set to 10).

Any coding can enable me to do that?