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: 

Reference field X of field Y cannot be used here

yalcin_mete
Participant
0 Kudos
2,079

Hello friends,I get the error Reference field X of field Y cannot be used hereI couldn't see the error.
I couldn't find where I needed to fix it.
What's wrong ?

thanks



1 ACCEPTED SOLUTION

Ryan-Crosby
Active Contributor
1,898

Hi Yalcin,

This is happening because the definition of the field price is associated with reference table ZEXP_T0002 and field CURRENCY, but table ZEXP_T0002 does not exist in your context. The reference error can be avoided if you add table ZEXP_T0002 into your form context.

Regards,

Ryan Crosby

8 REPLIES 8

Sandra_Rossi
Active Contributor
0 Kudos
1,898

FPAPICHK017

Reference field &1 of field &2 cannot be used here

You're looking at the form, but probably it's the interface which is concerned, did you re-activate it?

Ryan-Crosby
Active Contributor
1,899

Hi Yalcin,

This is happening because the definition of the field price is associated with reference table ZEXP_T0002 and field CURRENCY, but table ZEXP_T0002 does not exist in your context. The reference error can be avoided if you add table ZEXP_T0002 into your form context.

Regards,

Ryan Crosby

0 Kudos
1,898

Problem solved.

Thank you.

What I don't understand is why it doesn't give errors for other fields?





My second question: Why don't I get the same error with the same codes on another system?

0 Kudos
1,898

yalcin.mete did you use other fields from that table in your types? It's also possible that it will only show the first error for this type of check, but I do not recall.

0 Kudos
1,898

yalcin.mete Just click button "reload interface" and activate.

yalcin_mete
Participant
0 Kudos
1,898

can you see the error? I can't find what's missing?


Sandra_Rossi
Active Contributor
0 Kudos
1,898

did you re-activate it?

Sandra_Rossi
Active Contributor
0 Kudos
1,898

Also, you need to "reload the interface" in the form.