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

Error while defining afield in Structure

Former Member
0 Likes
626

Hi All..

I want to define a field MENGE ( Quantity and the lenght should be 8 and should hold 3 Decimals).

Hence i opted for a Data element CATSXT_DEFLT which is having QUAN, Length-8 and Decimal-3.

But while activating the structure, the system is prompting Error message as follow...

Diagnosis

You must specify reference tables and reference fields for fields containing currency amounts or quantity data. You have specified either only the reference field or the reference table and have not maintained either entry.

Procedure

Add the missing entry. You can do this with the single field maintenance function of the table.

Please Help me, as it is very urgent....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
549

Hi Pavan,

if you are specifying a Data element of QUANtity field,

then click on the TAB and specify the reference table and field name.

Specify the field from the master table which uses the data element CATSXT_DEFLT.

Best regards,

Prashant

Pls. mark points for helpful answers

3 REPLIES 3
Read only

anversha_s
Active Contributor
0 Likes
549

hi,

try to find out a field in table

having this 'CATSXT_DEFLT' type.

then in the structure.

declare like this.

<b>tables : table_name

MENGE like table_name-field_name.</b>

do this.

<b>tables : TCATX_COMPONENTS.

data : begin of ..

MENGE like TCATX_COMPONENTS-DEFLT,

endof ..</b>

rgds

anver

pls mark hlpful answers

Message was edited by: Anversha s

Read only

Former Member
0 Likes
550

Hi Pavan,

if you are specifying a Data element of QUANtity field,

then click on the TAB and specify the reference table and field name.

Specify the field from the master table which uses the data element CATSXT_DEFLT.

Best regards,

Prashant

Pls. mark points for helpful answers

Read only

Former Member
0 Likes
549

Hi,

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.

In the QUANTITY/CURRENCY section, enter <b>BSEG</b> inthe filed<b> MEINS</b>

Hope it is clear for you

Regards

Sudheer