Skip to content

/AWS1/IF_SHI=>SENDFEEDBACK()

About SendFeedback

Send feedback based on response investigation action

Method Signature

METHODS /AWS1/IF_SHI~SENDFEEDBACK
  IMPORTING
    !IV_CASEID TYPE /AWS1/SHICASEID OPTIONAL
    !IV_RESULTID TYPE /AWS1/SHIRESULTID OPTIONAL
    !IV_USEFULNESS TYPE /AWS1/SHIUSEFULNESSRATING OPTIONAL
    !IV_COMMENT TYPE /AWS1/SHIFEEDBACKCOMMENT OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_shisendfeedbackrsp
  RAISING
    /AWS1/CX_SHIACCESSDENIEDEX
    /AWS1/CX_SHICONFLICTEXCEPTION
    /AWS1/CX_SHIINTERNALSERVEREX
    /AWS1/CX_SHIINVALIDTOKENEX
    /AWS1/CX_SHIRESOURCENOTFOUNDEX
    /AWS1/CX_SHISECINCIDENTRSPNO00
    /AWS1/CX_SHISERVICEQUOTAEXCDEX
    /AWS1/CX_SHITHROTTLINGEX
    /AWS1/CX_SHIVALIDATIONEX
    /AWS1/CX_SHICLIENTEXC
    /AWS1/CX_SHISERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_caseid TYPE /AWS1/SHICASEID /AWS1/SHICASEID

Send feedback based on request caseID

iv_resultid TYPE /AWS1/SHIRESULTID /AWS1/SHIRESULTID

Send feedback based on request result ID

iv_usefulness TYPE /AWS1/SHIUSEFULNESSRATING /AWS1/SHIUSEFULNESSRATING

Required enum value indicating user assessment of result q.....

Optional arguments:

iv_comment TYPE /AWS1/SHIFEEDBACKCOMMENT /AWS1/SHIFEEDBACKCOMMENT

Send feedback based on request comments

RETURNING

oo_output TYPE REF TO /aws1/cl_shisendfeedbackrsp /AWS1/CL_SHISENDFEEDBACKRSP

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->sendfeedback(
  iv_caseid = |string|
  iv_comment = |string|
  iv_resultid = |string|
  iv_usefulness = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.

Send positive feedback for investigation result

Send positive feedback for investigation result

DATA(lo_result) = lo_client->sendfeedback(
  iv_caseid = |8403556009|
  iv_comment = |The CloudTrail analysis was very helpful in identifying the root cause of the security incident.|
  iv_resultid = |inv-polkjhyuty|
  iv_usefulness = |USEFUL|
).

Send negative feedback with detailed comment

Send negative feedback with detailed comment

DATA(lo_result) = lo_client->sendfeedback(
  iv_caseid = |8403556009|
  iv_comment = |The investigation results were too generic and didn't provide actionable insights for our specific incident.|
  iv_resultid = |inv-irutjfhgjk|
  iv_usefulness = |NOT_USEFUL|
).