cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse, Field for creation user is missing in source reference ZPP_GROCERY type TABL

pekka_pottonen1
Discoverer
1,582

Hi, 

I´m following learning journey "Learning the Basics of ABAP Programming on SAP BTP" and I have reached point where I need to generate ABAP respository objects based on a table. Table definition has been copypasted from learning materials. 

But I get error "Field for creation user is missing in source reference ZPP_GROCERY type TABL"

I´m using Eclipse as instructed in the learning.

Ideas how to solve this to be able to proceed?

Thanks in advance,

Pekka

 

HYDRATTY
Discoverer
0 Kudos
I have tried the above but still it is not working i still receive the error Field for creation user is missing in source reference Z40_GROCERY type TABL. when i want to generate ABAP repository object
View Entire Topic
Kevin_Gottwald
Explorer

Hello Pekka,

have you tried to replace the datatype of the field "createdby" with the dataelement "abp_creation_user" in your database table?

Best regards,

Kevin

pekka_pottonen1
Discoverer
Hi Kevin, It was char12 type. I changed as you proposed and works perfectly. I also had to change lastchangedby to abp_lastchange_user. Thank you for the tip sir. Br, Pekka
gojila1029
Discoverer
0 Kudos
How did you do it exactly? I have replaced createdby and lastchangedby accordingly, but the error is still showing.
Altin-Hajdari
Newcomer

hi gojila1029, did you activate (Ctrl + F3) again after?

0 Kudos
It's working! Thank you!
Shazmeister55
Discoverer
I am running into the same error even after following the above instruction and activating after making the change before trying again.
Zinia
Explorer

Edit: Just editing my comment to say that this solution worked for me too. First time around, I didn't realise that I needed to change the data type on the right rather than the field name on the left, which is why it didn't work, but as soon as I switched obviously all was well.

Many thanks for all your efforts.

Kevin_Gottwald
Explorer
0 Kudos
Because of the many comments of people still getting the error after fix, I have tried to reproduce and fix the error by myself and can confirm that the solution works. As Pekka has already mentioned, you also have to change the datatype of lastchangedby to abp_lastchange_user to proceed with the generation.