/AWS1/IF_SCG=>NOTIFYTERMINATEPROVPRODUCT00()¶
About NotifyTerminateProvisionedProductEngineWorkflowResult¶
Notifies the result of the terminate engine execution.
Method Signature¶
METHODS /AWS1/IF_SCG~NOTIFYTERMINATEPROVPRODUCT00
  IMPORTING
    !IV_WORKFLOWTOKEN TYPE /AWS1/SCGENGINEWORKFLOWTOKEN OPTIONAL
    !IV_RECORDID TYPE /AWS1/SCGID OPTIONAL
    !IV_STATUS TYPE /AWS1/SCGENGINEWORKFLOWSTATUS OPTIONAL
    !IV_FAILUREREASON TYPE /AWS1/SCGENGINEWORKFLOWFAILU00 OPTIONAL
    !IV_IDEMPOTENCYTOKEN TYPE /AWS1/SCGIDEMPOTENCYTOKEN OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_scgnotifyterminatep01
  RAISING
    /AWS1/CX_SCGINVALIDPARAMSEX
    /AWS1/CX_SCGRESOURCENOTFOUNDEX
    /AWS1/CX_SCGCLIENTEXC
    /AWS1/CX_SCGSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_workflowtoken TYPE /AWS1/SCGENGINEWORKFLOWTOKEN /AWS1/SCGENGINEWORKFLOWTOKEN¶
The encrypted contents of the terminate engine execution payload that Service Catalog sends after the Terraform product terminate workflow starts.
iv_recordid TYPE /AWS1/SCGID /AWS1/SCGID¶
The identifier of the record.
iv_status TYPE /AWS1/SCGENGINEWORKFLOWSTATUS /AWS1/SCGENGINEWORKFLOWSTATUS¶
The status of the terminate engine execution.
iv_idempotencytoken TYPE /AWS1/SCGIDEMPOTENCYTOKEN /AWS1/SCGIDEMPOTENCYTOKEN¶
The idempotency token that identifies the terminate engine execution.
Optional arguments:¶
iv_failurereason TYPE /AWS1/SCGENGINEWORKFLOWFAILU00 /AWS1/SCGENGINEWORKFLOWFAILU00¶
The reason why the terminate engine execution failed.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_scgnotifyterminatep01 /AWS1/CL_SCGNOTIFYTERMINATEP01¶
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->notifyterminateprovproduct00(
  iv_failurereason = |string|
  iv_idempotencytoken = |string|
  iv_recordid = |string|
  iv_status = |string|
  iv_workflowtoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.