09-06-2008 1:51 PM
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.
09-06-2008 2:07 PM
Create a structure & pass that structure as structure name in REUSE_ALV_FIELDCATALOG_MERGE
You will get it.
09-06-2008 2:42 PM
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.
09-06-2008 3:39 PM
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.