Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Script: How to select the currenct date

$
0
0

Hello Experts

    

We do a rolling cash forecast. The cash forecast is done on a daily base, always for the next 240 working days. 

 

 

In order to keep a version of the planning every day, we created a dimension VERSION (Category) with the dates.

 

VERSION  

2015-03-02

2015-03-03 Etc.

 

There is a working version V0 on which the planning is done on. 

 

Now we want to automate that the target version is derived from the system date and this could be done with a data manager.There are not many records per day.

 

Our script would be something like this: 

 

 

*SELECT %CURRENT_DATE% ??????

*when VERSION

*is "0"

*rec(EXPRESSION = %VALUE%,VERSION=%CURRENT_DATE%)

  *endwhen

    

We do not know how to set the “current date”. Do you have a solution to this ?

 

   

Rgds


Viewing all articles
Browse latest Browse all 5414

Trending Articles