/AWS1/IF_ORG=>TERMRESPONSIBILITYTRANSFER()¶
About TerminateResponsibilityTransfer¶
Ends a transfer. A transfer is an arrangement between two management accounts where one account designates the other with specified responsibilities for their organization.
Method Signature¶
METHODS /AWS1/IF_ORG~TERMRESPONSIBILITYTRANSFER
IMPORTING
!IV_ID TYPE /AWS1/ORGRESPONSIBILITYXFERID OPTIONAL
!IV_ENDTIMESTAMP TYPE /AWS1/ORGTIMESTAMP OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_orgtmtresponsibilit01
RAISING
/AWS1/CX_ORGACCESSDENIEDEX
/AWS1/CX_ORGAWSORGSNOTINUSEEX
/AWS1/CX_ORGCONCURRENTMODEX
/AWS1/CX_ORGCNSTRNTVIOLATIONEX
/AWS1/CX_ORGINVALIDINPUTEX
/AWS1/CX_ORGINVRESPONSIBILIT00
/AWS1/CX_ORGRESPONSIBILITYXF01
/AWS1/CX_ORGRESPONSIBILITYXF00
/AWS1/CX_ORGSERVICEEXCEPTION
/AWS1/CX_ORGTOOMANYREQUESTSEX
/AWS1/CX_ORGUNSUPPEDAPIENDPTEX
/AWS1/CX_ORGCLIENTEXC
/AWS1/CX_ORGSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_id TYPE /AWS1/ORGRESPONSIBILITYXFERID /AWS1/ORGRESPONSIBILITYXFERID¶
ID for the transfer.
Optional arguments:¶
iv_endtimestamp TYPE /AWS1/ORGTIMESTAMP /AWS1/ORGTIMESTAMP¶
Timestamp when the responsibility transfer is to end.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_orgtmtresponsibilit01 /AWS1/CL_ORGTMTRESPONSIBILIT01¶
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->termresponsibilitytransfer(
iv_endtimestamp = '20150101000000.0000000'
iv_id = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_responsibilitytransfer = lo_result->get_responsibilitytransfer( ).
IF lo_responsibilitytransfer IS NOT INITIAL.
lv_responsibilitytransfera = lo_responsibilitytransfer->get_arn( ).
lv_responsibilitytransfern = lo_responsibilitytransfer->get_name( ).
lv_responsibilitytransferi = lo_responsibilitytransfer->get_id( ).
lv_responsibilitytransfert = lo_responsibilitytransfer->get_type( ).
lv_responsibilitytransfers = lo_responsibilitytransfer->get_status( ).
lo_transferparticipant = lo_responsibilitytransfer->get_source( ).
IF lo_transferparticipant IS NOT INITIAL.
lv_accountid = lo_transferparticipant->get_managementaccountid( ).
lv_email = lo_transferparticipant->get_managementaccountemail( ).
ENDIF.
lo_transferparticipant = lo_responsibilitytransfer->get_target( ).
IF lo_transferparticipant IS NOT INITIAL.
lv_accountid = lo_transferparticipant->get_managementaccountid( ).
lv_email = lo_transferparticipant->get_managementaccountemail( ).
ENDIF.
lv_timestamp = lo_responsibilitytransfer->get_starttimestamp( ).
lv_timestamp = lo_responsibilitytransfer->get_endtimestamp( ).
lv_handshakeid = lo_responsibilitytransfer->get_activehandshakeid( ).
ENDIF.
ENDIF.