04-10-2008 3:15 PM
hi,
i have two problems in displaying ALV grid output Using Oops.
1) How to modify the fieldcatalog after we getting a field catalog using general FM.
2) initialy it is displaying 13 fields but there are 63 fields .
eventhough we chage the layout to 63 fields it is displaying only 13 fields , these 13 fields may be different based on our selection but count of displayed fileds are same . how can display 63 fields at a time .
04-10-2008 3:18 PM
Hi,
You can chnage using below code:
loop at gt_fieldcat.
if <gt_fieldcat-field_name> = 'FIELDNAME'.
endif.
modify gt_fieldcat.
clear gt_fieldcat.
endloop.
Make sure that all the field should not have no_out = 'X' and tech = 'X'.
Thanks,
Sriram Ponna.
04-10-2008 3:24 PM
If no_out = 'X' then it won't appear in change layout , but i am getting all 63 in change layout and i am selecting all fields but it is displaying only 13 fields.....
04-10-2008 3:28 PM
Hi,
If no_out = 'X' it will appear in the change layout, if it tech = 'X' it will not appear in the change layout.
Thanks,
Sriram Ponna.
04-10-2008 3:38 PM
actually i am not sure on that , anyway thaks for your information...