/AWS1/IF_SEB=>REGISTERMEMBERTOADDRESSLIST()¶
About RegisterMemberToAddressList¶
Adds a member to an address list.
Method Signature¶
METHODS /AWS1/IF_SEB~REGISTERMEMBERTOADDRESSLIST
IMPORTING
!IV_ADDRESSLISTID TYPE /AWS1/SEBADDRESSLISTID OPTIONAL
!IV_ADDRESS TYPE /AWS1/SEBADDRESS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sebregmembertoaddre01
RAISING
/AWS1/CX_SEBACCESSDENIEDEX
/AWS1/CX_SEBCONFLICTEXCEPTION
/AWS1/CX_SEBRESOURCENOTFOUNDEX
/AWS1/CX_SEBSERVICEQUOTAEXCDEX
/AWS1/CX_SEBTHROTTLINGEX
/AWS1/CX_SEBVALIDATIONEX
/AWS1/CX_SEBCLIENTEXC
/AWS1/CX_SEBSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_addresslistid TYPE /AWS1/SEBADDRESSLISTID /AWS1/SEBADDRESSLISTID¶
The unique identifier of the address list where the address should be added.
iv_address TYPE /AWS1/SEBADDRESS /AWS1/SEBADDRESS¶
The address to be added to the address list.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sebregmembertoaddre01 /AWS1/CL_SEBREGMEMBERTOADDRE01¶
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->registermembertoaddresslist(
iv_address = |string|
iv_addresslistid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.