Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Re: BEx Query to calculate Individual's experience

$
0
0

Hi,

 

To deal with that, you need to create a formula variable with CUSTOMER EXIT as it PROCESSING BY, let's call it ZCUR_DATE..Then create a CMOD which will get the current date..

 

Step 3.PNG

 

Convert a Characteristic into a Key Figure (BEx) | SCN

 

 

 

Create another formula variable, let's call it ZCHECK_YEAR (refer again on the document above)..

 

But in the OFFSET LENGTH, type 4 instead of 8..

 

Step 4.PNG

 

Create a formula, let's call it ZFORM_CHECK, and put your formula variable ZCHECK_YEAR on it..

 

Afterwards, create antoher formula, let's call this ZFINAL_END_DATE, and type this logic:

 

( ZFORM_CHECK = 9999 ) * ZCUR_DATE + END_DATE

 

 

NOTES:

1. I assume that you already have a KF for your START_DATE and END_DATE..

2. END_DATE in the logic above is the converted KF your object END_DATE

 

 

Regards,

Loed


Viewing all articles
Browse latest Browse all 9164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>