First of all: Thank you @martin-reischl for providing the useful OLAP-Functions for APE!
Just wanted to use one to export a DAC-Cube (#F_COMP) to a SQL-table using the function OlapExportDataareaFromAnyCube
Unfortunately, couldn't get the job done successfully, it fails with this error:
Message: Exception has been thrown by the target of an invocation.
InnerException:Numeric data area export failed: Calling function 'OLAPExportDataArea' failed with this message: Invalid job data.. Error code '304': Ungültige Jobdaten.
When debugging, I found out that the error appears when calling OLAPExportDataArea:
try
{
//export the data - this will write the data to SQL
OLAPExportDataArea(da, conf);
NotifyDebug("Numeric data exported.");
}
catch (errorMessage, errorCode)
{
RaiseError("Numeric data area export failed: " + errorMessage, errorCode);
}
What looks strange, is the value of the conf-parameter, which looks like this:
{DataConnection=InforBI_Transfer, TargetTable=RIGHTS_F_COMP, ValueColumn=ValueNumber, ValueDimension=, ColumnMapping={F_COMP:{,F_COMP},#__GRP__:{,__GRP__},, ValueMapping={}
Where's the trick to get this export done? Am I doing something wrong?
Version is 2024.12.03
Thanks,
Ralf