Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi for creating the entry in physical inventory (MI10).

rishi_kulkarni123
Participant
0 Kudos
3,944

hello guys,

I am searching for the BAPI to create the entry in physical inventory and I am using the following BAPI.

BAPI_MATPHYSINV_CREATE Create a physical inventory document.

BAPI_MATPHYSINV_CREATE_MULT Create a physical inventory document.

but now the problem is I don't know where to pass the quantity of material in BAPI, so i kindly request you to please help me to solve this issue .

5 REPLIES 5
Read only

former_member1716
Active Contributor
0 Kudos
2,995

Hello RUSHABH KULKARNI,

I have written a blog on the complete Physical Inventory Process. You Can go through my blogs below for Physical Inventory Done at Inventory and Ware House.

Hope you get a complete Understanding!

Overview Guide For Physical Inventory

Physical Inventory with respect to WM

Physical Inventory with respect to MM --> This should posses the details of your Requirement, still i would suggest you to Go through Overview Blog as well!

Regards

Read only

0 Kudos
2,995

I AM NOT GETTING IT I GONE THROUGH YOUR LINK BUT IN THAT I DIDNT GET THE QUANTITY RELATED FIELD

Read only

0 Kudos
2,995

Hello RUSHABH KULKARNI,

In that Blog Under Technical Cycle heading i have clearly mentioned the steps needed to implement the solution:

Let me Summarize here again:

You need to Call Two BAPIs as explained below:

1) First Call BAPI BAPI_MATPHYSINV_CREATE_MULTI , This BAPI is called for creating Physical inventory document.

2) Once Physical inventory document is successfully created you can proceed with BAPI BAPI_MATPHYSINV_COUNT, in this BAPI we will be entering the Quantity value. Details of the FM is given below.

Now let us discuss on what needs to be fed to the BAPI for successful count of Inventory document number.

FieldValuesPHYSINVENTORYInput the physical inventory Document Number that has been generated in the above step.FISCALYEARCurrent Fiscal Year during which this cycle is runCOUNT_DATEThis must be date on which the count was made for the materials, usually the current date.

The table ITEMS should be fed as below, Initially this table must be only filled with below fields:

  • ITEM = Item Number which must incremented from 1 up-to maximum of 333.
  • MATERIAL = Materials that are involved
  • ENTRY_UOM = UOM using which the count is made.
  • ENTRY_QNT = Respective Quantity against the Material. --> Enter the Quantity Here.
  • ZERO_COUNT = In case if the quantity is Zero then this Indicator Must be marked as X.

I recommend you to go through the Technical Cycle in the below Blog, I have explained the details clearly there.

Physical Inventory with respect to MM

Kindly let us know if you are facing any challenge.

Regards!

Read only

0 Kudos
2,995

yes still there is problem the stock is not reducing in mmbe

Read only

rishi_kulkarni123
Participant
0 Kudos
2,995

bapi for the following t-code