CL_CAM_ADDRESS_BCS

Definition

Class that has implemented the interfaces IF_RECIPIENT_BCS and IF_SENDER_BCS.

Use

Use one of the following methods to create an instance of this class, depending on the communication method. The methods return a reference to the Business Address Services address created.

CREATE_INTERNET_ADDRESS

Import parameters

I_ADDRESS_STRING Internet mail address, for example pia.brown@company.com

I_ADDRESS_NAME (optional) Name that is displayed for the Internet address, for example Pia Brown

Return parameters

RESULT Internet address that can be used by BCS as a recipient (reference to an instance of the class CL_CAM_ADDRESS_BCS)

CREATE_FAX_ADDRESS

Import parameters

I_COUNTRY Country key (values from the table T005, for example DE for Germany)

I_NUMBER Fax number as combination of area code, general prefix, and extension, for example 06227733333 (special characters are ignored)

Return parameters

RESULT Fax address that can be used by BCS as a recipient (reference to an instance of the class CL_CAM_ADDRESS_BCS)

CREATE_SMS_ADDRESS

Import parameters

I_SERVICE Key of pager service (values from the table TSAPD)

I_NUMBER Pager number or SMS number, for example 0171/200000 (special characters are ignored)

Return parameters

RESULT SMS address that can be used by BCS as a recipient (reference to an instance of the class CL_CAM_ADDRESS_BCS)

CREATE_RML_ADDRESS

Import parameters

The RML address is made up of the import parameters (<SAP:System name>:<Client>:<SAP user name>).

I_SYST Name of the SAP System

I_CLIENT Client

I_USERNAME Name of the user

Return parameters

RESULT RML address that can be used by BCS as a recipient (reference to an instance of the class CL_CAM_ADDRESS_BCS)