cancel
Showing results for 
Search instead for 
Did you mean: 

Default script logic giving triple the calculation

0 Kudos
114

Hi community,

Below Some background:

BPC 10.1 on DB2, (Non -HANA).

Default Script Logic :

NI_TO_CRE.LGF - as below

Problem Statement :

When we load Delta from BW staging Cube - /CPMB/LOAD_DELTA_IP the script is executed correctly no selection here.

We had to run full load to fix 3 company codes when we ran the full /CPMB/LOAD_INFOPROV_UI - the RE calculation is tripled only difference is we ran the full with company selection the delta has no company selection ?

any help appreciated.

Tarun

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Here is the Rule, only reason I didn't provide the rule was thinking it works for Delta. Here goes the rule

We have 2 nodes Current year for Net Income .

thank you,

Tarun

0 Kudos

// This script contains the logic which is executed whenever data is loaded via Data Manage Package or Input template.
// The currency translation logic is not added since the USD value will come for all the companies from ECC
// part of the data load via BW to BPC.

*INCLUDE NI_TO_CRE.LGF

//For running the account calculation business rules NI_TO_CRE.LGF

*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = %CATEGORY01_SET%
//CURRENCY = %RCURRENCY01_SET%
TID_RA = %TIME01_SET%
OTHER=[COMPANY01=%COMPANY01_SET%;GROUP01=%GROUP01_SET%]
CALC = NI_TO_CRE
*ENDRUN_PROGRAM

0 Kudos

Above Text is the Code for the 2 logic files.

former_member186338
Active Contributor
0 Kudos

Sorry, but you are not providing Rule setup... How it's possible to help you?

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

0 Kudos
thanks Vadim, what do you mean ? You mean do I check my calculations or you mean there is something wrong with my question ? If there is something obvious I am not seeing and the Arrow in your response is not showing any image ?

Tarun

former_member186338
Active Contributor
0 Kudos

No image! And it's better to show code not as image but as code - using "Insert Code" button like:

Some code

...
former_member186338
Active Contributor
0 Kudos

Script text is missing!!!

Do you look on your post results?