Skip to Content
0
Former Member
Nov 13, 2012 at 12:49 PM

This code works only in the debugger (UJKT)

111 Views

All,

the following simple code works perfectly into UJKT.

It is used to calculate the GROSS SALES VALUE as result of SALES VOLUME x Single COST OF SALES of a PRODUCT( The product has no entity and no customer ) .

So in UJKT it works fine, no matter of the data region specified.

*XDIM_MEMBERSET ACCOUNT=<ALL>

*XDIM_MEMBERSET PRODUCT=<ALL>

*XDIM_MEMBERSET TIME=<ALL>

*XDIM_MEMBERSET ENTITY=<ALL>

[ACCOUNT].[#CoGS_Calc]=[ACCOUNT].[SalesVol]*([ACCOUNT].[CoGS],[ENTITY].[NONE_ENT],[CUSTOMER].[NONE_CUST])

*COMMIT

But when I try to trigger this code from an input schedule, it does NOTHING.

To be sure, I changed the data region of my input schedule, to be the same as the data region of UJKT.

The record ACCOUNT.COGS_CALC value is EMPTY when I do each trial, so there is no influence from any other data record. The ACCOUNT.SALESVOL has value and the ACCOUNT.COGS ( none, none) has value.

I am in NW 7.5 ( SP06).

Tnx, any reply much appreciated.