/AWS1/IF_DZN=>GETLINEAGENODE()¶
About GetLineageNode¶
Gets the data lineage node.
Method Signature¶
METHODS /AWS1/IF_DZN~GETLINEAGENODE
IMPORTING
!IV_DOMAINIDENTIFIER TYPE /AWS1/DZNDOMAINID OPTIONAL
!IV_IDENTIFIER TYPE /AWS1/DZNLINEAGENODEIDENTIFIER OPTIONAL
!IV_EVENTTIMESTAMP TYPE /AWS1/DZNTIMESTAMP OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dzngetlineagenodeout
RAISING
/AWS1/CX_DZNACCESSDENIEDEX
/AWS1/CX_DZNTHROTTLINGEX
/AWS1/CX_DZNUNAUTHORIZEDEX
/AWS1/CX_DZNINTERNALSERVEREX
/AWS1/CX_DZNRESOURCENOTFOUNDEX
/AWS1/CX_DZNVALIDATIONEX
/AWS1/CX_DZNCLIENTEXC
/AWS1/CX_DZNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_domainidentifier TYPE /AWS1/DZNDOMAINID /AWS1/DZNDOMAINID¶
The ID of the domain in which you want to get the data lineage node.
iv_identifier TYPE /AWS1/DZNLINEAGENODEIDENTIFIER /AWS1/DZNLINEAGENODEIDENTIFIER¶
The ID of the data lineage node that you want to get.
Both, a lineage node identifier generated by Amazon DataZone and a
sourceIdentifierof the lineage node are supported. IfsourceIdentifieris greater than 1800 characters, you can use lineage node identifier generated by Amazon DataZone to get the node details.
Optional arguments:¶
iv_eventtimestamp TYPE /AWS1/DZNTIMESTAMP /AWS1/DZNTIMESTAMP¶
The event time stamp for which you want to get the data lineage node.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dzngetlineagenodeout /AWS1/CL_DZNGETLINEAGENODEOUT¶
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->getlineagenode(
iv_domainidentifier = |string|
iv_eventtimestamp = '20150101000000.0000000'
iv_identifier = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_domainid = lo_result->get_domainid( ).
lv_string = lo_result->get_name( ).
lv_string = lo_result->get_description( ).
lv_createdat = lo_result->get_createdat( ).
lv_createdby = lo_result->get_createdby( ).
lv_updatedat = lo_result->get_updatedat( ).
lv_updatedby = lo_result->get_updatedby( ).
lv_lineagenodeid = lo_result->get_id( ).
lv_string = lo_result->get_typename( ).
lv_revision = lo_result->get_typerevision( ).
lv_string = lo_result->get_sourceidentifier( ).
lv_timestamp = lo_result->get_eventtimestamp( ).
LOOP AT lo_result->get_formsoutput( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_formname = lo_row_1->get_formname( ).
lv_formtypename = lo_row_1->get_typename( ).
lv_revision = lo_row_1->get_typerevision( ).
lv_string = lo_row_1->get_content( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_upstreamnodes( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_lineagenodeid = lo_row_3->get_id( ).
lv_timestamp = lo_row_3->get_eventtimestamp( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_downstreamnodes( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_lineagenodeid = lo_row_3->get_id( ).
lv_timestamp = lo_row_3->get_eventtimestamp( ).
ENDIF.
ENDLOOP.
ENDIF.