Does anyone have a solution to Sanu's original posting above? I am trying to write an ABAP to replace MI11 for recounts. The FM IVIEW_SM_INV_RECOUNT performs all of the functionality needed (resets block indicator, flags existing Phy Inv Doc line items as recount, etc.).
However, the creation of the new Physical Inventory document is within the line item loop, so it is creating a unique document with one line item for every line item we are flagging for recount. We need to flag individual line items on an existing document and have only one new document created with just those line items in it, not separate documents.
Thanks, Jack