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: 

ABAP compiler -> short dump GEN_NO_GENINFO_FOR_DATID No generation information for DATID %_#D468.

Sandra_Rossi
Active Contributor
1,145

Hello,

EDIT: for information, I have solved my question, no help needed. Thanks.

I got the below short dump/kernel/compiler error while compiling the below program.

My kernel : 753 SP 400.

This is one possible short code to reproduce the error:

REPORT.
DATA range_1 TYPE RANGE OF devclass WITH HEADER LINE.
DATA range_2 TYPE RANGE OF devclass.
range_2 = VALUE #( ( LINES OF range_1 ) ).

Error via ADT:

Error via SE38:

or

Short dump:

  • Internal error
  • GEN_NO_GENINFO_FOR_DATID
  • No generation information for DATID %_#D468.
  • Error analysis
  • There is no generation information for internal ID "%_#D468". This is most probably due to an invalid DATID or to an object type that no generation information is normally kept for.
  • The termination was triggered in function "cg_GetSdatPtr" of the SAP kernel, in line 3684 of module "//bas/753_STACK/src/krn/abap/gen/cgen.c#1".

Any solution?

Sandra

1 ACCEPTED SOLUTION

Sandra_Rossi
Active Contributor
1,023

You should upgrade the kernel according to this SAP note 3106920 - GEN_NO_GENINFO_FOR_DATID error during RUN_CHECK_SLT_TRIGGER_PRE phase in SUM; No generatio... (Released On: December 02, 2021).

The code can also be fixed this way:

REPORT.
DATA range_1 TYPE RANGE OF devclass WITH HEADER LINE.
DATA range_2 TYPE RANGE OF devclass.
range_2 = VALUE #( ( LINES OF range_1[] ) ).<br>
8 REPLIES 8

Sandra_Rossi
Active Contributor
1,024

You should upgrade the kernel according to this SAP note 3106920 - GEN_NO_GENINFO_FOR_DATID error during RUN_CHECK_SLT_TRIGGER_PRE phase in SUM; No generatio... (Released On: December 02, 2021).

The code can also be fixed this way:

REPORT.
DATA range_1 TYPE RANGE OF devclass WITH HEADER LINE.
DATA range_2 TYPE RANGE OF devclass.
range_2 = VALUE #( ( LINES OF range_1[] ) ).<br>

0 Kudos
1,023

If you know the answer why do you post it here? If you want to share your solutions then create a blog.

abo
Active Contributor
1,023
filipprokopiuk

in case you haven't noticed, even the official SAP Support posts question and answers together, possibly to help people looking in the Q&A section instead of posts

1,023

fprokopiuk That's your opinion, not a forum rule. I guess I forgot to say "for information, I have solved my question, no help needed. Thanks." Maybe you can do the same as I do: I always check the answers before reading the questions 😉

I know that some people publish blogs posts for exactly this reason of mentioning one SAP note, but I completely disagree, we'd be polluted by thousands of such blog posts. The SAP forums are polluted by many same questions, each one with the same answers or links to others answers, so I guess it's the right place for my question/answer.

For information, Stack Overflow encourages such practice.

0 Kudos
1,023
sandra.rossi

Well in this case you can find solution by googling or checking me.sap.com mentioned dump pretty fast, so adding Q/A about it seems kind of unnecessary and time consuming. Anyway I will do as you suggested and ignore such entries, have a nice day!

0 Kudos
1,023

fprokopiuk So, you are saying that my question/answer can be posted as a blog post, but its content has no interest if it's posted as a question/answer. Have a nice day too 🙂

0 Kudos
1,023

sandra.rossi: What I mean is that Q&A general purpose is to find help about specific topics when there is no information about it elsewhere. One of the rules before you post (the same is on Stack Overflow) is to try to solve it first by yourself by searching in available resources. If you already did it and found your solution then there is no need to post this in Q&A because you don't really need any support. If you have problem that can't be easily found then post it when you don't know answer yet so others can provide assistance, which is basically what Q&A was created for. Naturally when, after some time, you solve it then it's desirable to post the solution that you used for future reference by others with the same issue. I suppose it's the encouragement in Stack Overflow you mentioned earlier.

If you think that knowledge that you have is valuable then you can sum it up in one article and put it into blog, so instead of 10 questions about certain topic it can be summed in one article for example "Common issues with ...".

There are other benefits as well for blog posts:

  1. People that are interested in new knowledge but don't want to be notified about all the questions with chosen tag can filter it properly then and people that are willing to help are notified about questions from ppl that actually need it.
  2. There are more formatting options like better code tool, special signs, headers.
  3. In blog posts you can also use movies and tables.
  4. You can easier change it in future to keep it updated.

This are just my insights I won't nag you anymore 🙂

1,023

fprokopiuk Thank you for explaining your opinion in many details. Anyway, I'm not convinced, I will continue posting in the forum to provide these little explanations and solutions (which don't exist anywhere else/different from SAP notes, but are not worth a blog post/cannot be grouped with other questions in one article of common topic), the same way as SAP Support does (like Andrea mentioned) + I hope I won't forget this little sentence "for information, I have solved my question, no help needed, thanks.".