Skip to Content
author's profile photo Former Member
Former Member

upload stock through BAPI

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 10, 2008 at 12: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).

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Nivin Varkey

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.