cancel
Showing results for 
Search instead for 
Did you mean: 

OLAP variable in InfoPackage

Former Member
0 Kudos

Hi Friends,

I am trying to use the OLAP variable option for fiscal year in the data selection tab of an InfoPackage. I would like to use a customer exit variable ZVCFY2 in the InfoPackage. ZVCFY2 depends on a user entry variable ZVUFY2. THe user entry variable has a default value of 2006 and ZVCFY2 has code to populate it with this default value.

When I use ZVCFY2 in the InfoPackage, it fails to make data selection for fiscal year 2006.

Can I assume the reason for the above is because I am using a customer exit that depend on a user entry variable? or am I doing something wrong?

Any help will be greatly appreciated

thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

There are probably some reasons together making this problem.

1. When using OLAP-Variables in InfoPackages I_STEP is filled with '0'. So any statement like

IF I_STEP = 2.

will fail.

2. When you execute an InfoPackage no variable popup appears. So ZVUFY2 will never be handed to the variable exit. So where do you get the default value from? If you read the default value from RSZGLOBV it should work (with the correct step) otherwise post your coding and we will find a way.

Best regards

Dirk