How System Will Replace The Counter Reading

I had created Measuring Point which is cumulative in nature and the Counter Overflow reading is 999999. Suppose the last reading was 999900. Now my today reading is 500 then system is showing total counter reading 10000400.  My question is "how system will replace the counter reading as 401 automatically instead of 10000400". I don't want to replace the counter manually.

You should have chosen the counter overflow reading as 10000000 and not 999999. What happens is that when you set the overflow reading as 999999, the system stops counting beyond 999999. So, 999999 becomes the new zero. An increment of 1 above 999999 becomes 0+1 = 1.  Now consider your case:  1000400 is 401 units above your counter overflow reading of 999999.   So, the new counter reading is new zero plus 401 (0+401 = 401).

To set the process right, you do not need to replace the counter.  Instead, set the counter overflow reading as 1000000. This will take care of not only this instance, but also, in future instances.

Is it possible for system to reset the counter replacement as zero when reading cross the total over counter reading?

There is no need for resetting the counter reading to zero through counter replacement. In fact, that is exactly what is being taken care of by the system through counter overflow.

If you see the measurement document list against your measuring point in IK17, you will find that there are two columns : Meas/Totcounterrdg & Counter Reading. The first one keeps track of the total life or usage of the counter or equipment in question. The second gives the counter reading as displayed on the counter.

If you are not using the concept of counter overflow, and lets say the physical counter has a limit of 3 digits. As soon as 999 is crossed, the physical counter will show 1000 as 0. When the end user tries to enter subsequent counter reading as, say 5, system will throw an error. In this case, the user has to 1. First enter 1000 as a normal measurement document 2. Enter a counter replacement from 1000 to 0 3  Enter another normal measurement document with Counter reading 5 For the last measurement document, the Meas/TotCounterrdg will now become 1005, and will show the total usage of the counter till measurement date.

To avoid all these steps, we have a facility of counter overflow in SAP. We just need to specify the counter overflow as 1000. Whenever the Counter reading entered is less than the last entered counter reading, the system proposes a counter overflow (warning message). Upon acknowledging the message, it increases Meas/Totcounterrdg by 1000.

You can test both the processes in sandbox :

First, do not specify any counter overflow reading in the measuring point master data, and do the counter replacement at 1000. Second, specify counter overflow reading as 1000, and enter measurement documents leading to an overflow. You can see via ik17, that the system response is similar in both the cases.

Read also :-
Refurbishment Process In SAP PM

SAP Reference Books :-
SAP PM, CO, FI, PP, SD, MM, PS, QM, SM, HR, BW, APO, Basis,  ABAP/4, Certification, Books

Back to SAP PM :-
SAP PM (Plant Maintenance) Hints and Tips

Return to :-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.gotothings.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.