Skip to Content
0
Jul 27, 2016 at 07:22 AM

check value in script logic - NW Version 10.1

46 Views

Hi Experts

Need your help.

I'm trying to check value using following expression but failed.

I need to check value for one account, and :

- if value is < 0 , store it 's partner's data on INPUT2 member

- if value is >= 0 , just do nothing

my expression :

*SELECT (%ALL_PARTNERS%,"[ID]",PARTNER,"CALC='' AND ENTITY <> '' ")

*XDIM_MEMBERSET ACCOUNT = R6600B

*XDIM_MEMBERSET PARTNER = %ALL_PARTNERS%

*FOR %P% = %ALL_PARTNERS%

*REC(EXPRESSION=%VALUE%<0) ? AUDITRAIL=INPUT2,PARTNER=%P% : "" )

*NEXT

In what case, do I need to make this steps :

1. Transaction SPRO
2. Goto 'Planning and Consolidation' -> 'Configuration Parameters' -> 'Set Global Parameters'
3. Change the value 'K2_CALC_ENGINE' to 'ABAP'. Create it if does not exist.If you want to switch engine back to Java Script change the value from 'ABAP' to 'JS'

Tks for your help,

Olivia