SAP BLOG New Inventory Ageing report

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,925
Tepki puanı
7
Puanları
6
Introduction:


Inventory ageing report gives an overview about the distribution of available stock of materials from over a period of time, from a selected key date in reverse chronological manner.

For example, a particular material might have a stock of 100 PCS on a selected key date. This stock could have been purchased in 2 lots of 50 and 50 between 6 to 12 months and before 12 months. This material might not have been consumed and laying in stock as non moving item.

This report aims at giving details of such stock distributions plotted over different periods known as buckets.

By segregating and analysing such materials, the finance and purchasing teams will be able to plan and manage inventories in an efficient manner.

The buckets of time could be anything within a month, within 6 months or for more than a year .

How the New Inventory ageing report logic differs from the regularly used custom ageing reports:


img0.png


Brief overview of the logic employed in the new ageing report:


The report does three activities predominantly.

  1. Calculating the stock of the material on a selected key date.
  2. Deriving the periods of time, otherwise known as buckets like stocks within a month, within 2 months….etc, dynamically based on the inputs given on the selection screen.
  3. Calculating the stocks of the material in the various bucket periods, arrived in previous step, and giving the output.



Logic of working in detail:


Please refer the input screen.

  1. Once the plant / material types and key date is entered, valid materials in the selected plant and material type are fetched.

img1.png


The encircled (red) fields represent the buckets or periods to be analysed.

The buckets are flexible, and can be changed by user as per requirement.

For the above entered combination of buckets and key date, the ageing buckets derived automatically by the system will be like:

BucketsIn monthsFrom Year / periodTo Year period
1Within 1 month2019 / 112019 / 12
2Between 1 to 2 months2019 / 102019 / 11
3Between 2 to 3 months2019 / 092019 / 10
4Between 3 to 6 months2019 / 062019 / 09
5Between 6 to 12 months2018 / 122019 / 06
6Greater than 12 months2018 / 12



  1. Calculation of material stock on key date:

Note: The company code in example uses an april to march fiscal year period.

Pass the material / plant (bwkey) field to MBEW table and fetch fiscal year and period.

img2-1.png


The year / period for material as per MBEW is 2020 / 01, and year / period of the key date given (31.03.20) is 2019 / 12.

  1. If the year / period fetched in MBEW is greater than key date year / period, we need to take the stock on key date by passing the respective key date year / period to MBEWH table and get the stock from LBKUM field.
  2. If the year / period fetched in MBEW is less than or equal to the year / period of key date then fetch the stock of the material from LBKUM field of MBEW table. This is the key date stock in this case.

3. Constructing the stock details for missing periods per fiscal year.

Please note the below screen shot.

Material code is 11990003 and plant is 2001.

img3-1.png




Fiscal Year 2019 has one entry for period 12. There no entries for other periods in year 2019. Similarly in fiscal year 2018, periods stocks in 12, 11, 10, 6, 5 are only listed.

The logic for building the stock details in missing year / period is as below:

The stocks in year / periods not listed have same stock as that of immediately available / listed year / period above the missing period.


If we take year 2017, we have stocks on period 10 and 12. But details for year 11 is missing.

As per above logic the stock in period 11 is simply the stock in immediate available period just above 11, i.e 12 which is 18,219.00.

Note: 2017 / 11 is 28.02.18 and 2017 / 12 is 31.03.18.

Stock on 31.03.18 for material 11990003 in plant 2001:

img4-1.png


Stock on 28.02.18 for material 11990003 in plant 2001:

img5-1.png


The stock details are built for the periods determined automatically by the system in step 1.



4. Building the bucket stock information.

The bucket stocks are filled using following logic.

BucketsFrom Year / periodTo Year periodBucket stock derivation
12019 / 112019 / 12Stock in period 2019/12 – stock in period 2019/11
22019 / 102019 / 11Stock in period 2019/11 – stock in period 2019/10
32019 / 092019 / 10Stock in period 2019/10 – stock in period 2019/09
42019 / 062019 / 09(Stock in period 2019/09 – stock in period 2019/08) + (Stock in period 2019/08 – stock in period 2019/07) + (Stock in period 2019/07- stock in period 2019/06).
52018 / 122019 / 06
(Stock in period 2019/06 – stock in period 2019/05) + (Stock in period 2019/05 – stock in period 2019/04) + (Stock in period 2019/04- stock in period 2019/03) +

(stock in period 2019/03 – stock in period 2019/02)+

(Stock in period 2019/02 – stock in period 2019/01)+

(Stock in period 2019/01 – stock in period 2018/12).
62018 / 12Stock in period 2018/12.



Here for e.g., stock in period 2018/12 means stock at end of the 2018/12.



To check above logic with standard MB5B.

Suppose we have input bucket months as 24, 48, 54, 72, 96 for material 11990003.

img6-1.png




The bucket details will be as below.

BucketsIn monthsFrom Year / periodTo Year period
1Within 24 month2017 / 122019 / 12
2Between 24 to 48 months2015 / 122017 / 12
3Between 48 to 54 months2015 / 062015 / 12
4Between 54 to 72 months2013 / 122015 / 06
5Between 72 to 96 months2011 /122013 /12
6Greater than 96 months2011 / 12



Converting the year / period info to dates.

Bucket 1: 2017/12 – 31.3.18 2019/12 – 31.3.20

Bucket 2: 2015/12 – 31.3.16 2017/12 – 31.3.18

Bucket 3: 2015/06 – 30.9.15 2015/12 – 31.3.16

Bucket 4: 2013/12 – 31.3.14 2015/06 – 30.09.15

Bucket 5: 2011/12 – 31.3.12 2013/12 – 31.3.14

For bucket 6 the stock on 2011/11 – 31.3.12 is taken.



The ageing report output obtained is :

img7-1.png


Comparing the above report with standard MB5B within the same periods:



Stock on key date 31.3.20 as per report : 19319.

Stock as per MB5B.

img8.png




Bucket 1 period stock comparison:

Bucket 1 period : Bucket 1: 2017/12 – 31.3.18 to 2019/12 – 31.3.20

Note: For bucket stock calculation , the difference of total goods receipt and issues within the period must be considered in MB5B.



Stock as per report : 1100.

img9.png


Stock as per MB5B: (1100 = 1100 -0) / (Total Receipts – Total issues) in this period.

img10.png


Bucket 2 period stock comparsion:

Bucket 2 period: 2015/12 – 31.3.16 to 2017/12 – 31.3.18

As per report: 150.

img11-1.png


As per MB5B: (150 = 180 – 30)

img12.png


Bucket 3 period stock comparison:

Bucket 3 period : 2015/06 – 30.9.15 to 2015/12 – 31.3.16

Stock as per report : 14846.5

img13-1.png


As per MB5B : (14846.5 = 14850.5 – 4)

img14-1.png




Bucket 4 stock comparison:

Bucket 4 period: 2013/12 – 31.3.14 to 2015/06 – 30.09.15

Stock as per report: 3222.5

img15.png


Stock as per MB5B : (3222.5 = 6958.5 – 3736)

img16.png


Bucket 5 stock comparison:

Bucket 5 period: 2011/12 – 31.3.12 to 2013/12 – 31.3.14

Stock as per report: 0

img17.png


Stock as per MB5B: 0.

img18.png


Bucket 6 stock comparison:

Bucket 6 is stock on 2011 / 11 – 31.3.12.

Stock as per report : 0.

img19.png


Stock as per MB5B: 0

img20.png


Sum of bucket stocks matches with stock on key date.

img21.png


Summarizing:

We saw how to check if a material is slow moving, fast moving or non moving item, in a very simple manner using combination of valuated stock tables MBEW / MBEWH.

In my experience of developing this report using MKPF / MSEG tables, often it was a question of accuracy vs performance. If more accuracy is needed, it was required to all the movement types executed for the material. In doing so however, performance use to take a hard hit.

This new logic however bridged the gap and now both accuracy and performance are equally achievable.

Even if it is felt that employing MKPF / MSEG tables have more choices to play with, but in my opinion even this report will be giving only a overview of stock information and a actual drill down will be required to micro analyse the material movement.

This said so, we can say that the same results are achievable in a swift manner using the new logic.






Okumaya devam et...
 
Üst