cancel
Showing results for 
Search instead for 
Did you mean: 

Script logic issue for Cash Flow

0 Kudos

Hi Experts,

I was trying to calculate the "Decrease in Account receivables" for Cashflow. Written below script logic but the system is not giving the correct value.

note: Aftet execuring the Script logic thorugh Data Manager Package system is not calculating Arthamatic operation.

*XDIM_MEMBERSET ENTITY = %ENTITY_SET%
*XDIM_MEMBERSET ZVERSION = %ZVERSION_SET%
*XDIM_MEMBERSET ZTIME = %ZTIME_SET%
*XDIM_MEMBERSET ZACCOUNT = A3,CF_102
*XDIM_MEMBERSET FLOW = Balance
*XDIM_MEMBERSET ZSCOPE = S_None
*XDIM_MEMBERSET RPTCURRENCY = LC
*XDIM_MEMBERSET ZAUDITTRAIL = Input
*WHEN ZACCOUNT
*IS A3
*REC(EXPRESSION = %VALUEUE%-([ZACCOUNT].[A3],[ZTIME].[%YEAR%(-1).12]),ZACCOUNT = CF_102)
*ENDWHEN
*COMMIT

Can anyone help me on this issue.

Best Regards,

Gowtham.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186338
Active Contributor
0 Kudos

First - please read: https://blogs.sap.com/2014/01/31/how-to-ask-questions-about-script-logic-issues/

And provide all required info.

Second - I do not recommend to use %YEAR% variable, previous year has to be calculated depending on %ZTIME_SET%