Skip to Content
Former Member
Oct 28, 2016 at 01:54 PM

FM to Add new item(Material) in physical inventory document (MI02)


Hi all,

My requirement is to add new item Material in physical inventory document (Transaction MI02 > Edit > new item) using BAPI.

Standard SAP is using FM MB_UPDATE_INVENTORY_DOCUMENT to update physical inventory document. In this FM control parameters XVM07I & L_TIM07I needs to be passed. I have only PI doc header and item details. How to fill data in control parameters. I can fill

L_TIM07I by fetching data from T001, T001W and T001K table. But didn't find any logic to fill XVM071.

This is not released so can I use it ?

Is there any other FM to update PI doc or to insert new item into PI doc.

Thanks & Regards,

Manjiri Kamthe