‎2018 Jun 27 6:15 PM
Hello SAP comunity,
I have 2 SAP systems - one version 702, one 750.
Both are interpreting the statement bellow differently. 702 is creating the unique key for SORTED and HASHED tables correctly but not 750 (you could check that in the debugger).
I am receiving short-dump because of this. Any idea how I may resolve the problem in 750?
DATA: lt_test LIKE HASHED TABLE OF t000 WITH UNIQUE KEY mtext.
‎2018 Jun 28 8:21 AM
‎2018 Jun 27 10:00 PM
Hello,
You probably want to use TYPE instead of LIKE since you're referencing a dictionary object. In ABAP OO, you'll get an error if you use LIKE like this.
I doubt that the short dump is related to the "Table index not up-to-date" warning. If you input data into your lt_test variable, the warning should vanish. Can you add the short dump to your question?
‎2018 Jun 28 8:21 AM
‎2019 Mar 13 12:31 PM
Reference for those that needed the answer - it as a dynamic internal table created from MDG API. The static definition and the dynamic definition via the API differed so I simply had to create it via one of the API methods.