SAP Function BAPI_MDDATASET_CREATE_OBJECT - Creates an MDDATASET Runtime Object

Parameter Reference Type Length Text
DATASETID BAPI6111GEN-OBJ_HANDLE N 4 MD_COMMAND Object Handle
RETURN BAPIRET2 u 548 BAPI Return Parameter

Parameter Reference Length Optional Text
COMMAND_TEXT BAPI6111MDX 75 X

Functionality
With this method a runtime object for an MDX Command in COMMAND_TEXT isgenerated. The method returns an object handle DATASETID as an exportparameter. This handle has to be specified in the following calls thatrelate to the created object as parameters.

Notes
The syntax for the MDX Command in COMMAND_TEXT can finally be checkedwith the CheckSyntax method.

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