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

Run allocation on condition

$
0
0

I want to run allocation logic on condition.

 

My allocation logic is as follows:

 

//  COPYING ABOVE RATE TO ALL HQs

*XDIM_MEMBERSET TIME = BAS(%TIME_SET%)

*XDIM_MEMBERSET CATEGORY=Actual

*XDIM_MEMBERSET ZVALUATION = RATE

*XDIM_MEMBERSET ACCOUNT = PL010

*XDIM_MEMBERSET RPTCURRENCY = <ALL>

 

 

*RUNALLOCATION //COPYING RATE FROM NO_HQ TO ALL HQ

  *FACTOR = 1

  *DIM ZHQ_CNTRY_CUST WHAT = NO_HQ; WHERE=BAS(ALL_HQ)

*ENDALLOCATION

*COMMIT

 

What above script does is just copies data from "NO_HQ" and replicates it on BAS(ALL_HQ)

 

But I want to copy the rates to BAS(ALL_HQ) on condition that member of ALL_HQ should have value in ZVALUATION=VALUE

 

Eg:

ZVALUATIONVALUERATE
ZHQ_CNTRY_CUST(Data available from BWRemark
NO_HQ50calculated by different logic script
HQ15000050Want to copy rate
HQ20Don’t want to copy rate
HQ36000050Want to copy rate
HQ49000050Want to copy rate
HQ50Don’t want to copy rate

Viewing all articles
Browse latest Browse all 5414

Trending Articles