/AWS1/IF_PRN=>UPDATESERVICESYNCBLOCKER()¶
About UpdateServiceSyncBlocker¶
Update the service sync blocker by resolving it.
Method Signature¶
METHODS /AWS1/IF_PRN~UPDATESERVICESYNCBLOCKER
IMPORTING
!IV_ID TYPE /AWS1/PRNSTRING OPTIONAL
!IV_RESOLVEDREASON TYPE /AWS1/PRNSTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_prnupsvcsyncblkerout
RAISING
/AWS1/CX_PRNACCESSDENIEDEX
/AWS1/CX_PRNCONFLICTEXCEPTION
/AWS1/CX_PRNINTERNALSERVEREX
/AWS1/CX_PRNRESOURCENOTFOUNDEX
/AWS1/CX_PRNTHROTTLINGEX
/AWS1/CX_PRNVALIDATIONEX
/AWS1/CX_PRNCLIENTEXC
/AWS1/CX_PRNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_id TYPE /AWS1/PRNSTRING /AWS1/PRNSTRING¶
The ID of the service sync blocker.
iv_resolvedreason TYPE /AWS1/PRNSTRING /AWS1/PRNSTRING¶
The reason the service sync blocker was resolved.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_prnupsvcsyncblkerout /AWS1/CL_PRNUPSVCSYNCBLKEROUT¶
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->updateservicesyncblocker(
iv_id = |string|
iv_resolvedreason = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourcename = lo_result->get_servicename( ).
lv_resourcename = lo_result->get_serviceinstancename( ).
lo_syncblocker = lo_result->get_servicesyncblocker( ).
IF lo_syncblocker IS NOT INITIAL.
lv_string = lo_syncblocker->get_id( ).
lv_blockertype = lo_syncblocker->get_type( ).
lv_blockerstatus = lo_syncblocker->get_status( ).
lv_string = lo_syncblocker->get_createdreason( ).
lv_timestamp = lo_syncblocker->get_createdat( ).
LOOP AT lo_syncblocker->get_contexts( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_key( ).
lv_string = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
lv_string = lo_syncblocker->get_resolvedreason( ).
lv_timestamp = lo_syncblocker->get_resolvedat( ).
ENDIF.
ENDIF.