2008 Oct 10 12:23 PM
I am using function module BAPI_GOODSMVT_CREATE to upload stock for movement types Z61 and Z62. Z61 is used to increase stock and Z62 to decrease it. Now the same i want to modify fir movement types 701 and 702. 701 is used for increase stock & 702 to decrease it. But when i execute the report it is giving me error
"Qty and / or "delivery completed" ind. or final issue ind. are missing". How do i proceed
2008 Oct 10 1:05 PM
Hi Priti,
these are physical inventory movement types. Is this what you are trying to accomplish? If so, use BAPI_MATPHYSINV_CREATE_MULT (to create physical inventory documents), BAPI_MATPHYSINV_COUNT (to enter count for the documents), and BAPI_MATPHYSINV_POSTDIFF (to post the differences between physical inventory and inventory management).
Hi Priti,
these are physical inventory movement types. Is this what you are trying to accomplish? If so, use BAPI_MATPHYSINV_CREATE_MULT (to create physical inventory documents), BAPI_MATPHYSINV_COUNT (to enter count for the documents), and BAPI_MATPHYSINV_POSTDIFF (to post the differences between physical inventory and inventory management).
2008 Oct 10 1:05 PM
Hi Priti,
these are physical inventory movement types. Is this what you are trying to accomplish? If so, use BAPI_MATPHYSINV_CREATE_MULT (to create physical inventory documents), BAPI_MATPHYSINV_COUNT (to enter count for the documents), and BAPI_MATPHYSINV_POSTDIFF (to post the differences between physical inventory and inventory management).
2008 Oct 10 1:33 PM
2008 Oct 10 2:03 PM
Initially i will have to use BAPI_MATPHYSINV_CREATE_MULT,
then after this when i use BAPI_MATPHYSINV_COUNT, i need to pass thephysical inventory document. How do i get the physical inventory document after using BAPI_MATPHYSINV_CREATE_MULT bcoz this BAPI does not export the phys. doc created.
2008 Oct 10 6:21 PM
You're right, BAPI does not return physical inventory documents, but you can search return table for message M7 710 (id = 'M7' and number = '710'). Then, physical inventory is populated at message_v1 of table return
2008 Oct 13 9:59 AM
Now initialy when i use BAPI_MATPHYSINV_CREATE_MULT, i get the physical inven. no. in message_v1 of table return.
Now when i pass this inven. no. to next BAPI to enter count for doc. i.e. BAPI_MATPHYSINV_COUNT, it says that this document does not exist. Then how do i proceed
2008 Oct 28 6:53 PM
hi Priti,
Please do a "commit work" after the BAPi call. Your problem will be solved
2010 Sep 09 11:17 AM
Hi,
I am also using the above mentioned BAPI's. But the BAPI_MATPHYSINV_COUNT return error that the Inventory document does not exists. I am doing a BAPI_TRANSACTION_COMMIT with Wait = 'X' after BAPI_MATPHYSINV_CREATE_MULT. But the DB is not updated. Even I have inseterd a select query like:
DO.
SELECT SINGLE iblnr FROM iseg INTO lv_inventory WHERE iblnr = lv_inventory.
IF 0 = sy-subrc.
EXIT.
ENDIF.
ENDDO.
But, this goes in an infinite loop..
Help !
regards,
Rohan
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |