Quantcast
Channel: SCN : All Content - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5457

Copy Value using Logic Script

$
0
0

Hi All,

 

I have scenario whereby the value in the period need to be replicated to the next periods until period 12. For example,

 

      Source DataTarget Data
Period 110001000
Period 21500=1000+1500
Period 33000=1000+1500+3000
Period 44000=1000+1500+3000+4000
Period 54500=1000+1500+3000+4500
Period 60=1000+1500+3000+4500
Period 70=1000+1500+3000+4500
Period 80=1000+1500+3000+4500
Period 95000=1000+1500+3000+4500+5000
Period 100=1000+1500+3000+4500+5000
Period 110=1000+1500+3000+4500+5000
Period 120=1000+1500+3000+4500+5000

 

So if there is value in period 1, it will be replicated in the next periods (2,3,4...)until period 12,

If there is value in period 2, it will be replicated in the next periods (3,4,5....) until period 12, and etc

 

How do I script the logic if the logic need to be called in the data package?

 

I am thinking to use the allocation, but not sure how to create a dynamic variable to tell the system if TIME=2016.01  then WHAT is 2016.01 and WHERE is 2016.02 onwards, if TIME=2016.02 then WHAT is 2016.02 and WHERE is 2016.03 onward.

 

 

*RUNALLOCATION

*FACTOR = 1

*DIM TIME WHAT = 2016.01 ;WHERE = 2016.02; Using = <<<

*ENDALLOCATION

 

Appreciate your help.

Thanks


Viewing all articles
Browse latest Browse all 5457

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>