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

how to Adjust Column Width for user exit field?

cheng_zhou
Explorer
0 Likes
1,756

Hi,experts! as you can see ,I use bapi 'MD_ADD_COL_EZPS' to increase a column in 'MD04',

but the width of this column is too big ,can it be optimize like alv?

Please teach me ,thanks.

2 REPLIES 2
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
1,570

Hello cheng.zhou

You can adjust table control with the button

As per SAP Help Adjusting Table Controls

Adjusting tables at client level. You can:

  • Change the column sequence
  • Change the column width
  • Hide columns
  • Configure the number of fixed columns
  • Hide or show gridlines in the table control

Best regards

Dominik Tylczynski

Read only

RaymondGiuseppi
Active Contributor
1,570

(MD_ADD_COL_EZPS is a Business Add-In (BAdI) not a BAPI, not a User Exit)

To solve your requirement:

  • Check at the upper right corner of the table control, there is an icon for Settings, there you can define your own Settings, reducing the displayed width of some fields. Check the 'Use as the standard' box.(can be transported see below)
  • Look also for online documentation with keywords such as settings for table control