Skip to content

/AWS1/IF_HLL=>UPDATEDATAXFORMTNPROFILE()

About UpdateDataTransformationProfile

Updates the DRAFT version (version 0) of a data transformation profile with new profile content. The update replaces all existing DRAFT content.

Method Signature

METHODS /AWS1/IF_HLL~UPDATEDATAXFORMTNPROFILE
  IMPORTING
    !IV_PROFILEID TYPE /AWS1/HLLPROFILEIDSTRING OPTIONAL
    !IT_PROFILEMAPPING TYPE /AWS1/CL_HLLPROFILEMAPPING_W=>TT_PROFILEMAPPING OPTIONAL
    !IV_CHANGEDESCRIPTION TYPE /AWS1/HLLCHANGEDESCRIPTION OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_hllupddatxfrmtnpflrsp
  RAISING
    /AWS1/CX_HLLACCESSDENIEDEX
    /AWS1/CX_HLLINTERNALSERVEREX
    /AWS1/CX_HLLRESOURCENOTFOUNDEX
    /AWS1/CX_HLLTHROTTLINGEX
    /AWS1/CX_HLLVALIDATIONEX
    /AWS1/CX_HLLCLIENTEXC
    /AWS1/CX_HLLSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_profileid TYPE /AWS1/HLLPROFILEIDSTRING /AWS1/HLLPROFILEIDSTRING

The unique identifier of the profile to update.

it_profilemapping TYPE /AWS1/CL_HLLPROFILEMAPPING_W=>TT_PROFILEMAPPING TT_PROFILEMAPPING

The new profile content for the DRAFT version. This is a full replacement of all profile files.

Optional arguments:

iv_changedescription TYPE /AWS1/HLLCHANGEDESCRIPTION /AWS1/HLLCHANGEDESCRIPTION

A description of what changed in this update.

RETURNING

oo_output TYPE REF TO /aws1/cl_hllupddatxfrmtnpflrsp /AWS1/CL_HLLUPDDATXFRMTNPFLRSP

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->updatedataxformtnprofile(
  it_profilemapping = VALUE /aws1/cl_hllprofilemapping_w=>tt_profilemapping(
    (
      VALUE /aws1/cl_hllprofilemapping_w=>ts_profilemapping_maprow(
        key = |string|
        value = new /aws1/cl_hllprofilemapping_w( |string| )
      )
    )
  )
  iv_changedescription = |string|
  iv_profileid = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_profileidstring = lo_result->get_profileid( ).
  lv_sourceformat = lo_result->get_sourceformat( ).
  lv_targetformat = lo_result->get_targetformat( ).
  lv_profilenamestring = lo_result->get_profilename( ).
  lv_datetime = lo_result->get_lastupdatedat( ).
ENDIF.