/AWS1/IF_PTT=>CREATECONNECTIONINVITATION()¶
About CreateConnectionInvitation¶
Creates a new connection invitation to establish a partnership with another organization.
Method Signature¶
METHODS /AWS1/IF_PTT~CREATECONNECTIONINVITATION
IMPORTING
!IV_CATALOG TYPE /AWS1/PTTCATALOG OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/PTTCLIENTTOKEN OPTIONAL
!IV_CONNECTIONTYPE TYPE /AWS1/PTTCONNECTIONTYPE OPTIONAL
!IV_EMAIL TYPE /AWS1/PTTEMAIL OPTIONAL
!IV_MESSAGE TYPE /AWS1/PTTUNICODESTRING OPTIONAL
!IV_NAME TYPE /AWS1/PTTSENSUNICODESTRING OPTIONAL
!IV_RECEIVERIDENTIFIER TYPE /AWS1/PTTPARTICIPANTIDENTIFIER OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_pttcreateconninvtnrsp
RAISING
/AWS1/CX_PTTACCESSDENIEDEX
/AWS1/CX_PTTCONFLICTEXCEPTION
/AWS1/CX_PTTINTERNALSERVEREX
/AWS1/CX_PTTRESOURCENOTFOUNDEX
/AWS1/CX_PTTTHROTTLINGEX
/AWS1/CX_PTTVLDTNEXCEPTION
/AWS1/CX_PTTCLIENTEXC
/AWS1/CX_PTTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_catalog TYPE /AWS1/PTTCATALOG /AWS1/PTTCATALOG¶
The catalog identifier where the connection invitation will be created.
iv_clienttoken TYPE /AWS1/PTTCLIENTTOKEN /AWS1/PTTCLIENTTOKEN¶
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
iv_connectiontype TYPE /AWS1/PTTCONNECTIONTYPE /AWS1/PTTCONNECTIONTYPE¶
The type of connection being requested (e.g., reseller, distributor, technology partner).
iv_email TYPE /AWS1/PTTEMAIL /AWS1/PTTEMAIL¶
The email address of the person to send the connection invitation to.
iv_message TYPE /AWS1/PTTUNICODESTRING /AWS1/PTTUNICODESTRING¶
A custom message to include with the connection invitation.
iv_name TYPE /AWS1/PTTSENSUNICODESTRING /AWS1/PTTSENSUNICODESTRING¶
The name of the person sending the connection invitation.
iv_receiveridentifier TYPE /AWS1/PTTPARTICIPANTIDENTIFIER /AWS1/PTTPARTICIPANTIDENTIFIER¶
The identifier of the organization or partner to invite for connection.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_pttcreateconninvtnrsp /AWS1/CL_PTTCREATECONNINVTNRSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
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->createconnectioninvitation(
iv_catalog = |string|
iv_clienttoken = |string|
iv_connectiontype = |string|
iv_email = |string|
iv_message = |string|
iv_name = |string|
iv_receiveridentifier = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_catalog = lo_result->get_catalog( ).
lv_connectioninvitationid = lo_result->get_id( ).
lv_connectioninvitationarn = lo_result->get_arn( ).
lv_connectionid = lo_result->get_connectionid( ).
lv_connectiontype = lo_result->get_connectiontype( ).
lv_datetime = lo_result->get_createdat( ).
lv_datetime = lo_result->get_updatedat( ).
lv_datetime = lo_result->get_expiresat( ).
lv_participantidentifier = lo_result->get_otherparticidentifier( ).
lv_participanttype = lo_result->get_participanttype( ).
lv_invitationstatus = lo_result->get_status( ).
lv_unicodestring = lo_result->get_invitationmessage( ).
lv_email = lo_result->get_inviteremail( ).
lv_sensitiveunicodestring = lo_result->get_invitername( ).
ENDIF.