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 in displaying Alv grid output using oops........

Former Member
0 Kudos

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 .

4 REPLIES 4

Former Member
0 Kudos

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.

0 Kudos

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.....

0 Kudos

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.

0 Kudos

actually i am not sure on that , anyway thaks for your information...