SAP stocktaking process

Here is the SAP stocktaking process using the AVB – Import SAP Stocktake Excel program.

The first step is to create a PID (physical inventory document) in SAP.  There are a few ways to do this, below shows the method using transaction MI31.  Enter the materials you wish to count, the SLOC, and whether you want Unrestricted Stock only etc.

MI31 Setup a count

When you have made your selections, press the execute button to proceed.  Highlight all the lines you want to count and press the ‘Create Documents Directly’ button, they should all turn green and the ‘PhysInvDoc’ column will populate with the PID number.  Take note of this number, or press CTRL+Y and highlight the number, then press CTRL+C to copy it into your memory.

2 - MI31 Create a count

Open the AVB – Import SAP Stocktake Excel spreadsheet.  Right-Click anywhere in the PID tab and click on ‘Download PID’.

3 - Right-Click in PID tab

The sheet will clear itself of any existing data, and present the following pop-up box:

3 - Enter SAP PID number

Enter the PID number into the pop-up box, and press ok.  The PID details will now be imported into the spreadsheet (the below example has its data blurred out).

4 - Print the count sheet and perform the inventory count

You can now treat the document as a regular spreadsheet, the print margins will be setup automatically as well as a formula to calculate the difference qty.  You can apply filters to sort by the storage bin, or any other way you wish.

5 - Apply a filter

Print the sheet, and perform the count of the materials.  When you have the sheet back, enter the results into the ‘Counted Qty’ column, noting the running totals in column L and adding comments as you go.

6 - Enter the count results

When you are satisfied with the count, right click anywhere in the PID tab and click ‘Upload PID’

7 - Right-Click in PID tab

The counted qty will now be uploaded to SAP.

8 - Count is uploaded

Go to transaction MI20 and post the count.

9 - MI20 check and post the results

10 - post

The count is then complete, with the posted differences the same.


SAP stocktaking process

Here is the SAP stocktake procedure using the AVB upload tool.

The first step is to create your count in SAP which will give you a PID number.

There is a good guide here showing how to do this.  Scripting also needs to be turned on, here is a guide on this.

Once you have a PID number, open the spreadsheet. On the ‘Options’ tab, set you plant, slot, fiscal year, and whether you want a blind count or not.

Head back to the ‘PID’ tab and right click on a cell. Select ‘Download PID’. The details of the count you set up will be extracted into the tab.

Print the sheet, and use this as your count sheet and perform the stocktake.

Enter the result directly into the ‘Counted Qty’ column. Perform any recounts or double checks, and when you are happy with the result, right click in a cell and select ‘Upload PID’.