Skip to Content
Former Member
Apr 08, 2010 at 10:26 AM

OLAP Variable does not extract any data



I copied SAP standard OLAP Variable 0CML12CM into new variable ZCML12CM from which I want to exclude the current month.

At first I'm testing to see if the datapackage extracts any data or not, by using the SAP standard variable ABAP Code (so current month is not excluded yet) in my variable ZCML12CM. The variable extract the last 12 months including current month.

in CMOD the code seems correct, and I'm able to select the variable in my data package, assigning a fiscal year variant to it.

The data package is to extract HR data from datasource Employee (0HR_PA_0).

The problem is; no selection is made on CALMONTH when I execute the package, so all data is extracted, instead of the last 12 months. Any idea why this is hapening? I'm 99,9% the code is correct, but somehow the package does not pick it up!

Please help!