/AWS1/IF_ECA=>DESCRIBESERVICEUPDATES()¶
About DescribeServiceUpdates¶
Returns details of the service updates
Method Signature¶
METHODS /AWS1/IF_ECA~DESCRIBESERVICEUPDATES
IMPORTING
!IV_SERVICEUPDATENAME TYPE /AWS1/ECASTRING OPTIONAL
!IT_SERVICEUPDATESTATUS TYPE /AWS1/CL_ECASVCUPDSTATUSLIST_W=>TT_SERVICEUPDATESTATUSLIST OPTIONAL
!IV_MAXRECORDS TYPE /AWS1/ECAINTEGEROPTIONAL OPTIONAL
!IV_MARKER TYPE /AWS1/ECASTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ecaserviceupdatesmsg
RAISING
/AWS1/CX_ECAINVPRMCOMBINATIO00
/AWS1/CX_ECAINVPARAMVALUEEX
/AWS1/CX_ECASVCUPDNOTFNDFAULT
/AWS1/CX_ECACLIENTEXC
/AWS1/CX_ECASERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_serviceupdatename TYPE /AWS1/ECASTRING /AWS1/ECASTRING¶
The unique ID of the service update
it_serviceupdatestatus TYPE /AWS1/CL_ECASVCUPDSTATUSLIST_W=>TT_SERVICEUPDATESTATUSLIST TT_SERVICEUPDATESTATUSLIST¶
The status of the service update
iv_maxrecords TYPE /AWS1/ECAINTEGEROPTIONAL /AWS1/ECAINTEGEROPTIONAL¶
The maximum number of records to include in the response
iv_marker TYPE /AWS1/ECASTRING /AWS1/ECASTRING¶
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ecaserviceupdatesmsg /AWS1/CL_ECASERVICEUPDATESMSG¶
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->describeserviceupdates(
it_serviceupdatestatus = VALUE /aws1/cl_ecasvcupdstatuslist_w=>tt_serviceupdatestatuslist(
( new /aws1/cl_ecasvcupdstatuslist_w( |string| ) )
)
iv_marker = |string|
iv_maxrecords = 123
iv_serviceupdatename = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_marker( ).
LOOP AT lo_result->get_serviceupdates( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_serviceupdatename( ).
lv_tstamp = lo_row_1->get_serviceupdatereleasedate( ).
lv_tstamp = lo_row_1->get_serviceupdateenddate( ).
lv_serviceupdateseverity = lo_row_1->get_serviceupdateseverity( ).
lv_tstamp = lo_row_1->get_svcupdrecommendedapply00( ).
lv_serviceupdatestatus = lo_row_1->get_serviceupdatestatus( ).
lv_string = lo_row_1->get_serviceupdatedescription( ).
lv_serviceupdatetype = lo_row_1->get_serviceupdatetype( ).
lv_string = lo_row_1->get_engine( ).
lv_string = lo_row_1->get_engineversion( ).
lv_booleanoptional = lo_row_1->get_autoupafrrecommendedap00( ).
lv_string = lo_row_1->get_estimatedupdatetime( ).
ENDIF.
ENDLOOP.
ENDIF.