‎2013 Jan 07 5:44 AM
i am stuck with a wierd problem in simple alv report.
here the problem starts. i am displaying the customer region from table KNA1.
the data has been selected perfectly.
when i see the value of field REGIO --> it is showing the correct value.
but when the alv is displayed ,suddenly the field is showing date.
here is the field catalogue.
when i see in debugger it shows like this:
and this is how alv gets displayed.no idea!!
i am really wondering why is this happening and came across such a problem 1st time.
suggest some solutions plz.
‎2013 Jan 07 5:52 AM
Hi Abhishek,
According to Debugging what you mmentioned above the Field name in the internal table 'IFINAL' Is 'REGION' But while filling field catalog you are giving the fieldname as 'REGIO'.
Correct that filed name you will get the Required output.
Reward point if you find the required answer.
Thanks,
Mani
Moderator Message - Asking for points is against the forum's RoE.
Message was edited by: Suhas Saha
‎2013 Jan 07 5:52 AM
Hi Abhishek,
According to Debugging what you mmentioned above the Field name in the internal table 'IFINAL' Is 'REGION' But while filling field catalog you are giving the fieldname as 'REGIO'.
Correct that filed name you will get the Required output.
Reward point if you find the required answer.
Thanks,
Mani
Moderator Message - Asking for points is against the forum's RoE.
Message was edited by: Suhas Saha
‎2013 Jan 07 5:54 AM
Hi,
check column position may be some value overlapped.
Like in 3 & 4 position ,u r displaying same value.
can u plz post ur all field catalog portion code .
Thanks
Gourav.
‎2013 Jan 07 6:01 AM
hi abishek,
check your internal table fieldname and fieldcatalog field name is same?.
hope it helps,
Vinoth
‎2013 Jan 07 6:11 AM
Thanks all, that was a acute mistakes. oh god. how can i be so stupid.
‎2013 Jan 07 6:13 AM
Hi Abhishek,
As you have written code like Counter = counter + 1 and passing as fieldcatalog position. So third column which u have passing mate be position is 2 only. Due to that, it our lapping 2nd column data into 3rd column position as well.
So kindly check your counter logic, it will work.
Regards,
Praveen Reddy
‎2013 Jan 07 6:20 AM
counter logic will only determine the position of the column , not the contents of column.
‎2013 Jan 07 6:38 AM
When you got that kind of problem on an ALV Grid, first action should be execution of The Consistency Check.
Regards,
Raymond
‎2013 Jan 07 8:58 AM