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 with structure

Former Member
0 Likes
1,946

Hi. I have a problem. I'm trying to create a structure in SE11. I give one of components (DMBTR1) of type DMBTR.

While activation SAP returns: <i>ZWOP_EXAMPLE_STR-DMBTR1 (specify reference table AND reference field) </i>

When I set for that field

Reference table : BSID

Ref. field : DMBTR

SAP returns: <i>Reference field BSID-DMBTR for ZWOP_EXAMPLE_STR-WRBTR2 has incorrect type </i>

Could You help me with that? Greetings. P.

1 ACCEPTED SOLUTION
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
1,233

Hi,

The field is of type CURR that is currency for currency you need to give Ref table and Ref field of type CUKY.

So give it as BSID-WAERS.

Regards,

Sesh

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,233

Please set the reference field as BSID-WAERS, the currency key field.

REgards,

Rich Heilman

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
1,234

Hi,

The field is of type CURR that is currency for currency you need to give Ref table and Ref field of type CUKY.

So give it as BSID-WAERS.

Regards,

Sesh

Read only

Former Member
0 Likes
1,233

Do mention in the reffrence table place as <b>TCURC</b> and Reffrence field as <b>WEARS</b>.

reward points if it is usefull....

Girish

Read only

Former Member
0 Likes
1,233

<b>Reference Fields and Reference Tables</b>

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

This reference table must contain a field with the format for the <b>currency key (data type CUKY) or unit of measure (data type UNIT</b>). This field is called the reference field of the output field. The reference field can also reside in the table itself.

A field is only assigned to the reference field at program runtime. For example, if a field is filled with currency amounts, the corresponding currency is determined from the assigned reference field, that is the value entered in this field at the moment defines the currency.

reward points if it is usefull ...

Girish