Why the difference between name1 in KNA1 and ADDR1
Hi guys, I´m a CRM guy but I´m working on a spec to create a customer in ECC and other one to get the master data, so I´m facing with some kind of problem where I found the field KNA1-NAME1 with a length of 35 and the field ADDR1-NAME1 via XD01 - 02 etc with a length of 40, if I´m referring to the client master data and I want to create one client via a WebService I think I must use the KNA1, why the ADDR1-NAME1 is longer and it refeers also to the client name !?
Thanks for your time.
Jose Antonio Martinez replied
When you enter more than 35 characters in XD01/XD02 you receive a warning, because in some functions is only used 35 of characters, but this is only a warning, the user can enter 40 characters.
This is the SAP text for this warning.
The use of the last 5 characters in field NAME1 is restricted
In this form the data can be saved and used up to the complete length of 40 characters.
In some scenarios, the system only uses the first 35 characters of name fields, of the fields 'Street', 'City', 'District', as well as the first 10 characters of the field 'Search Term 1'.
These cases are:
- ALE: the address data can only be transferred with 35 characters (search term 1 only 10 characters) in the case of some ALE message types (IDOC types) for reasons of compatibility with other releases and components. The message types in question are:
The problems do not occur if the relevant address data in IDOC ADRMAS is sent in each case, together with these message types.
- EDI: the address data can only be transferred with 35 characters (search term 1 only 10 characters) with the standard UN/EDIFACT for reasons of compatibility.
- Print: addresses are formatted with only 35 characters in some print forms for standard envelope windows. If the address number is in the address output structures, you can output the address fields in full length in forms.
For my experience is better to use ADRC table instead KNA1, because user use all the characters (40).
And for your last question in ADRC you can see the total characteres for NAME 1 and NAME2. Each customer will have one ADRC registry.