Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Need help in Scrip Logic code

$
0
0

Hi friends ,

 

I have written below script logic code for posting values from multiple accounts into a single account,

 

the total value from the accounts 410000,410010,410020,420000,430000,440010,440020,450000 need to be copied to account named SALES_R .

 

the issue iam facing here is the total value is getting doubled and getting posted to new account ..

 

When i run the accounts individually ,the code is working good but when i run on total set of accounts iam facing the issue ..

 

This is the code iam using ..

 

*XDIM_MEMBERSET CURRENCY = %CURRENCY_SET%

*XDIM_MEMBERSET TIME = %TIME_SET%

*XDIM_MEMBERSET VERSION = %VERSION_SET%

 

 

*WHEN ACCOUNT

*IS SALES_R

*REC(EXPRESSION = 0)

*ENDWHEN

 

 

*WHEN ACCOUNT

*IS 410000,410010,410020,420000,430000,440010,440020,450000

*REC(EXPRESSION = %VALUE%,ACCOUNT = SALES_R)

*ENDWHEN

 

 

*COMMIT

 

Attached are the screenshots of the values before and after the script execution ..

 

I need your valuable inputs for fixing this issue ..

 

regards,

Ravi

 

 

 

 

,


Viewing all articles
Browse latest Browse all 5414

Trending Articles