ERPConnect.BW.BWCube
Namespace: ERPConnect.BW
Assembly: ERPConnectStandard20.dll
BWCube represents a BW Cube to extract data from
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
BWCube(R3Connection)
Constructs a BWCube object
Parameters
connection
R3Connection
Reference to a valid R3Connection object
Properties
AdjustFlatOutputColumnsOrdinal
DO NOT USE!!! FOR INTERNAL USE ONLY!!!!
Property Value
Connection
Reference to a valid R3Connection object
Property Value
Dimensions
This collection repesents all dimensions of the BW Cube / BW Query
Property Value
Measures
This collection repesents all measures of the BW Cube / BW Query
Property Value
Name
Name of the cube
Property Value
PackageSize
Determines if the data should be retreived in packages and if so, how many rows should be in one package
Property Value
UseFormattedValue
Determines if the data should be formatted as defined in the query designer (e.g. number of decimals or factor)
Property Value
UseNewOlapBapis
Gets or sets a value indicating whether the new OLAP BAPIs should be used for the extraction (see SAP note 1232751)
Property Value
Variables
This collection repesents all variables of the BW Query
Property Value
Methods
CreateCube(string)
Constructs a BWCube object with all its dimensions, properties and measures
Parameters
cubeName
string
Name of the Cube or Query Cube (e.g. 0D_DECU or 0D_DECU/VARDEMO01)
Execute()
Executes the cube / query extraction
Returns
DataTable object with flat result
GetFlatMDX()
Returns a MDX string that represents the query for the cube's data
Returns
A MDX string
LoadFromXML(string)
Load a BWCube object hierachy from an XML file
Parameters
FileName
string
Filename
LoadFromXML(StreamReader)
Load a BWCube object hierachy from an XML file
Parameters
reader
StreamReader
StreamReader to XML resource
LoadFromXMLString(string)
Load a BWCube object hierachy from an XML string
Parameters
XMLString
string
XML string
RefreshMetaData()
RefreshMetaData(bool)
For internal use only
Parameters
onlyStructures
bool
SaveToXML(string)
Saves the current object to XML
Parameters
Filename
string
File name
SaveToXML()
Saves the current object to XML
Returns
A string which contains the XML file
SelectAllForFlatMDX()
Do not use! For internal use only
SetBWDateFlags()
For internal use only
ToString()
Returns an object description text
Returns
Object description text
IncomingPackage
IncomingPackage is fired, when addtional data packages are fetched from SAP.