sap isu validation class : comparison of n periods

3

Click here to load reader

Upload: rakesh-dasgupta

Post on 25-May-2015

551 views

Category:

Technology


1 download

DESCRIPTION

SAP ISU Device Management : Validation Class : Absolute Tolrenace Limit : Comparison of n periods

TRANSCRIPT

Page 1: SAP ISU Validation Class : Comparison of n periods

ValidationClass:Comparisonofn

PeriodsinAbsolutetolerancelimit

ThispostisacontinuationofapreviouspostonValidationClass:AbsoluteTolerance.

Bloglinkishere.

Slidesharelinkishere.

Extendingtheconceptfurtherwehaveasimpleparametertomaintaininthecustomizing

which pertains to ‘n-number of comparison periods’. The F4 help states that the system

uses the expected consumption from the previous period to check whether the current

consumptioniswithintolerancelimits.SoinlaymantermswhenIhavedefinedn=3inthe

customizing then I would have 3 previous periods for tolerance limit checks. So if my

actualconsumptionfallsinanyofthelimitsthenit’saplausibleconsumption.

PrettyNeatrite.☺

Page 2: SAP ISU Validation Class : Comparison of n periods

The above screen shot shows us the 3 periods of the Tolerance limits (absolute). Asmy

currentmeterreading(1500units)doesn’t fallwithinanyofthegiven3periodrangesit

hasfailedthevalidation.

Thevalidationcheckisdonebythesystemafterithasexecutedtheestimationrun.Soeven

if n ismaintained as 0 or 1, itwill always have a single entrywhichwould the ‘original

period’. If n > 1 then systemwould go back into the consumption history to fetchmore

entries.TheBaseperiodcategorymatterswhichismaintainedintheInstallation.Hereit’s

maintained as ‘previous period’. The meter reading unit maintained in the Installation

mattersasitgivesustheperiodlengthforn.Heretheperiodlengthis1month.

Here is theconsumptionpatterntilldateandweareestimatingthemeterreading for1st

July2013.

Soaccordinglythesystemwillproposethefollowingconsumption.

(300units / 31days) *30days=290units (truncated).The calculation forbaseperiod

checkisnotshownhere.

Consumptionfortheperiod1stMay2013to1stJune2013is300units

Numberofdaysintheforecastperiod(1stJune2013to1stJuly2013)is30days

Numberofdaysintheoriginalperiod(1stMay2013to1stJune2013)is31days.

The absolute tolerance limits are maintained as +/- 10 units.

SowritingthisdowninTolerancelimitranges

ExpectedConsumption290

units

MinimumConsumption280

units

MaximumConsumption300

units

ExpectedMeterReading

1690units(1400+290)

MinimumMeterReading

1680units

MaximumMeterReading

1700units

Page 3: SAP ISU Validation Class : Comparison of n periods

Thisalsodefinesthefirst comparison period.

Forthesecond comparison period which would come after the first period i.e. 2nd April 2013

to 1st May 2013

Consumption of the period (1st April 2013 to 1st May 2013) is 190 units for 31 days

Adding previous period per day 9.677 (300/31), so per day it comes to 199.677/31= 6.441

The number of days in first period is 30 days. So the consumption for the first period is

6.441 * 30 = 193.236 which is truncated to 193 units.

So writing this down in Tolerance limit ranges

Expected Consumption 193

units

Minimum Consumption 183

units

Maximum Consumption 203

units

Expected Meter Reading

1593 units (1400+193)

Minimum Meter Reading

1583 units

Maximum Meter Reading

1603 units

This defines the second comparison period.

Estimated Consumption for the third comparison period (2nd March 2013 to 1st April 2013)

Consumption of the period (1st March 2013 to 1st April 2013) is 330 units for 31 days

Adding previous period per day 6.333 (190/31), so per day it comes to 336.333/32 =

10.510

The number of days in first period is 30 days. So the consumption for the first period is

10.510 * 30 = 315.313 which is truncated to 315 units.

So writing this down in Tolerance limit ranges

Expected Consumption 315

units

Minimum Consumption 305

units

Maximum Consumption 325

units

Expected Meter Reading

1715 units (1400+315)

Minimum Meter Reading

1705 units

Maximum Meter Reading

1725 units

This defines the third comparison period.

So combining all if my meter reading is within 1583 units to 1725 units then it’s a plausible

reading. So the definition of n would depend on the Business requirements on how many

periods they are ready to compare.

That’s it. Thanks ☺