Application Development 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: 

Problem facing with REUSE_ALV_FIELDCATALOG_MERGE

Former Member
0 Kudos

Hi all,

i have to add a new field to the field catalog. i have added that field to the internal table and when i am debugging that field is added to the internal table. But when i am paasing that internal table to REUSE_ALV_FIELDCATALOG_MERGE the newly added filed is not adding to the field catalog.

3 REPLIES 3

Former Member
0 Kudos

Create a structure & pass that structure as structure name in REUSE_ALV_FIELDCATALOG_MERGE

You will get it.

Former Member
0 Kudos

Hi,

You can check the structure you have passed to this function module contains that filed or not.

Check the filed catlog also this new field is added or not.

Chec any varient is saved as default if else check this field is added in this varient.

Thanks,

radha.

former_member188685
Active Contributor
0 Kudos

The field what ever you are adding is some thing like this

This is wrong.

d

ata: begin of itab occurs 0,
...
...
fieldnew type db-field.   "You should use LIKE instead of Type.
end of  itab.

This is correct

data: begin of itab occurs 0,
...
...
fieldnew like db-field.   "Correct.
end of  itab.

if you are using LIKE and still facing problem then you post your code with internal table declaration.