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 adding fields in structure

former_member212705
Active Participant
0 Likes
3,294

Hi Experts,

I am trying to add some fields in my structure (ZXXXXXXXX) but i am getting following message.

Field name HCOORD does not agree with proposed name CUST_NO for IDOC table

Message no. DT250

Diagnosis

You chose a field name which does not agree with the name proposed for this field.

System Response

You are warned against using this field name. However, the table can also be activated with the field name which differs from the one proposed.

Procedure

If possible, change the field name to the proposed name.

The default field name should only be changed for exceptions and only by the relevant application.

I have checked where used list of this structure also but no idoc reference is found. Please help me.

Regards,

A.Trivedi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,232

Ashish,

Just check, this is the warning and not an error. Please go to SE11--> Data Element and enter KUNN2 and display. Then go to tab Further Characteristics, where you will find the default component name as CUST_NO. This is the default name for the Data Element. You can have your field name, which the message says. If you change your field name to CUST_NO, then this warning will not come. Its just that this data element is having the default component name.

Regards,

Hardik Mehta

10 REPLIES 10
Read only

former_member194152
Contributor
0 Likes
2,232

Are you using any append structure in standard table to add fields if yes then you need to change field name fromHCOORD to ZZHCOORD, or ZZ<FIELD NAME> as standard practice to include custom fields in custom table.

Read only

0 Likes
2,232

Hi Gagan,

No i am appending in zstructure only.

Regards,

A.Trivedi

Read only

former_member212705
Active Participant
0 Likes
2,232

One more thing i am giving Hcoord of type KUNN2.

Read only

Former Member
0 Likes
2,232

Hello Ashish,

Field HCOORD you are trying to add in custom structure, then what is cust_no in error message. Are you trying to map HCOORD with cust_no. ?

Also did you try with name ZHCOORD rather than HCOORD.

Regards,

Deepti

Read only

0 Likes
2,232

HI Deepti,

Actually Cust_No is the default component name of data element KUNN2 that is used in BAPI. This is  Z Structure so should i need to give name with Z? I am just referring data element Kunn2

Regards,

A.Trivedi

Read only

0 Likes
2,232

I have tried in my system but i not getting error for field HCOORD referring to Kunn2. However try predefined data type of char10 or use some other data element of char10 and see if you are facing same issue.

Regards,

Deepti

Read only

0 Likes
2,232

Ya i know in that case error will not come. But i have to use KUNN2.

Read only

Former Member
0 Likes
2,232

Ashish,

You do not have to start the field name with Z, you can get your own field name. The main error is not with the field name, you may have changed the data element. First activate the changed data element, and then try to reactivate the structure.

BTW, is this an error or warning? To the best of my knowledge this is the warning and not an error. This can be ignored, if this is the warning.

Regards,

Hardik Mehta

Read only

0 Likes
2,232

Hi Hardik,

Data element is KUNN2. I am also not able to get the answer.

Regards,

A.Trivedi

Read only

Former Member
0 Likes
2,233

Ashish,

Just check, this is the warning and not an error. Please go to SE11--> Data Element and enter KUNN2 and display. Then go to tab Further Characteristics, where you will find the default component name as CUST_NO. This is the default name for the Data Element. You can have your field name, which the message says. If you change your field name to CUST_NO, then this warning will not come. Its just that this data element is having the default component name.

Regards,

Hardik Mehta