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

Problem in creating structure !

Former Member
0 Likes
648

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
Read only

Former Member
0 Likes
606

Hi,

KWMENG should have a reference to a UNIT field and NETWR to a CURRENCY field. Just add eg. VRKME and WAERS as fields and in structure definition hit tab Currency/Quantity fields to reference VRKME for KWMENG and WAERS for NETWR.

Regards,

John.

4 REPLIES 4
Read only

Former Member
0 Likes
606

for a quantity field u hav to give its unit field as reference field.......

Read only

Former Member
0 Likes
607

Hi,

KWMENG should have a reference to a UNIT field and NETWR to a CURRENCY field. Just add eg. VRKME and WAERS as fields and in structure definition hit tab Currency/Quantity fields to reference VRKME for KWMENG and WAERS for NETWR.

Regards,

John.

Read only

0 Likes
606

Thanks John. it worked well

Read only

Former Member
0 Likes
606

Hi,

Take the structure in se11.

add two more fields in your structure.

1. WAERK of data type CURR . No of characters 15.

2. Zunit of data type QUAN and number of characters 8 with 4 decimal points.

Then go to Currency/Quantity Fields tab.

1.Give your structure name as reference table and field as WAERK for NETWR.

2.Give your structure name as reference table and field as Zunit for KWMENG.

Pls reward points if solved your issue.

Regards,

Renjith Michael.