Skip to content

/AWS1/CL_PP2CARRIERLOOKUPRSLT

CarrierLookupResult

CONSTRUCTOR

IMPORTING

Required arguments:

iv_e164phonenumber TYPE /AWS1/PP2E164PHONENUMBERTYPE /AWS1/PP2E164PHONENUMBERTYPE

The phone number in E164 format, sanitized from the original input by removing any formatting characters.

iv_phonenumbertype TYPE /AWS1/PP2PHONENUMBERTYPE /AWS1/PP2PHONENUMBERTYPE

Describes the type of phone number. Valid values are: MOBILE, LANDLINE, OTHER, and INVALID. Avoid sending SMS or voice messages to INVALID phone numbers, as these numbers are unlikely to belong to actual recipients.

Optional arguments:

iv_dialingcountrycode TYPE /AWS1/PP2DIALINGCNTRYCODETYPE /AWS1/PP2DIALINGCNTRYCODETYPE

The numeric dialing code for the country or region where the phone number was originally registered.

iv_isocountrycode TYPE /AWS1/PP2ISOCOUNTRYCODE /AWS1/PP2ISOCOUNTRYCODE

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.

iv_country TYPE /AWS1/PP2STRING /AWS1/PP2STRING

The name of the country where the phone number was originally registered.

iv_mcc TYPE /AWS1/PP2MCCTYPE /AWS1/PP2MCCTYPE

The phone number's mobile country code, for mobile phone number types

iv_mnc TYPE /AWS1/PP2MNCTYPE /AWS1/PP2MNCTYPE

The phone number's mobile network code, for mobile phone number types.

iv_carrier TYPE /AWS1/PP2STRING /AWS1/PP2STRING

The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.


Queryable Attributes

E164PhoneNumber

The phone number in E164 format, sanitized from the original input by removing any formatting characters.

Accessible with the following methods

Method Description
GET_E164PHONENUMBER() Getter for E164PHONENUMBER, with configurable default
ASK_E164PHONENUMBER() Getter for E164PHONENUMBER w/ exceptions if field has no val
HAS_E164PHONENUMBER() Determine if E164PHONENUMBER has a value

DialingCountryCode

The numeric dialing code for the country or region where the phone number was originally registered.

Accessible with the following methods

Method Description
GET_DIALINGCOUNTRYCODE() Getter for DIALINGCOUNTRYCODE, with configurable default
ASK_DIALINGCOUNTRYCODE() Getter for DIALINGCOUNTRYCODE w/ exceptions if field has no
HAS_DIALINGCOUNTRYCODE() Determine if DIALINGCOUNTRYCODE has a value

IsoCountryCode

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.

Accessible with the following methods

Method Description
GET_ISOCOUNTRYCODE() Getter for ISOCOUNTRYCODE, with configurable default
ASK_ISOCOUNTRYCODE() Getter for ISOCOUNTRYCODE w/ exceptions if field has no valu
HAS_ISOCOUNTRYCODE() Determine if ISOCOUNTRYCODE has a value

Country

The name of the country where the phone number was originally registered.

Accessible with the following methods

Method Description
GET_COUNTRY() Getter for COUNTRY, with configurable default
ASK_COUNTRY() Getter for COUNTRY w/ exceptions if field has no value
HAS_COUNTRY() Determine if COUNTRY has a value

MCC

The phone number's mobile country code, for mobile phone number types

Accessible with the following methods

Method Description
GET_MCC() Getter for MCC, with configurable default
ASK_MCC() Getter for MCC w/ exceptions if field has no value
HAS_MCC() Determine if MCC has a value

MNC

The phone number's mobile network code, for mobile phone number types.

Accessible with the following methods

Method Description
GET_MNC() Getter for MNC, with configurable default
ASK_MNC() Getter for MNC w/ exceptions if field has no value
HAS_MNC() Determine if MNC has a value

Carrier

The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.

Accessible with the following methods

Method Description
GET_CARRIER() Getter for CARRIER, with configurable default
ASK_CARRIER() Getter for CARRIER w/ exceptions if field has no value
HAS_CARRIER() Determine if CARRIER has a value

PhoneNumberType

Describes the type of phone number. Valid values are: MOBILE, LANDLINE, OTHER, and INVALID. Avoid sending SMS or voice messages to INVALID phone numbers, as these numbers are unlikely to belong to actual recipients.

Accessible with the following methods

Method Description
GET_PHONENUMBERTYPE() Getter for PHONENUMBERTYPE, with configurable default
ASK_PHONENUMBERTYPE() Getter for PHONENUMBERTYPE w/ exceptions if field has no val
HAS_PHONENUMBERTYPE() Determine if PHONENUMBERTYPE has a value