Fonction SAP BAPI_MDDATASET_SELECT_DATA - Executes the MDX Command

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DATASETID BAPI6111GEN-OBJ_HANDLE N 4 MD_COMMAND Object Handle
EXPLAINABLE RS_BOOL C 1 SPACE X Internal Use Only
SUPPRESS_EMPTY_CELLS RS_BOOL C 1 SPACE X Suppress Empty Cells in Cell Data Table
USE_SCALING_FACTORS RS_BOOL C 1 SPACE X Use BW-Specific Scaling Factors
XML XSTRING y 0 X XML

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 BAPI Return Parameter
STATISTIC BAPI6111STT u 25 BI Statistics

Paramètre Reférence Long. Facultatif Description
CMD BAPI6111CMD 4 X Parser Bytecode (for ODBO Provider)
CMD_PARAMS BAPI6111CP 70 X Parser Parameter (for ODBO Provider)
TRACE BAPI6111TR 104 X Parser Debug Info. (for ODBO Provider)

Functionality
With this method, an MDX Command is carried out and the dataset thatcorresponds to the command (meaning a multi-dimensional resultingquantity) is constructed.
As several MD_COMMAND objects can be processed in parallel within asession, the input parameter DATASETID has to be set. A clientapplication with the function module MDDATASET_CREATE_OBJECT can createsuch an object handle, by which an MDX command must also be set beforeexecution.
The GetAxisInfo, GetAxisData and GetCellData methods are available tothe client application for retrieving the resulting quantity.

1572018MDX: Ausführungsarten in Transaktion MDXTEST - BW 7.00-7.11