Skip to content

/AWS1/CL_APY=>GETDATASOURCEINTROSPECTION()

About GetDataSourceIntrospection

Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.

Method Signature

IMPORTING

Required arguments:

IV_INTROSPECTIONID TYPE /AWS1/APYSTRING /AWS1/APYSTRING

The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.

Optional arguments:

IV_INCLUDEMODELSSDL TYPE /AWS1/APYBOOLEAN /AWS1/APYBOOLEAN

A boolean flag that determines whether SDL should be generated for introspected types or not. If set to true, each model will contain an sdl property that contains the SDL for that type. The SDL only contains the type data and no additional metadata or directives.

IV_NEXTTOKEN TYPE /AWS1/APYPAGINATIONTOKEN /AWS1/APYPAGINATIONTOKEN

Determines the number of types to be returned in a single response before paginating. This value is typically taken from nextToken value from the previous response.

IV_MAXRESULTS TYPE /AWS1/APYMAXRESULTS /AWS1/APYMAXRESULTS

The maximum number of introspected types that will be returned in a single response.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_APYGETDATASRCINTROS01 /AWS1/CL_APYGETDATASRCINTROS01