Skip to content

/AWS1/IF_DEX=>UPDATEDATASET()

About UpdateDataSet

This operation updates a data set.

Method Signature

METHODS /AWS1/IF_DEX~UPDATEDATASET
  IMPORTING
    !IV_DATASETID TYPE /AWS1/DEXID OPTIONAL
    !IV_DESCRIPTION TYPE /AWS1/DEXDESCRIPTION OPTIONAL
    !IV_NAME TYPE /AWS1/DEXNAME OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dexupdatedatasetrsp
  RAISING
    /AWS1/CX_DEXACCESSDENIEDEX
    /AWS1/CX_DEXINTERNALSERVEREX
    /AWS1/CX_DEXRESOURCENOTFOUNDEX
    /AWS1/CX_DEXTHROTTLINGEX
    /AWS1/CX_DEXVALIDATIONEX
    /AWS1/CX_DEXCLIENTEXC
    /AWS1/CX_DEXSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_datasetid TYPE /AWS1/DEXID /AWS1/DEXID

The unique identifier for a data set.

Optional arguments:

iv_description TYPE /AWS1/DEXDESCRIPTION /AWS1/DEXDESCRIPTION

The description for the data set.

iv_name TYPE /AWS1/DEXNAME /AWS1/DEXNAME

The name of the data set.

RETURNING

oo_output TYPE REF TO /aws1/cl_dexupdatedatasetrsp /AWS1/CL_DEXUPDATEDATASETRSP

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->updatedataset(
  iv_datasetid = |string|
  iv_description = |string|
  iv_name = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_arn = lo_result->get_arn( ).
  lv_assettype = lo_result->get_assettype( ).
  lv_timestamp = lo_result->get_createdat( ).
  lv_description = lo_result->get_description( ).
  lv_id = lo_result->get_id( ).
  lv_name = lo_result->get_name( ).
  lv_origin = lo_result->get_origin( ).
  lo_origindetails = lo_result->get_origindetails( ).
  IF lo_origindetails IS NOT INITIAL.
    lv___string = lo_origindetails->get_productid( ).
    lv___string = lo_origindetails->get_datagrantid( ).
  ENDIF.
  lv_id = lo_result->get_sourceid( ).
  lv_timestamp = lo_result->get_updatedat( ).
ENDIF.