cancel
Showing results for 
Search instead for 
Did you mean: 

Script logic Issue

0 Kudos

after-running-script-f-headcount.pngafter-running-script-pl99.pngbefore-script.pngHi All,

we have a script logic to move the numbers to flow F_headcount to flow PL99.

this is the script

//Clears the Headcount Closing Position
*XDIM_MEMBERSET AUDITTRAIL = <ALL>
*XDIM_MEMBERSET ACCOUNT = Japanese Secondee FTE_CB,Payroll Contractor FTE_CB,Standard Full Time FTE_CB,Standard Part Time FTE_CB,Japanese Secondee HC_CB,Payroll Contractor HC_CB,Standard Full Time HC_CB,Standard Part Time HC_CB
*XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
*XDIM_MEMBERSET TIME = %TIME_SET%
*XDIM_MEMBERSET COSTCENTER = <ALL>
*XDIM_MEMBERSET RPTCURRENCY = <ALL>
*XDIM_MEMBERSET PARTNERPC = <ALL>
*XDIM_MEMBERSET PROFITCENTER = <ALL>
*XDIM_MEMBERSET TRADINGPARTNER = <ALL>
*XDIM_MEMBERSET COMPANYCODE = <ALL>
*XDIM_MEMBERSET FLOW = PL99 *WHEN FLOW
*IS PL99
*REC(FACTOR=0)
*ENDWHEN
*COMMIT

*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = %CATEGORY_SET%
RPTCURRENCY=LC,GBP
//Need GBP to bring the opening cash balance for the year for LC and GBP, other CF balances will be overwritten by Currency translation
TID_RA=%TIME_SET%
CALC=HEADCOUNT
*ENDRUN_PROGRAM

Business rule

After running this script it posts correct numbers to flow PL99, however flow F_Headcount numbers also changing after script run(numbers getting doubled for my source flow).

Please find attached results after running this script.

Could you please help me on this.

Version :BPC 10 Netweaver

BW 730 SP07

Thank you in advance.

Regards,

Srikanth

View Entire Topic
former_member186338
Active Contributor
0 Kudos

I have already told you that the script and rule are OK!