SAP Function BAPI_CUBE_CREATE - Creates InfoCube

Parameter Reference Type Length Default Optional Text
DETAILS BAPI6112 u 440 InfoCube with all Properties

Parameter Reference Type Length Text
INFOCUBE BAPI6112-INFOCUBE C 30 InfoCube Name

Parameter Reference Length Optional Text
DIMENSIONINFOOBJECTS BAPI6112DIO 96 InfoCube: InfoObjects in the Dimensions
DIMENSIONS BAPI6112DI 126 InfoCube - Dimensions
INFOOBJECTS BAPI6112IO 69 InfoCube - InfoObjects
RETURN BAPIRET2 548 X Detailed Log in Case of Error

Functionality
This function module creates a new InfoCube. You have to enter all theInfoCube properties in the DETAILS parameter.
You have to enter the InfoCube structure (Star Schema) in the tableparameters:

  • DIMENSIONS contains the InfoCube dimensions with their types,

  • INFOOBJECTS are the InfoObjects that are to be contained in the
  • InfoCube ,
    • DIMENSIONINFOOBJECTS is the assignment of InfoObjects to dimensions.

    • If errors occur, an extensive log is returned in the RETURNTABLEdimensions.

      Description
      The InfoCube name and all properties are given in this structure.

      Description
      Method return parameter. The return parameter provides information onthe success or failure of the call. &RANGE&
      The most important error messages refer to

      • missing authorization for creating InfoCubes

      • errors in the InfoCube structure definition. In this case you get an
      • extensive error log in the RETURNTABLE parameter.