SAP Function BAPI_MDDATASET_SET_COMMAND_TXT - Creates an MDDATASET Runtime Object

Parameter Reference Type Length Default Optional Text
DATASETID BAPI6111GEN-OBJ_HANDLE N 4 MD_COMMAND Object Handle

Parameter Reference Type Length Text
RETURN BAPIRET2 u 548 BAPI Return Parameter
STATISTIC BAPI6111STT u 25 BI Statistics

Parameter Reference Length Optional Text
COMMAND_TEXT BAPI6111MDX 75

Functionality
With this method, a runtime object is created for the MDX command inthe command text. The method returns an object handle DATASETID as anexport parameter. This handle must be entered as a paramaeter insubsequent calls that refer to the created object.

Notes
The MDX command syntax in the COMMAND_TEXT can be checked with thecheck syntax method.