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: 

Hi friends need your help !

Former Member
0 Kudos

Hi Friends I am facinf problem whle creating the structure with fields KWMENG and NETWR.

When i am doing sysntax chek with Ctrl+F2

its giving me the following error

"Specify reference table and reference field "

in both the cases . I have given component type as KWMENG and NETWR.

What will be the component types for these two fields ?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

If you are declaring Quanitity field or amount field then you need to give the reference to these fileds .if you are using Quantity fiekd then you need to give the reference which will hold the values for measurements .

If you are declaring amount field trhen you need to give reference the field which will hold currency values..

for example in VBAP table KWMENG is quantity filed for this reference field is VRKME.

If you are creating Z table then this VRKME field should have been defined in you table,

Similarly for amount field in VBAP table check the NETPR filed . Foer this the reference field is WAERK.

I hope you understand this.

Reward if useful..

Thanks,

Nageswar

15 REPLIES 15

Former Member
0 Kudos

Since these two are quantity fields you have to provide reference table and reference field compulsorily. Otherwise you will get these errors.

In the Currency/Quantity field tab in SE11 provide the reference table and field value.

For Eg. For NETWR

Reference Table : LIKP

Reference field : WAERK

For KWMENG

Reference Table : VBAP

Reference field : VRKME

Reward if helpful

0 Kudos

iTS WORKING BUT NOT PROPERLY OUTPUTTED

AS ITS GIVING ERROR

INTERNAL UNIT *00 ,LANGUAGE EN IS NOT MAINTAINED.

0 Kudos

hi,

If you are doing sales order related form,

try this out,

Give vbap-waers as reference field for netwr

[I think waerk could be the refrence field check it out]

vbap-vrkme as a refrence field for kwmeng

hope this helps.

0 Kudos

THERE IS NO WAERS IN VBAP but one waerk in VBAP

glio_ad
Active Participant
0 Kudos

Hi.

In your structure, define 2 fields named WAERS of type WAERS and MEINS of type MEINS.

Then, go to the Currency/Quantity fields tab and in the Reference Table and field columns for the fields NETWR and KWMENG and:

for the KWMENG field ,assign as reference the MEINS field of your structure (ref. table)

for the NETWR field ,assign as reference the WAERS field of your structure (ref. table)

Reward if it helps please

Regards,

George

Former Member
0 Kudos

Hi,

Any amount field sholud be given its currency in the tab Currency/Quantity fields.

Give your table name as the refernce table and a currency key type field as refernce field.

Regards,

Renjith Michael.

piyush_mathur
Active Participant
0 Kudos

Hi Jyoti,

Because KWMENG and NETWR are Quantity and Currency fields, so you have to define the Reference table and Reference fileds.

Check Currency/Quantity fields TAB in SE11 and pass the appropiate reference fields.

Thanks

Piyush

Rewards Points, if helpfull

Former Member
0 Kudos

The fields you specified are currency and quantity fields.You should always tell the system to take the units for those fields referring a table field which contains the currency key or quantity units.You can refer a unit of measure field from any standard table if you don't have the unit of measure field in your structure.

Go to Currency and quantity fields tab in the structure.Type the reference field name for both the fields.

Former Member
0 Kudos

In SE11-> Currency/Quantity fields tab, there are 2 columns for Reference table and Reference fields.

You need to fill these 2 fields.

The Unit of measure field it has to refer to has to be specified.

You can see an example of this in table VBAP. Check the Reference table and Reference fields columns for KWMENG in this.

Edited by: S Rao on Jan 21, 2008 12:24 PM

Former Member
0 Kudos

Hello Jyotirmoy Deb ,

The fields u have mentioned are quantity and currency fields.

So you need to assign the refrence field for that.

FOr KWMENG refer Refrence table - EKPO Refrefrence Field - MEINS

FOr NETWR refer Refrence table - EKKO Refrefrence Field - WAERS

Cheers,

Vasanth

Former Member
0 Kudos

hi,

u just define ref table and field for those at the currency/quantity tab of the stucture,

for quantity field ref table is EKPO and ref field is MEINS,

fir currency field ref table is EKKO and field is WAERS

then it'll solve.

reward points if useful,

seshu.

Former Member
0 Kudos

Hi,

You must create unit field for currency/qty field.you ref MARA table.There is one field BRGEW(Gross Weight). Unit is maintaining for BRGEW in GEWEI(in mara table).You use same logic to ur table

L.Velu

Former Member
0 Kudos

hi,

If you are doing sales order related form,

Give vbap-waers as reference field for netwr

vbap-vrkme as a refrence field for kwmeng

These are given because netwr field which is related to currency can be of any form ie, dollars, rupees, etc.. and could be converted and the same thing is applicable for kwmeng field.

Hence reference field is required.

Hope this helps.

0 Kudos

Dear Jyotirmoy,

You must specify a reference table for fields containing quantities (data type QUAN) or currency amounts (data type CURR).

This reference table must contain a field with the format for the currency key (data type CUKY) or unit of measure (data type UNIT).

This field is called the reference field of the output field.

The reference field can also reside in the table itself.

Also pls check for the field NETWR in VBAK. Select netwr and go to the Currency/Quantity tab and check. u can able to see as follows

NETWR NETWR_AK CURR VBAK WAERK

VBAK - Reference Table

WAERK - Reference Field

Thanks & Regards

Raj

Former Member
0 Kudos

Hi ,

If you are declaring Quanitity field or amount field then you need to give the reference to these fileds .if you are using Quantity fiekd then you need to give the reference which will hold the values for measurements .

If you are declaring amount field trhen you need to give reference the field which will hold currency values..

for example in VBAP table KWMENG is quantity filed for this reference field is VRKME.

If you are creating Z table then this VRKME field should have been defined in you table,

Similarly for amount field in VBAP table check the NETPR filed . Foer this the reference field is WAERK.

I hope you understand this.

Reward if useful..

Thanks,

Nageswar