/AWS1/IF_SMC=>ACCEPTPAGE()¶
About AcceptPage¶
Used to acknowledge an engagement to a contact channel during an incident.
Method Signature¶
METHODS /AWS1/IF_SMC~ACCEPTPAGE
IMPORTING
!IV_PAGEID TYPE /AWS1/SMCSSMCONTACTSARN OPTIONAL
!IV_CONTACTCHANNELID TYPE /AWS1/SMCSSMCONTACTSARN OPTIONAL
!IV_ACCEPTTYPE TYPE /AWS1/SMCACCEPTTYPE OPTIONAL
!IV_NOTE TYPE /AWS1/SMCRECEIPTINFO OPTIONAL
!IV_ACCEPTCODE TYPE /AWS1/SMCACCEPTCODE OPTIONAL
!IV_ACCEPTCODEVALIDATION TYPE /AWS1/SMCACCEPTCODEVALIDATION OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_smcacceptpageresult
RAISING
/AWS1/CX_SMCACCESSDENIEDEX
/AWS1/CX_SMCINTERNALSERVEREX
/AWS1/CX_SMCRESOURCENOTFOUNDEX
/AWS1/CX_SMCTHROTTLINGEX
/AWS1/CX_SMCVALIDATIONEX
/AWS1/CX_SMCCLIENTEXC
/AWS1/CX_SMCSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_pageid TYPE /AWS1/SMCSSMCONTACTSARN /AWS1/SMCSSMCONTACTSARN¶
The Amazon Resource Name (ARN) of the engagement to a contact channel.
iv_accepttype TYPE /AWS1/SMCACCEPTTYPE /AWS1/SMCACCEPTTYPE¶
The type indicates if the page was
DELIVEREDorREAD.
iv_acceptcode TYPE /AWS1/SMCACCEPTCODE /AWS1/SMCACCEPTCODE¶
A 6-digit code used to acknowledge the page.
Optional arguments:¶
iv_contactchannelid TYPE /AWS1/SMCSSMCONTACTSARN /AWS1/SMCSSMCONTACTSARN¶
The ARN of the contact channel.
iv_note TYPE /AWS1/SMCRECEIPTINFO /AWS1/SMCRECEIPTINFO¶
Information provided by the user when the user acknowledges the page.
iv_acceptcodevalidation TYPE /AWS1/SMCACCEPTCODEVALIDATION /AWS1/SMCACCEPTCODEVALIDATION¶
An optional field that Incident Manager uses to
ENFORCEAcceptCodevalidation when acknowledging an page. Acknowledgement can occur by replying to a page, or when entering the AcceptCode in the console. Enforcing AcceptCode validation causes Incident Manager to verify that the code entered by the user matches the code sent by Incident Manager with the page.Incident Manager can also
IGNOREAcceptCodevalidation. IgnoringAcceptCodevalidation causes Incident Manager to accept any value entered for theAcceptCode.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_smcacceptpageresult /AWS1/CL_SMCACCEPTPAGERESULT¶
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->acceptpage(
iv_acceptcode = |string|
iv_acceptcodevalidation = |string|
iv_accepttype = |string|
iv_contactchannelid = |string|
iv_note = |string|
iv_pageid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.