Fonction SAP BAPI_OIW_GET_CATALOG - BAPI: Read Catalog with OIW Metadata

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Return Code

Paramètre Reférence Long. Facultatif Description
DATA_SOURCE_LIST BAPIMETLST 90 List of Data Sources
INFO_OBJECT_DATA_SOURCE_LIST BAPIOMLST 53 X List of InfoObjects-Data Sources
INFO_OBJECT_LIST BAPIOBJLST 64 X List of Information Objects

Functionality
This method can be used to read the metadata of the Open InformationWarehouse (OIW). This method provides the information objects, datasources and the information objects for each of the data sources.

Notes
This method provides the necessary OIW metadata which forms the basisfor enabling data from the OIW to be read using the methodBAPI_OIW_GET_DATA.
Messages are returned in the parameter RETURN. You can find the returncodes and their meaning in this parameter documentation.
Authorization check:
A check is carried out to see whether the user is authorized to displaythe OIW metadata and to display the OIW info catalog. (authorizationobject: M_OIW_Meta).

Description
Parameter for returning messages. The return parameters inform youwhether a data query performed on the function module has beensuccessful or not.

Value range
The fields for the return parameters are as follows:

  • Return-Type (message type: S Success, E Error)

  • Return-Code (message code)

  • Return-Message (message text)

  • Return-Log_No (log number of the application log)

  • Return-LOG_MSG_NO (application log: sequential number of the message)

  • The messages for the return parameters are as follows:
    Type Code Message text
    E M2881 The OIW metadata is not maintained
    S M2882 OIW metadata has been read
    E M2884 No authorization for displaying the OIW info catalog

    Description
    List that contains the data sources of the OIW metadata.

    Description
    List that contains the combination 'information object/data sources' ofthe OIW meta data. This list supplies you with all information objectsthat can be read for each data source.

    Description
    List that contains the information objects of the OIW metadata.