Cloud for Customer Integration – Code List Mapping of Region Codes
I just have been asked on how does the code list mapping for Region Code works. The problem is that a region code may occur multiple times. In order to uniquely identify a regional code it has to be considered in the context of the country
Region Code Table in Fine Tuning –> region Code “MA” has multiple occurrences
In the code list mapping the RegionCode allows to specify a local context in the mapping rule section. The context for the region code is the country.
The region code comes with a wild card – the context for the country is ‘ * ‘.
In case you need to specify an individual code list mapping for a specific country. You can add an additional mapping rule “Map individual Codes” and specify the target country in the field local context.
For that mapping rule (specified with the country as context) mappings for all regions need to be specified. A missing mapping for a region code used in the payload leads to a mapping error exception – the request is not being processed.
Individual regional mapping only needs to be maintained for the specified countries. Hence all other countries w/o any individual mapping rule, the local and remote codes are equally mapped.
Code List Mapping for Region Code. In addition to the wildcard entry to rules with the country context for Germany and US are maintained. For US only one mapping entry for New York exists. If any further states are used in the payload, a mapping error will be thrown.
The screenshot shows the Web Service Message Monitor of the Administrator Menu. One request could not further be processed due to a mapping error. Reason for the error was a missing regional mapping for the Region Code 02.
The screenshot shows the details of the payload of a Business Partner Address Outbound Request from C4C to ERP. The Region Code BF is used for the country US. The region code results from the mapping table where the external code BF is maintained for the local code NY.
Hello Bernd Fleddermann
thanks for the blog,
i have a issue with this theme, we integrate C4C with SAP Business One, at the time of updating anccount from C4C, I should travel the modification and replicate in SAP B1, but it does not keep throwing me the following error:
"External code for RegionCode 01 de grupo asignac. 03 could not be determined"
I made the mapping of region codes in the mapping in the conxteto for Honduras (HN)
could you help me?
You saved my precious time! 🙂
Thanks for that helpful explanation!
Hello Bernd,
in our Tenant we maintained "Local and Remote Codes are Equal" to * and also tried with "Map Individual" to * but we are still getting this error "Solve Configuration Issue in Code List Mapping for field RegionCode with value SN" .
so, i am confused now, Does * has any meaning? or is it like we have to maintain country context and then maintain Region codes for every country context.
we want to avoid maintaining such country contexts and Region codes, the reason being it would be become running list, if miss some Region code then we have to go with Change request for every single change.
waiting to hear from you
Thanks
Chandu