Skip to content

/AWS1/CL_SE2=>LISTCONTACTS()

About ListContacts

Lists the contacts present in a specific contact list.

Method Signature

IMPORTING

Required arguments:

IV_CONTACTLISTNAME TYPE /AWS1/SE2CONTACTLISTNAME /AWS1/SE2CONTACTLISTNAME

The name of the contact list.

Optional arguments:

IO_FILTER TYPE REF TO /AWS1/CL_SE2LISTCONTACTSFILTER /AWS1/CL_SE2LISTCONTACTSFILTER

A filter that can be applied to a list of contacts.

IV_PAGESIZE TYPE /AWS1/SE2MAXITEMS /AWS1/SE2MAXITEMS

The number of contacts that may be returned at once, which is dependent on if there are more or less contacts than the value of the PageSize. Use this parameter to paginate results. If additional contacts exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional contacts.

IV_NEXTTOKEN TYPE /AWS1/SE2NEXTTOKEN /AWS1/SE2NEXTTOKEN

A string token indicating that there might be additional contacts available to be listed. Use the token provided in the Response to use in the subsequent call to ListContacts with the same parameters to retrieve the next page of contacts.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SE2LISTCONTACTSRSP /AWS1/CL_SE2LISTCONTACTSRSP