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

Adding Column to already created Table Control

Former Member
0 Likes
770

Ok i know this is a very basic question but i havent been able to find a definitive answer on any of the forums. This is more of a situation rather than a problem.

I created an application with a screen having a table control with 3 columns in the middle of it. Once the application went into first level testing we discovered that we needed another column/field in the table control.

The table control was created on an internal table using the table control wizard. I added the extra field into the internal table but cant find a way of adding it into the screen table control without deleting and recreating it.

What i need to know is if there is any way of adding a column into the table control without recreating. I really dont want to go through that excercise again.

Regards,

Ahsan

2 REPLIES 2
Read only

former_member182371
Active Contributor
0 Likes
654

hi,

first of all: the field you want to add must be declared in the internal table you´re using.
Next go to the layout of the screen in question in modify mode.
In the menu choose:

goto

,

secondary window

,

dict/prog fields

.
add internaltable-field (e.g. itab-bukrs) and choose the button "bring from the program".

select the field in question and accept.

And then you just have to drag and drop the new added field.

Best regards

Read only

former_member182371
Active Contributor
0 Likes
654

i forgot to tell you that most probably the program will ask you to declare the new field in the PBO and PAI.

Regards.