Application Development and Automation 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: 
Read only

reference field unknown in the form

Former Member
0 Likes
2,407

Hi Expert,

While running smartform i am getting an error like 'Reference field WA_DISTAB-KBETR unknown in form' ...

I have defined wa_distab like ZSTR_DIS_TAB in the global field in smartform and trying to use one of the field named KBETR in the smartform. When i am using other 4 fields of the same structure i am not getting any error but for other 3 fields i am getting this type of error.

Could you please tell me how to sort this out ??

Thanks.

Hi Expert,

While running smartform i am getting an error like 'Reference field WA_DISTAB-KBETR unknown in form' ...

I have defined wa_distab like ZSTR_DIS_TAB in the global field in smartform and trying to use one of the field named KBETR in the smartform. When i am using other 4 fields of the same structure i am not getting any error but for other 3 fields i am getting this type of error.

Could you please tell me how to sort this out ??

Thanks.

6 REPLIES 6
Read only

Former Member
0 Likes
1,287

Hi,

Quan is a quantity field and needs a reference, as do currency fields. Define this reference in your smartform's Global Definitions under the Currency/Quan Fields tab.

Regards,

Selva

Edited by: Selva M on Aug 23, 2010 5:59 PM

Read only

0 Likes
1,287

Hi,

I am not finding any special tab named Currency/Quan in my global definitions...there are 5 tabs present under global definitions named Global data, Types, Field symbols, Initialization, Form routines ...so where exactly do i need to define this field and how ??

Thanks for reply.

Read only

0 Likes
1,287

Hi,

We have 6 tab in Global definition part, the last one is Currency/Quan.

If you opened the formpainter then you can't see that tab. close ur layout set and check.

Regards,

Selva

Read only

0 Likes
1,287

No dude, my Form painter is closed but there are only 5 tabs which i have mentioned present there under Global Definitions tab...i am using version 4.6C ...is there another way to sort this thing out ??

thanks.

Read only

0 Likes
1,287

Hi,

Yes we don't have that tab in 4.6C.

Check this one may help you

Regards,

Selva

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,287

Check via SE11 ZSTR_DIS_TAB definition, the field (CURR) KBETR should be linked with currency code (CUKY) KONWA, and of course KONWA too must be in your structure.

If correction of the structure don't solve your problem, move your amount to a packed field.

Regards,

Raymond