Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Script: How to select the currenct date

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

Former Member
replied

Hi,

There is no %CURRENT_DATE% variable...

You can implement RUNLOGIC_PH and change the code in order to launch script with the current date...

Vadim

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question