Skip to content

/AWS1/CL_PTTHEADQUARTERS

Contains the partner's headquarters location using International Organization for Standardization (ISO) 3166 country and subdivision codes.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_countrycode TYPE /AWS1/PTTCOUNTRYCODE /AWS1/PTTCOUNTRYCODE

The ISO 3166-1 alpha-2 country code of the partner's headquarters. For example, US, BR, or DE.

iv_subdivisioncode TYPE /AWS1/PTTSUBDIVISIONCODE /AWS1/PTTSUBDIVISIONCODE

The subdivision portion of the ISO 3166-2 code for the partner's headquarters (for example, SP from BR-SP, NSW from AU-NSW, or 13 from JP-13).


Queryable Attributes

CountryCode

The ISO 3166-1 alpha-2 country code of the partner's headquarters. For example, US, BR, or DE.

Accessible with the following methods

Method Description
GET_COUNTRYCODE() Getter for COUNTRYCODE, with configurable default
ASK_COUNTRYCODE() Getter for COUNTRYCODE w/ exceptions if field has no value
HAS_COUNTRYCODE() Determine if COUNTRYCODE has a value

SubdivisionCode

The subdivision portion of the ISO 3166-2 code for the partner's headquarters (for example, SP from BR-SP, NSW from AU-NSW, or 13 from JP-13).

Accessible with the following methods

Method Description
GET_SUBDIVISIONCODE() Getter for SUBDIVISIONCODE, with configurable default
ASK_SUBDIVISIONCODE() Getter for SUBDIVISIONCODE w/ exceptions if field has no val
HAS_SUBDIVISIONCODE() Determine if SUBDIVISIONCODE has a value