Question:
Hello,
My alv
'REUSE_ALV_LIST_DISPLAY'
displays structure name ,fieldcatalog in exporting parameters
and it is passing the internal table with the type of structure in tables.
Now I want to add a field in that alv.
Do u want me to create a new structure?
What changes I should do?
Please help me.
Thank you.
Answer:
Hi,
You don't need to create a new structure, just change the one you have adding the new field you want.
First add the new field in the structure definition. Then, if you are using FM GET_FIELDTAB or FM REUSE_ALV_FIELDCATALOG_MERGE to populate the field catalog, you shouldn't need changes there. If you are creating the field catalog manually, you should add the new field to it.
Finally you should fill the new field values in the internal table.
I think this would work.
Hope it helps,
mr.