Application Development and Automation 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: 
Read only

ALV Grid output

Former Member
0 Likes
1,110

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
Read only

former_member194669
Active Contributor
0 Likes
1,065

strange !

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,065

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

Read only

0 Likes
1,065

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,

Read only

0 Likes
1,065

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

Read only

nirajgadre
Active Contributor
0 Likes
1,065

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.

Read only

Former Member
0 Likes
1,065

Hi,

Refresh the it_fieldcat every time after append.

Hope this may resolve ur issue.

Thanks,

Sudheer

Read only

Former Member
0 Likes
1,065

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

Read only

former_member194669
Active Contributor
0 Likes
1,066

strange !

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

Read only

Former Member
0 Likes
1,065

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

Read only

0 Likes
1,065

Thanks all the issue got solved