Recently I confronted to one issue in ALV. ALV was being
implemented through Oops and data was being displayed. Everything was perfect
but when user tried to export the ALV data to local file, it was going into
below dump.
This dump was coming into a standard report and the export
function is also the standard one. So actually there was no point of its not
working. I started debugging and the issue came out to be in our code only.
Actually we have created field catalog based on one data
dictionary structure. And final internal table to be displayed was based on one
locally defined structure. Now this locally defined structure was having every
field of dictionary structure except one. And this was causing error.
When control was going into program SAPLKKBL it was doing a
case-end case on field catalog and in each case, it will look for that field in
final internal table and will try to assign a field symbol. Now because one
particular field was there in field catalog but not in final internal table, it
was going into the case but when it tries searching for that field in internal
table it was not finding anything and field symbol remain unassigned. And this dump
was coming.
Now this is beautiful. One small issue in Z code was causing
dump from standard code. Strange.
Happy learning :)
No comments:
Post a Comment