Skip to content

/AWS1/CL_ML=>GETDATASOURCE()

About GetDataSource

Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource.

GetDataSource provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format.

Method Signature

IMPORTING

Required arguments:

IV_DATASOURCEID TYPE /AWS1/ML_ENTITYID /AWS1/ML_ENTITYID

The ID assigned to the DataSource at creation.

Optional arguments:

IV_VERBOSE TYPE /AWS1/ML_VERBOSE /AWS1/ML_VERBOSE

Specifies whether the GetDataSource operation should return DataSourceSchema.

If true, DataSourceSchema is returned.

If false, DataSourceSchema is not returned.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ML_GETDATASRCOUTPUT /AWS1/CL_ML_GETDATASRCOUTPUT