Skip to Content
avatar image
Former Member

Add new columns in table control in custom screen program

Hi all,

I need to enhance a screen program already created by some one else.

In the program I have a screen which has a table control and in which I need to add 2 more columns.

can anyone tell me how do I add two new columns to the already existing table control in the screen?

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 24, 2010 at 08:02 PM

    First, add the two new columns to the underlying internal table associated with the table control. Then go to the screen using screen painter. From the left hand side, select the icon for input/output field, and drag and drop this UI element into the table control. This should add a new column. Double click on the new column, and give it the same name as what you defined in your internal table. Depending on how the table control was created, the name of the internal table or work area may be defined differently in the screen. So simply check what is used in an existing column of the table control. So if you double click on another column, and its name is ITAB-COL1, then you should use ITAB in your column. So if your column name is COL99, then enter the name of your new column as ITAB-COL99. Make sense?

    Regards,

    Rich Heilman

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI Rich,

      I did same way as you mentioned but it shows me error message as:

      "Collision with header element in table control

      Message no. 37857

      "

      Diagnosis

      There is already a title element at the required position in the table

      control.

      Actually i created the table control through wizard, Please let me know how to modify it? 😕