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: 

ALV Grid output

Former Member
0 Kudos

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,

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

strange !

Have you checked the all the field catalog values in CAPS ? and also col_pos is filled properly

9 REPLIES 9

Former Member
0 Kudos

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

0 Kudos

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,

0 Kudos

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

nirajgadre
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi,

Refresh the it_fieldcat every time after append.

Hope this may resolve ur issue.

Thanks,

Sudheer

Former Member
0 Kudos

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

former_member194669
Active Contributor
0 Kudos

strange !

Have you checked the all the field catalog values in CAPS ? and also col_pos is filled properly

Former Member
0 Kudos

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

0 Kudos

Thanks all the issue got solved