Skip to content

/AWS1/CL_SE2=>CREATECONTACT()

About CreateContact

Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list.

Method Signature

IMPORTING

Required arguments:

IV_CONTACTLISTNAME TYPE /AWS1/SE2CONTACTLISTNAME /AWS1/SE2CONTACTLISTNAME

The name of the contact list to which the contact should be added.

IV_EMAILADDRESS TYPE /AWS1/SE2EMAILADDRESS /AWS1/SE2EMAILADDRESS

The contact's email address.

Optional arguments:

IT_TOPICPREFERENCES TYPE /AWS1/CL_SE2TOPICPREFERENCE=>TT_TOPICPREFERENCELIST TT_TOPICPREFERENCELIST

The contact's preferences for being opted-in to or opted-out of topics.

IV_UNSUBSCRIBEALL TYPE /AWS1/SE2UNSUBSCRIBEALL /AWS1/SE2UNSUBSCRIBEALL

A boolean value status noting if the contact is unsubscribed from all contact list topics.

IV_ATTRIBUTESDATA TYPE /AWS1/SE2ATTRIBUTESDATA /AWS1/SE2ATTRIBUTESDATA

The attribute data attached to a contact.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SE2CREATECONTACTRSP /AWS1/CL_SE2CREATECONTACTRSP