/AWS1/IF_HLL=>DESCRIBEDATAXFORMTNJOB()¶
About DescribeDataTransformationJob¶
Describes a data transformation job, including its current status, configuration, and progress information.
Method Signature¶
METHODS /AWS1/IF_HLL~DESCRIBEDATAXFORMTNJOB
IMPORTING
!IV_JOBID TYPE /AWS1/HLLDATAXFORMTNJOBID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_hlldescataxfrmjobrsp
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_jobid TYPE /AWS1/HLLDATAXFORMTNJOBID /AWS1/HLLDATAXFORMTNJOBID¶
The unique identifier of the data transformation job to describe.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_hlldescataxfrmjobrsp /AWS1/CL_HLLDESCATAXFRMJOBRSP¶
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->describedataxformtnjob( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_transformationjobproper = lo_result->get_xformtnjobproperties( ).
IF lo_transformationjobproper IS NOT INITIAL.
lv_datatransformationjobid = lo_transformationjobproper->get_jobid( ).
lv_transformationjobstatus = lo_transformationjobproper->get_jobstatus( ).
lo_transformationinputdata = lo_transformationjobproper->get_inputdataconfig( ).
IF lo_transformationinputdata IS NOT INITIAL.
lv_datatransformations3uri = lo_transformationinputdata->get_s3uri( ).
lv_sourceformat = lo_transformationinputdata->get_sourceformat( ).
ENDIF.
lo_transformationoutputdat = lo_transformationjobproper->get_outputdataconfig( ).
IF lo_transformationoutputdat IS NOT INITIAL.
lo_datatransformations3con = lo_transformationoutputdat->get_s3configuration( ).
IF lo_datatransformations3con IS NOT INITIAL.
lv_datatransformations3uri = lo_datatransformations3con->get_s3uri( ).
lv_kmskeyid = lo_datatransformations3con->get_kmskeyid( ).
ENDIF.
ENDIF.
lv_datatransformationiamro = lo_transformationjobproper->get_dataaccessrolearn( ).
lv_datetime = lo_transformationjobproper->get_submittime( ).
lv_datatransformationjobna = lo_transformationjobproper->get_jobname( ).
lv_profileidstring = lo_transformationjobproper->get_profileid( ).
lv_profilenamestring = lo_transformationjobproper->get_profilename( ).
lv_integer = lo_transformationjobproper->get_profileversion( ).
lv_datetime = lo_transformationjobproper->get_endtime( ).
lv_boolean = lo_transformationjobproper->get_driftdetectionenabled( ).
lv_boolean = lo_transformationjobproper->get_provenanceenabled( ).
lv_boundedstring = lo_transformationjobproper->get_message( ).
lo_transformationjobprogre = lo_transformationjobproper->get_jobprogressreport( ).
IF lo_transformationjobprogre IS NOT INITIAL.
lv_long = lo_transformationjobprogre->get_totalfilesscanned( ).
lv_long = lo_transformationjobprogre->get_totalfilesconverted( ).
lv_long = lo_transformationjobprogre->get_totalfilesfailed( ).
lv_long = lo_transformationjobprogre->get_totalresourcesgenerated( ).
ENDIF.
ENDIF.
ENDIF.