Skip to Content
0
Former Member
May 07, 2012 at 06:37 AM

Key date variable determined by user exit

1009 Views

Hi BEx experts

We have a challenge to get resolved.

In the table below you see 0CALDAY, ZCALDAY and an employee (0EMPLOYEE).

0CALDAY ZCALDAY Employee 01.02.2012 31.01.2012 Mr. James Bond 02.02.2012 01.02.2012 Mrs. Money Penny 03.02.2012 02.02.2012 Mr. Q

ZCALDAY should be determined through 0CALDAY. ZCALDAY should finally also be used as key date variable feeded through a customer exit which calculates the day before 0CALDAY.

At which place in the Query designer must we define the variables?

I got confused when I tried to define a variable with replacement path in the key date area of the query. There you have to use 0DATE as reference characteristic. Under "Replacement path" you can use a query or another variable.

In our query we don't use a variable for 0CALDAY, only for 0CALMONTH (interval).

How can I solve this problem? Is it possible to calculate for each row another key date through my key date variable in order to use time-dependent master data of 0EMPLOYEE?

thanks

C208