16 Replies Latest reply: Sep 11, 2012 6:32 AM by suba reddy RSS

BAPI_GOODSMVT_CREATE

saju sam
Currently Being Moderated

Hi Experts,

I am using BAPI_GOODSMVT_CREATE for posting GRN against Purchase Order.

I want to post Quantity in Delivery note(LSMNG) and Unit of Measure From Delivery Note(LSMEH) also.

I used itab-QUANTITY  = '1'.

  itab-BASE_UOM  = 'L'.

but it is not getting updated properly.

Can any one help me to pass these values through BAPI

 

 

Regards,

Sam

  • Re: BAPI_GOODSMVT_CREATE
    Eduardo Hinojosa
    Currently Being Moderated

    HI

     

    See SAP Note 520813 - FAQ: BAPIs for goods movements, question 7.

     

    I hope this helps you

     

    REgards

     

    Eduardo

    • Re: BAPI_GOODSMVT_CREATE
      saju sam
      Currently Being Moderated

      Hi E_Hinojosa,

      Thanx for your reply.I couldn't get any information from the provided note.I am getting document number and GRN has been done against Purchase Order using this BAPI.All other fields are properly getting updated except these 2 fields Qty in delivery note and unit of delivery note. Can i pass these 2 field values using this BAPI or do I need to use any other BAPI. Is there any BAPI for MIGO instead of MB01?

       

      Regards,

      Sam

      • Re: BAPI_GOODSMVT_CREATE
        Eduardo Hinojosa
        Currently Being Moderated

        Hi Sam,

         

        I think that perhaps this text helps you:

         

        
        In this case, you must also transfer fields LFBJA, LFBNR and LFPOS
        from the purchase order history (table EKBE); otherwise, the system
        cannot find the correct document. For more information, see Note
        109396. Even though this note refers to an IDoc processing, the same
        logic also applies to BAPI_GOODSMVT_CREATE.
        Fill fields GOODSMVT_ITEM-REF_DOC_YR, GOODSMVT_ITEM-REF_DOC and
        GOODSMVT_ITEM-REF_DOC_IT in the BAPI interface and test the system
        behavior again.
        
        

         

        Other question. Set a break-point when the BAPI finishs, and check the info in RETURN (type BAPIRET2) to be aware the type of error that you have.

         

        See also SAP Note 131838 - Collective note for BAPIs w/ 'Commit Work' command.

         

        I hope this helps you

         

        Regards

         

        Eduardo

  • Re: BAPI_GOODSMVT_CREATE
    suba reddy
    Currently Being Moderated

    Hi sam,

     

    have you Solved your problem .if yes i am lucky ,now i am getting the same problem in MIGO Qty in Delivery note not updated through BAPI BAPI_GOODSMVT_CREATE.

     

     

    So please tell me the solution.  it should be reward.

     

     

    Thanks & Regards,

    Subba.R

Actions