Extrapolation	with	Periodic	
Consumption	
Recently a query was raised in SDN. http://scn.sap.com/thread/3289705

Have pasted it below for followup.




                                                    Query in SDN


This was an interesting learning as I didn't have any idea that we had such an option available. :)

Below screenshots and subsequent text show how it works. Probably it shall help others (as it helped me)
as would the SDN post in getting clarification on how this is done.
The BAdi is ‘ISU_USE_EASTE’. Method is ‘USE_EASTE’. Use transaction SE18 to check this.




                                            BAdi ISU_USE_EASTE


Use Transaction SE19 to create an implementation for the above BAdi.




                                             BAdi Implementation


Use Transaction SE24 to open the implementation class.
SE24 : Class Builder


Enter the following code in the method ‘USE_EASTE’.




                                                 Code in the Method


Activate everything now. Now let’s check with a master data. The Contract is a new one, so the first meter
reading would anyways be a ‘periodic consumption’.




                                                Move-In on 01012011


First Reading estimate.
First Meter Reading


Now the second reading estimate.




                                        Second Meter Reading


So for the second reading also it estimates based on periodic consumption. Now I have
deactivated the Implementation.
Implementation not Active


Let’s check again. First reading would anyways be ‘periodic consumption’.




                                                First Meter Reading


Now lets the check the second reading.
Second Meter Reading


So with the Implementation deactivated, the meter reading is extrapolated with the past meter reading
results. So the BAdi works.

I think we can try many things in here. Again interesting learning. :)

Anyways credit to people involved in the SDN post, no copyright infringement intended from my side. :)

Blog: http://sapisurdg.wordpress.com/

Extrapolation with Periodic Consumption

  • 1.
    Extrapolation with Periodic Consumption Recently a querywas raised in SDN. http://scn.sap.com/thread/3289705 Have pasted it below for followup. Query in SDN This was an interesting learning as I didn't have any idea that we had such an option available. :) Below screenshots and subsequent text show how it works. Probably it shall help others (as it helped me) as would the SDN post in getting clarification on how this is done.
  • 2.
    The BAdi is‘ISU_USE_EASTE’. Method is ‘USE_EASTE’. Use transaction SE18 to check this. BAdi ISU_USE_EASTE Use Transaction SE19 to create an implementation for the above BAdi. BAdi Implementation Use Transaction SE24 to open the implementation class.
  • 3.
    SE24 : ClassBuilder Enter the following code in the method ‘USE_EASTE’. Code in the Method Activate everything now. Now let’s check with a master data. The Contract is a new one, so the first meter reading would anyways be a ‘periodic consumption’. Move-In on 01012011 First Reading estimate.
  • 4.
    First Meter Reading Nowthe second reading estimate. Second Meter Reading So for the second reading also it estimates based on periodic consumption. Now I have deactivated the Implementation.
  • 5.
    Implementation not Active Let’scheck again. First reading would anyways be ‘periodic consumption’. First Meter Reading Now lets the check the second reading.
  • 6.
    Second Meter Reading Sowith the Implementation deactivated, the meter reading is extrapolated with the past meter reading results. So the BAdi works. I think we can try many things in here. Again interesting learning. :) Anyways credit to people involved in the SDN post, no copyright infringement intended from my side. :) Blog: http://sapisurdg.wordpress.com/