‎2012 Nov 01 6:39 AM
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
‎2012 Nov 01 10:44 AM
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
‎2012 Nov 01 6:45 AM
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.
‎2012 Nov 01 8:20 AM
Hi Gagan,
No i am appending in zstructure only.
Regards,
A.Trivedi
‎2012 Nov 01 9:10 AM
‎2012 Nov 01 9:12 AM
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
‎2012 Nov 01 9:19 AM
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
‎2012 Nov 01 9:26 AM
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
‎2012 Nov 01 9:46 AM
Ya i know in that case error will not come. But i have to use KUNN2.
‎2012 Nov 01 10:27 AM
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
‎2012 Nov 01 10:35 AM
Hi Hardik,
Data element is KUNN2. I am also not able to get the answer.
Regards,
A.Trivedi
‎2012 Nov 01 10:44 AM
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