You are on page 1of 2

Country-Specific ZIP Code Mapping?

Answers: From 5.0.4.0B/E Sabrix SAP integration onwards, you can customize the zip code
mappings and also suppress address elements from sending to Sabrix for address
determinations.
When SAP sends address master data to RFC_DETERMINE_JURISDICTION the address fields
are mapped as follows:

SAP ADDRESS FIELD SAP RFC FIELD COUNTRY


COUNTRY REGION STATE DISTRICT COUNTY CITY
CITY POSTCODE ZIPCODE

The SabrixConnection then maps these fields for use with the Sabrix AddressValidation based on
the standard mapping provided at Mapping for RFC_DETERMINE_JURISDICTION, (page 101)
in SabrixConnetSAPInstallGuide5.0.4.0E . This mapping might lead to some errors in countries
where there is a different mapping than the one SAP has implemented. To overcome this, you
can use the jcMappingsExtension.xml file to configure how the ZIPCODE field should be parsed
and which fields the SabrixConnection should take into account when sending data to Sabrix.
A Puerto Rico sample is below (this has been already implemented in the SabrixConnection as
standard):
<zipCodeMappingcountry="PR"postalLength="5"geoLength="4"
overrideSuppliedCountry="false"
overrideSuppliedState="false"
overrideSuppliedCounty="true"
overrideSuppliedCity="false"
overrideSuppliedZipcode="false" />

In the above sample, the split of the ZIPCODE is based on a length of 5 for the postal code and a
length of 4 for the geocode. This is done based on logic that the ZIPCODE is always parsed from
the beginning, where the geocode is started from the end of the ZIPCODE string. If there is an
overlap between the two parsed strings, an error will be generated. Elements such a dash will be
omitted.
Also in the sample, the COUNTY field from SAP has been set to be ignored
(overrideSuppliedCounty="true"). This is needed in Puerto Rico since the information stored in
the SAP District field of an address represents urbanization information, not County/Municipo
information. Sabrix doesn't store urbanizations in the zone tree; therefore that information should
not be sent to Sabrix.
Another example of MEXICO.

The above example, the county value and ZIP code value will not be sent to Sabrix Solution for
address determination.

In cases where a SAP address value isn't sent to Sabrix, it will not be changed or

overridden by the jurisdiction determination process; it will be preserved as originally


entered in the address.

You might also like