/AWS1/IF_PTC=>DELETERELATIONSHIP()¶
About DeleteRelationship¶
Deletes a partner relationship.
Method Signature¶
METHODS /AWS1/IF_PTC~DELETERELATIONSHIP
IMPORTING
!IV_CATALOG TYPE /AWS1/PTCCATALOG OPTIONAL
!IV_IDENTIFIER TYPE /AWS1/PTCRELATIONSHIPID OPTIONAL
!IV_PROGRAMMNGMTACCOUNTID00 TYPE /AWS1/PTCPROGRAMMNGMTACCOUNTID OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/PTCCLIENTTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ptcdelrelationshiprsp
RAISING
/AWS1/CX_PTCACCESSDENIEDEX
/AWS1/CX_PTCINTERNALSERVEREX
/AWS1/CX_PTCRESOURCENOTFOUNDEX
/AWS1/CX_PTCTHROTTLINGEX
/AWS1/CX_PTCVLDTNEXCEPTION
/AWS1/CX_PTCCONFLICTEXCEPTION
/AWS1/CX_PTCCLIENTEXC
/AWS1/CX_PTCSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_catalog TYPE /AWS1/PTCCATALOG /AWS1/PTCCATALOG¶
The catalog identifier for the relationship.
iv_identifier TYPE /AWS1/PTCRELATIONSHIPID /AWS1/PTCRELATIONSHIPID¶
The unique identifier of the relationship to delete.
iv_programmngmtaccountid00 TYPE /AWS1/PTCPROGRAMMNGMTACCOUNTID /AWS1/PTCPROGRAMMNGMTACCOUNTID¶
The identifier of the program management account associated with the relationship.
Optional arguments:¶
iv_clienttoken TYPE /AWS1/PTCCLIENTTOKEN /AWS1/PTCCLIENTTOKEN¶
A unique, case-sensitive identifier to ensure idempotency of the request.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ptcdelrelationshiprsp /AWS1/CL_PTCDELRELATIONSHIPRSP¶
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->deleterelationship(
iv_catalog = |string|
iv_clienttoken = |string|
iv_identifier = |string|
iv_programmngmtaccountid00 = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.
Example for DeleteRelationship¶
Example for DeleteRelationship
DATA(lo_result) = lo_client->deleterelationship(
iv_catalog = |AWS|
iv_clienttoken = |clientToken|
iv_identifier = |rs-l9o4fj3b5zb91|
iv_programmngmtaccountid00 = |pma-u8ic702rtzng8|
).