Skip to Content

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

Caluculate only on and after start month

Hi Experts.

I try to calculate only on and after "Start Month" as property of CATEGORY by default script, but I don't know how to write logic script in following case.

(Version is BPC 10.1 NW classic)

(1)CATEGORY

ID TIMEID

PLAN01 20140500

PLAN02 20140600

PLAN03 20140700

...

TIMEID is one of the properties of CATEGORY and means the start month of the plan.

(2)TIME

ID TIMEID

2014.01 20140100

2014.02 20140200

2014.03 20140300

2014.04 20140400

2014.05 20140500

2014.06 20140600

2014.07 20140700

2014.08 20140800

2014.09 20140900

...

(3)Required area I hope to calculate by default script

  2014.01 2014.02 2014.03 2014.04 2014.05 2014.06 2014.07 2014.08 2014.09 ・・・

PLAN01 x x x x o o o o o o

PLAN02 x x x x x o o o o o

PLAN03 x x x x x x o o o o

・・・

o = calculate by defalut script

x = not calculate

Please advise how to write DEFAULT.LGF without using BADI.

Best regards,

Masa

Tags:
Former Member
replied

Hi Masa,

First option is to recalculate for the whole year for all required categories. If you lock by work status data in the appropriate months - the DM package with script logic will be also be unable to post data to the locked periods. Simply you will get some number of rejected records in the DM log. If it's OK - fine!

If you want to avoid rejected records in log - then it's much more complicated (but still possible).

Vadim

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