Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_AddressPhoneNumber" of service "API_BUSINESS_PARTNER". This service is part of the following communication scenarios: Business Partner, Customer and Supplier Integration (SAP_COM_0008). See https://api.sap.com/api/API_BUSINESS_PARTNER for more information.

Hierarchy

  • any
    • AddressPhoneNumber

Implements

Index

Properties

addressId

addressId: string

Address number. Internal key for identifying a Business Address Services address. For more information about the meaning and use of the address number and the Business Address Services concepts, see the function group SZA0 documentation. Maximum length: 10.

destinationLocationCountry

destinationLocationCountry: string

Country for telephone/fax number. The country for the telephone number or fax number is maintained here. This specification is used to determine the correct country code. A normalized form of the telephone number or fax number is then derived and stored in a field for a program-driven search.In most cases, the telephone number or fax number refers directly to an address.If this is the case, when a new number is created, the country of the address is proposed.If this is not the case (for example, with address-independent communication data for a business partner), the country from the user parameter LND is proposed (if it is maintained). If the user parameter LND is not maintained, the country of the company address assigned in the user master data is proposed.If the country of the address changes, the country of the corresponding telephone number and fax address is not changed automatically.Example: A business partner moves abroad.If the telephone number is for a permanent connection, the telephone number also changes when the business partner moves and has to be maintained again in the system.If the telephone number is for a mobile telephone and the number is retained, the original country for this telephone number also has to be retained and must not be changed automatically to the new country of the address. Maximum length: 3.

nullable

internationalPhoneNumber

internationalPhoneNumber: string

Complete number: dialling code+number+extension. The content of this field is automatically calculated by the system based on the telephone number and country code components. This field is therefore not to be filled when Business Address Services function modules are called. Maximum length: 30.

nullable

isDefaultPhoneNumber

isDefaultPhoneNumber: boolean

Standard Sender Address in this Communication Type. If several addresses are maintained for one communication type, the user in the SAP System can be reached under one of these addresses. One address can be set as theStandard Address. The standard address is used for the following functions:When sending using the SMTP nodein SAPconnect, the home address of the communication type used is the one set as the sender address. The recipient can see this address in the sender information and can also reply directly to this address. The standard address is also transferred and can be used for incoming status notifications, for example.When sending using an RFC node in SAPconnect, the standard address of the communication type used is the one set as the sender address. The structure defined in the case of the RFC does not permit another address to be transferred, so the standard address is used for incoming status notifications too.The SAP users have the addresses of their exchange P.O. boxes in their standard communication type 'Internet Mail' as the home address and their Internet address in the SAP system as their standard address. Example:Home address: Bernard.Brown@Company.comStandard address: Bernard.Brown@System.Company.comSending using an SMTP nodeThe home address of the communication type 'Internet Mail' (Bernard.Brown@Company.com) is used as the sender address. If a reply is sent to this address the user receives directly in the exchange postbox.Sending using the RFC nodeThe standard address of the communication type 'Internet Mail' (Bernard.Brown@System.Company.com) is used as the sender address. If a reply is sent to this address, it arrives back to the SAP system.Example using a mail system groupThe users should get all messages in their Microsoft Exchange postboxes. In the SAP system the mail system group is activated for this using the setting "Send Messages to the Home Address".The address settings of the SAP users remain unchanged:Home address: Bernard.Brown@Company.comStandard address: Bernard.Brown@System.Company.comSending using an SMTP nodeThe home address of the communication type 'Internet Mail' (Bernard.Brown@Company.com) is used as the sender address. If a reply is sent to this address the user receives directly in the exchange postbox.Sending using the RFC nodeThe standard address of the communication type 'Internet Mail' (Bernard.Brown@System.Company.com) is used as the sender address. If a reply is sent to this address it arrives back in the SAP system. It is then forwarded using the mail system group to the home address and the user gets it in the exchange postbox.

nullable

ordinalNumber

ordinalNumber: string

Sequence Number. Maximum length: 3.

person

person: string

Person number. Internal key for identifying a person in Business Address Services. For more information about the meaning and use of the person number and Business Address Services concepts, see the function group SZA0 documentation. Maximum length: 10.

phoneNumber

phoneNumber: string

Telephone no.: dialling code+number. Telephone number, consisting of dialling code and number, but without country dialling code. If the telephone number consists of a company number and an extension, the extension must be entered in the field extension.Telephone number, as it is dialled from within the country.For the number "01234/567-0" enter the following:Telephone: 01234/567Estension: 0For the number "01234/567-891" enter the following:Telephone: 01234/567Extension: 891For the number "012-345-678" (678 as extension) enter the following:Telepone: 012-345Extension: 678In the following cases enter the complete number (without country dialling code) in the field Telephone:No part of the number can be regarded as an extension.You are not sure which part of the number can be regarded as an extension. Maximum length: 30.

nullable

phoneNumberExtension

phoneNumberExtension: string

Telephone no.: Extension. Telephone extension number If the telephone number consists of a company number and an extension, the extension should be entered here.Enter the extension.The following rules apply for the format of telephone and fax numbers:The length of the entries in the field Telephone and Extension (Fax and Extension) cannot be more than 24 characters in total.Leading spaces are not allowed in the field Telephone or Fax or in the field Extension.Valid characters are:Numbers (0123456789)Letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ)Following other characters: /, (, ), - *, # and " " (space), but not as a leading space.If an + is entered as the first character, the system checks whether the specified number starts with a country code. If so, a warning message is displayed because the country code is automatically determined by the system and should not be stored in the Telephone number (Fax number) field.If an & is entered as the first character, the automatic check and formatting of the telephone number (fax number), as well as the determination of the country code, is suppressed.For the number "01234/567-0" enter the following:Telephone: 01234/567Estension: 0For the number "01234/567-891" enter the following:Telephone: 01234/567Extension: 891For the number "012-345-678" (678 as extension) enter the following:Telepone: 012-345Extension: 678In the following cases enter the complete number (without country dialling code) in the field Telephone:No part of the number can be regarded as an extension.You are not sure which part of the number can be regarded as an extension. Maximum length: 10.

nullable

phoneNumberType

phoneNumberType: string

Indicator: Telephone is a Mobile Telephone. This field specifies whether the telephone number is a mobile telephone number. ' ' : The telephone number is a fixed-line telephone'1' : The telephone number is the standard fixed-line telephone'2' : The telephone nubmer is a mobile telephone'3' : The telephone number is the standard mobile telephoneEither the standard fixed-line telephone number or the standard mobile telephone number is also the standard telephone number (FLGDEFAULT = 'X').In older data sets, this field may have also have the value ' ' for the standard fixed-line telephone. In this case, however, FLGDEFAULT is always 'X'.In Customizing, you can specify whether the SMS-compatible indicator is to be proposed for new mobile telephone numbers created in dialog by choosing General Settings -> Set countries -> Define Mobile Telephone Attributes for each country. Maximum length: 1.

nullable

Static ADDRESS_ID

ADDRESS_ID: StringField<AddressPhoneNumber> = new StringField('AddressID', AddressPhoneNumber, 'Edm.String')

Static representation of the addressId property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static ALL_FIELDS

ALL_FIELDS: any = new AllFields('*', AddressPhoneNumber)

All fields selector.

Static DESTINATION_LOCATION_COUNTRY

DESTINATION_LOCATION_COUNTRY: StringField<AddressPhoneNumber> = new StringField('DestinationLocationCountry', AddressPhoneNumber, 'Edm.String')

Static representation of the destinationLocationCountry property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static INTERNATIONAL_PHONE_NUMBER

INTERNATIONAL_PHONE_NUMBER: StringField<AddressPhoneNumber> = new StringField('InternationalPhoneNumber', AddressPhoneNumber, 'Edm.String')

Static representation of the internationalPhoneNumber property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static IS_DEFAULT_PHONE_NUMBER

IS_DEFAULT_PHONE_NUMBER: BooleanField<AddressPhoneNumber> = new BooleanField('IsDefaultPhoneNumber', AddressPhoneNumber, 'Edm.Boolean')

Static representation of the isDefaultPhoneNumber property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static ORDINAL_NUMBER

ORDINAL_NUMBER: StringField<AddressPhoneNumber> = new StringField('OrdinalNumber', AddressPhoneNumber, 'Edm.String')

Static representation of the ordinalNumber property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PERSON

PERSON: StringField<AddressPhoneNumber> = new StringField('Person', AddressPhoneNumber, 'Edm.String')

Static representation of the person property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PHONE_NUMBER

PHONE_NUMBER: StringField<AddressPhoneNumber> = new StringField('PhoneNumber', AddressPhoneNumber, 'Edm.String')

Static representation of the phoneNumber property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PHONE_NUMBER_EXTENSION

PHONE_NUMBER_EXTENSION: StringField<AddressPhoneNumber> = new StringField('PhoneNumberExtension', AddressPhoneNumber, 'Edm.String')

Static representation of the phoneNumberExtension property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PHONE_NUMBER_TYPE

PHONE_NUMBER_TYPE: StringField<AddressPhoneNumber> = new StringField('PhoneNumberType', AddressPhoneNumber, 'Edm.String')

Static representation of the phoneNumberType property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: any[] = [AddressPhoneNumber.ADDRESS_ID,AddressPhoneNumber.PERSON,AddressPhoneNumber.ORDINAL_NUMBER,AddressPhoneNumber.DESTINATION_LOCATION_COUNTRY,AddressPhoneNumber.IS_DEFAULT_PHONE_NUMBER,AddressPhoneNumber.PHONE_NUMBER,AddressPhoneNumber.PHONE_NUMBER_EXTENSION,AddressPhoneNumber.INTERNATIONAL_PHONE_NUMBER,AddressPhoneNumber.PHONE_NUMBER_TYPE]

All fields of the AddressPhoneNumber entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_BUSINESS_PARTNER"

Default url path for the according service.

Static _entityName

_entityName: string = "A_AddressPhoneNumber"

Technical entity name for AddressPhoneNumber.

Static _keyFields

_keyFields: Array<Selectable<AddressPhoneNumber>> = [AddressPhoneNumber.ADDRESS_ID, AddressPhoneNumber.PERSON, AddressPhoneNumber.ORDINAL_NUMBER]

All key fields of the AddressPhoneNumber entity.

Static _keys

_keys: any = AddressPhoneNumber._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property AddressPhoneNumber.

Static _serviceName

_serviceName: string = "API_BUSINESS_PARTNER"

Technical service name for AddressPhoneNumber.

Methods

Static builder

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity AddressPhoneNumber.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<AddressPhoneNumber>

    A builder that constructs instances of entity type AddressPhoneNumber.

Static requestBuilder

  • Returns a request builder to construct requests for operations on the AddressPhoneNumber entity type.

    Returns AddressPhoneNumberRequestBuilder

    A AddressPhoneNumber request builder.