Skip to Content
0
Feb 09, 2016 at 03:15 PM

Calculation in write back

36 Views

Hi experts,

I've ready Vadim's post here : http://scn.sap.com/community/epm/planning-and-consolidation-for-netweaver/blog/2014/05/05/calculations-in-write-back-badi--defaultlgf-replacement

I currently have some calculations made by the default, and written regarding the "HowTo Write default logic".

Despite of this, i found that system makes a while at each sent data, and i 'd like to replace that by a write back badi.

I've a dozen of WHEN/ENDWHEN in my script, and one CALC_ACCOUNT execution.

In an other projet i made before, i've already used write back badi.

But, the principle was quite different, because we used it to send data on node.

In my current case, i'd like to make calculation on base level.

I'm quite beginner in Badi Implementation 😉; and i'd like to adapt the standard wrtie badi from the existing How To to make those simple calculations like :

*WHEN SUBGROUP

*IS %LIA_CLAS%

*WHEN ACCOUNT

*IS %CPTE_VOPTE%

*REC(EXPRESSION=%VALUE%,BU=SUBGROUP.BU_DIV)

*ENDWHEN

*ENDWHEN

...

*INCLUDE CALCACCOUNT.LGF

Tks for your tips,

BR,

Olivia.