cancel
Showing results for 
Search instead for 
Did you mean: 

CI column is added to WD ALV

former_member182374
Active Contributor
0 Kudos

Hello Experts,

I'm following the 'Step by Step Guide for using ‘SUBSCRIBE_to_button_Event’ Method of a pop-up Window in WebDynpro ABAP' tutorial.

In the tutorial a Z table is displayed in WD ALV.

When I display the ALV a column named 'CI' is added to the ALV (see screenshot).

Also SE11, SE16 screenshots are attached.

Why the 'CI' column is added? and how can I hide/delete it?

I'm not sure if this is an abap dictionary or WDA issue.

Regards,
Omri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The Column CL stands for CLIENT. That is MANDT in your table.

Plus I also see that the PLACE data is displayed under CL.

You have get the alv configuration model and then remove the column.

You can place this code in the WDDOINIT method.

former_member182374
Active Contributor
0 Kudos

Thanks.

So, basically what you're saying is that ALV takes all columns even if there is no mapping in the WD context (only 'name', 'place' and 'age' are mapped in the context).

If I use standard table UI element I can only see the columns I mapped (which is what I want).

Thanks,
Omri

Former Member
0 Kudos

No. I think when you created the context node, You would have specified

DICTIONARY STRUCTURE of your context node as your table name.

Then you would have selected 3 out of the 4 fields as attribute.

Now when you map to ALV it will show all 4 columns. But if you remove the DICTIONARY STRUCTURE value, your node will still have three attributes and your ALV wont show this extra column.

I hope you understood.

You can do this as well. Don't write code to remove the column. Just make the DICTIONARY STRUCTURE property of the node as blank.

former_member182374
Active Contributor
0 Kudos

It's working!

Thanks again

Former Member
0 Kudos

Pleasure

Answers (0)