Fields of the Postal Address Structure

The checks for the postal fields correspond for address type 1 (company address) and 2 (person address).

Country

The Country (field COUNTRY) is checked against table T005, as is the other country for the postal code (field PO_BOX_CTY). The texts "Name of country" and "Nationality" are stored in table T005T, which is language-dependent. As of SAP Web Application Server 6.10, additional 50-character text fields are available for the country name and nationality.

Region

The field name "Region" for the field REGION is used as a collective term for the subdivisions of a country, which are known as provinces, Federal states, states, cantons, counties, or similar, depending on the country.

The region, together with the country, are checked against table T005S, as is the other region for the postal code (field PO_BOX_REG). The name of the region is stored in table T005U, which is language-dependent.

Time Zone

The time zone (field TIME_ZONE) is checked against check table TTZZ. The texts for the time zones are stored in text table TTZZT, which is language-dependent.

If the time zone for the city is stored in the SAP regional structure, the value is determined from the city entry and returned in the address.

If the time zone field in the address is already filled however, it is not overwritten. Existing entries that are incorrect are not corrected. This also applies to the entries from the following checks for which the field contents are not overwritten (for example, determination of the Transport zone or the Tax Jurisdiction Code of the regional structure).

In the address check, the appropriate value for the time zone is determined from the Country, Region, and Postal code fields using the function module TZON_LOCATION_TIMEZONE. Again, values that are already filled are not overwritten.

The function module TZON_LOCATION_TIMEZONE analyzes the Customizing tables TTZ5, TTZ5S and TTZ5Z (assignment of time zones to country, region, and postal codes), which can be maintained in Customizing by choosing General Settings ® Time Zones.

Transport Zone

The transport zone is checked against check table TZONE. The texts for the transport zones are stored in text table TZONT, which is language-dependent.

If the transport zone for the city is stored in the SAP regional structure, the value is determined from the city entry and returned in the address. If the address field is already filled however, it is not overwritten.

Tax Jurisdiction Code

The function module JURISDICTION_DETERMINE_CHECK is called to check or determine the Tax Jurisdiction Code. This function module encapsulates these functions with regard to address management.

This function module is implemented differently in ERP and in SAP CRM/BBP. In both cases, external software can be connected using the CA-TAX interface. In ERP, the table TTXJ can be used as a check table.

The Customizing settings are defined in ERP in the Customizing tables TTXD and TTXC, whereas they are defined in CRM/BBP in the tables CRM_TAX_JP; CRM_TAX_P and CRM_TAX_F.

If the Tax Jurisdiction Code is stored in the SAP regional structure for the city, street, or street section, it is determined and returned in the address record. The value for the smaller subdivision takes precedence over a value for a larger division (Street section - Street - City). An existing value is not overwritten.

The regional structure check occurs before the function module JURISDICTION_DETERMINE_CHECK is called. The following address fields are copied to the function module JURISDICTION_DETERMINE_CHECK: Tax Jurisdiction Code, Country, Region, Postal Code, City, and County (the value for "County" is stored in the address in the "District"(CITY2) field). The function module JURISDICTION_DETERMINE_CHECK can complete missing field values when external software is connected.

When external software is connected to the CA-TAX interface in ERP, Customizing settings can be made (table TTXD) so that the function module JURISDICTION_DETERMINE_CHECK checks an existing Tax Jurisdiction Code against the external software first. If the value of the external software is recognized as being invalid, the valid Tax Jurisdiction Code stored in the address data is determined using the external software.

If the Tax Jurisdiction Code cannot be determined uniquely from the address data, the user can choose the value in a dialog window in dialog. When processing the determination without dialog, an error message is returned if the Tax Jurisdiction Code is not unique.

This function is delivered by support package in R/3 Releases 4.5B to 4.6C (compare SAP Note 381336).

Regional Structure Grouping

The regional structure grouping is a subdivision of the regional structure. It is checked against check table ADRREGGRP. The relevant texts are stored in text table ADRREGGRPT, which is language-dependent.

If the regional structure grouping is stored in the SAP regional structure for the city, street, or street section, it is determined and returned in the address record.

The value for the smaller subdivision takes precedence over a value for a larger division (Street section - Street - City).

An existing value is not overwritten.

Reasons for Undeliverability

The fields Reason for undeliverability for street address and Reason for undeliverability for postal code address are checked against check table TSAD12. The texts for the reasons for undeliverability are stored in table TSAD12T.

The use of the dialog element "Dropdown list" in dialog ensures that only valid reasons for undeliverability can be chosen.

Correspondence Language

The correspondence language for a company address or for a person is checked against the language table T002. This language table is not a Customizing table but a system table. The relevant texts can be found in table T002T.

Source/Origin of Address

The field ORIGIN (source of address/person) is not used and not checked. Tables TSAD6 and TSAD6T are not used.

Length of the Street, City, and District Fields

Due to international requirements, the City and District fields are each 40 characters long and the Street field is 60 characters long. The length of these fields can also be used.

In some applications however, only 35 characters can be processed because reference structures with 35 character fields are also used. The length of the Street, City, and District fields is therefore checked.

If the content of a field is longer than 35 characters, a warning is output: The relevant T00 message is AM228.

The message type of this message can be changed in Customizing: Call transaction SM30 and enter V_T100C as the view name. Choose "Maintain" and specify the message area AM. The wording of the message can be changed as required (error message or info message/success message) or the message can be deactivated completely, using this setting.

See also SAP Note 146565.