03-15-2010 4:22 AM
Hi all,
Please help me in the issue . I am displaying a report using ALV grid display with 17 columns first five columns output is coming prefectly but from column 6 the value of column 6 is getting repeading in all th rest of the colums i checked the fieldcatalogue and everything looks fine but when i see the output i am seeing all same values in columns 6 to 15.
Thanks in Advance,
03-15-2010 5:59 AM
strange !
Have you checked the all the field catalog values in CAPS ? and also col_pos is filled properly
a®
03-15-2010 4:29 AM
Hi Eric
Please check the internal table which is holding the values for these columns (i.e. 6 to 15). Also try to cross check wether the field cataloge for column 6 to 15 have been supplied the correct field of the internal table.
The other reason might be you are making use of some cvariable which is not getting cleared after the value of column 6 and that's why the same value is getting displayed for the following columns.
Hope thi helps you a bit.
Regards
Gaurav
03-15-2010 4:35 AM
Hi gaurav ,
I checked the final internal table its showing correct fields and values and field catalague also i cleared it after every field. Can ther be any other reason for getting wrong output.
thanks in advance,
03-15-2010 4:43 AM
Hi
I don't think that there could be any other reason except that the values at the DB level for all these columns are the same.
Regards
Gaurav
03-15-2010 4:34 AM
Hi,
I guess there is some problem in the logic for populating the final internal table.
1. check the parameter field name value you are passing in the fieldcat table from 6 to 15 column.
2. Put the debugging point where you are populating the final table and check logic where you passing the values to column 6 to 15.
03-15-2010 4:50 AM
Hi,
Refresh the it_fieldcat every time after append.
Hope this may resolve ur issue.
Thanks,
Sudheer
03-15-2010 5:56 AM
Hi,
The values are repeated when the field catalogue is not able to regognise the field name.
Pleqase check that you have described the field-name correctly and in BLOCK LETTERS.
Hope this helps,
Raj
03-15-2010 5:59 AM
strange !
Have you checked the all the field catalog values in CAPS ? and also col_pos is filled properly
a®
03-15-2010 6:00 AM
hi,
i think their is some problem in your loop where you are trying to fill the final internal table by which you display the ALV.
Hope this helps
Regards
RItesh
03-15-2010 6:57 AM