Quantcast
Viewing all articles
Browse latest Browse all 5414

Run allocation based on condition matched

Hi SAP friends,

 

I need to run allocation based on condition matched, is it possible with IIF or another statement?

the logical view is below (syntax is wrong):

 

 

 

*RUNALLOCATION

IIF(BAS(ACCOUNT_01)<>0,

*FACTOR = USING/TOTAL

*DIM ACCOUNT WHAT = ACCOUNT_52; WHERE=BAS(ACCOUNT_01); Using=BAS(ACCOUNT_01); TOTAL=BAS(ACCOUNT_01)

,

*FACTOR = 1

*DIM ACCOUNT WHAT = ACCOUNT_52; WHERE=ACCOUNT_10)

 

*ENDALLOCATION

 

thanks a lot.


Viewing all articles
Browse latest Browse all 5414

Trending Articles