BAPI for Post Goods Receipt - VL02N(SD) - Return Delivery

Hi All,
Could you plz tell me the bapi or function module or bdc for post goods rceipt for return delivery. I am ucing the bapi called BAPI_GOODSMVT_CREATE but it throughing an error. u can not do the these movement types.like this. Here i am using the movement types as - 632,651 and 653. could any one hlp me regarding this issue. its urgnt and i am not able to get the reason.it is working for normal delivery when i use the same for return delivey with the above movement types its not working.
VL02N - return delivery number -
> Post goods receipt.
thnks
yerukala setty

Hi,
Use BAPI 'BAPI_OUTB_DELIVERY_CHANGE'
Check out this thread, this question is being solved before.
bapi for vl02n about post goods issue
Thanks,
Krishna

Similar Messages

  • BAPI o FM for posting goods receipt of an inbound delivery

    Hi
       I have a program that post a goods receipt for an inbound delivery using batch input of transaction VL32 (in the first screen of this trx pushing button "Post Goods Recepit"). We need to change it for a BAPI o FM that makes the same process. I've seen other threads of the same issue that makes reference to BAPI_GOODSMVT_CREATE. I've checked it using value 05 of GM_Code
    (other goods receipt) but it doesn't work (I think the movement type I using is not compatible with the code 05). Can anybody tell me if this BAPI can do what i need? In that case, anybody have an example code?  I've seen other FM: MB_CREATE_GOODS_MOVEMENT. Is that a better choice? Example code will be much appreciated
    Thanks and regards
    Dani

    Check whether there is any BTE from FIBF and use it accordingly.
    Also check from SWEL whether any event is getting published when the GR is being done.
    If none of the above works try to find some user Exit where you can code the needful.
    Thanks
    Arghadip

  • FM/BAPI for Post Goods Recipt and Reservations

    Hi All,
    Is there any BAPI/FM for posting Goods receipt and Reservations . Please send some sample example to post goods receipt using Inbound Delivery & Reservations
    Thanks
    Bobby

    Bobby,
          I think you can use the FM  BAPI_ACC_GOODS_MOVEMENT_POST for this purpose. You try to write a sample program and see how it works.
    Sojan

  • Post goods receipt against a Inbound Delivery(VL32N) FM or BAPI Method

    Hi Expert,
       I am looking for a Function Module or BAPI Method to Confirm the Inbound Delivery i.e. that can post Goods Movement Against a Delivery Document.
    My scenario is Create PO-> create Inbound delivery-> post Goods Receipt.
    Regards,
    Kapil.
    Edited by: Kapil Kumar Gupta on May 5, 2011 2:46 PM

    In OSS note 520813 it is said:
    16. Question:
    Which goods movements should I not post using the BAPI_GOODSMVT_CREATE BAPI?
    Answer:
    You should not post the goods receipt for the inbound delivery using BAPI_GOODSMVT_CREATE BAPI because the document base and the status of the inbound delivery are not updated. See Note 199703.
    If you check OSS note 199703 you can see that it is valid from release 45 to release 500.
    Assigned to this note you can find another: 1050944 (it's worth of reading!!!).
    I feel there are contradictions here - it might possible that the first note (520813) is not updated properly. (As far as I remember in my case this BAPI was working properly too).
    In my opinion you should send a message to OSS and ask them whether the statement in note 520813 is still valid or not - you should also tell them that the referred note (199703) is not applicable to ECC6.0.
    (there's a setting in ECC6.0 which enables that document flow is updated if GR is posted via MIGO with reference to IBD - V_TVSHP-SPE_INB_VL_MM)
    I would like to ask you if you have a reply from them, please update this thread - it may be helpful for us.
    Edited by: Csaba Szommer on May 9, 2011 2:34 PM
    One more remark: (based on OSS note 1050944) it seems that you cannot use it only in case of packing (IBD with HU).
    Edited by: Csaba Szommer on May 9, 2011 3:05 PM

  • User exit for post good receipt for tcode VL32n(inbound delivery)

    HI,
    I need a user exit which should get triggered when the user hit the button "post good receipt" under tcode VL32N. I appreciate your help.
    Thanks,
    Sanjay

    Hi,
    Here is the list
    Enhancement                                                                               
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)       
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)       
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)      
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc           
    V53W0001                                User exits for creating picking waves                       
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot     
    V53C0001                                Rough workload calculation in time per item                 
    V50S0001                                User Exits for Delivery Processing                          
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List     
    V50R0002                                Collective processing for delivery creation                 
    V50R0001                                Collective processing for delivery creation                 
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields     
    V50PSTAT                                Delivery: Item Status Calculation                           
    V02V0004                                User Exit for Staging Area Determination (Item)             
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination                
    V02V0001                                Sales area determination for stock transport order                                                                               
    Business Add-in                                                                               
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing                       
    DELIVERY_PUBLISH                        Announcement of delivery data during database update        
    Shib

  • BAPI for posting GR with reference to inbound delivery

    Hi Gurus,
    Please suggest me a BAPI to post the GR with respect to inbound delivery. Also, it would be better , if the partial GR can be done using this BAPI. We need to use a BAPI, so that the material document flow is updated as well after the processing of BAPI.
    I can not use the BAPI: BAPI_GOODSMVT_CREATE, as this does not update the material document flow. Also, the BAPI BAPI_INB_DELIVERY_CONFIRM_DEC can not be used, as this BAPI does not let me do a partial GR.
    Regards,
    Neha Gupta

    Hi ,
    thank you for quick response.
    FM L_TO_CREATE_DN.. use to create wrt to Delivery number(all line items together), but in current scenario want to create TO
    for single line item and also with partial quantity .
    Regards,
    Madhavi

  • User Exit or BADI for Post Goods Issue (VL02N)

    Hello everyone!
    I have an issue with one of my customers and I would like your help.
    When we do a stock transfer, from one plant to another, if the Material has a serial number set up in Material Master in one of the plants, and haven't for the other one, the system is generating an error message saying they have different serial numbers.
    I need to find a User Exit, or BADI, that can be used to force the system to ignore serial number validation during the goods issue (for one especifc plant), but still require serial numbers in the deliveries from the other plants.
    Any ideas experts?

    Hey Juan Carlos,
    Any ideas on which user-exits I should use?
    And by your answer, did you mean I should make the values look the same, and try to "fool" the system?
    Thanks

  • Test for Post Goods Receipt for PO unknown

    A purchase order has been created and has been maintained in the system. When a receipt is entered in SAP, it must reference a purchase orde r to verify the 3 way match process (i.e. purchasing departments, warehouse, and accounting or A/P).  The vendor typically provides a packi g slip for the material and/or a bill of lading for the carrier, which will contain information relating to who the vendor is, the material  and quantity delivered.  In the event of a non-stock material, the requesters name should be printed on the BOL to ensure proper attention.

    Hi,
    To ensure person name who has created the PO for the non-stock material, you can try this by making  field Requestioner mandatory in the item overview. So that while creating the PO system will ask user to enter name of the person requesting the Material. The same data will be transfered into GR.
    Regards
    Ravi shankar

  • Material Document (Post goods receipt) for each Tranfer order in Inbound De

    Hello All,
    We have following the below process for goods receipt.
    1. Create Purchase order.
    2. Create Inbound Delivery.
    3.Create Transfer order for each line item in  Inbound Delivery
    4. Confirm tranfers orders.
    5. Post goods receipt will automatically takes place after last Transfer order confirmation for that delivery.
    So, in the above scenario the Inventory is not available in the IM till last transfer order is confirmed.
    So, is it  possible to create a Material Document at each transfer order confirmation and post IM inventory , instead of waiting till last transfer order is confirmed.
    please advice.
    Thank you
    T Reddy .

    Hello Aktar,
    Yes With standard SAP we can post  goods receipt either before using MIGO and after using VL32N.
    In our scenario we are using Inbound Delivery.
    So , with using Inbound delivery we are posting goods receipt after  last TO confirmation.
    But In our client they may take 2 days to puyawat all the items of an Inbound Delivery.So they do not want to wait till 2 days for the IM posting.
    ie in SAP WM as soon as Inbound delivery is created it creates negative stock in 902 and once all the transfer order are confirmed and then post goods receipt takes place and 902 is cleared.
    So, we are slitting the TO at delivery line item level and creating separate TO for each line item in a delivery.
    So, I am wondering whether is there a way so as soon as first TO is confirmed WM stock updates and IM stock also should also update with same amount with a material docuement.
    ie TO by TO IM posting should take place and at Last TO post goods receipt should happen at delivery level.
    Please advice.
    Thank you
    T Reddy.

  • Bapi for posting IR line item at a time

    Hi....
    Do we have a bapi for posting invoive receipt line item wise instead of posting the PO at a time......this wud be more precise for my requirement.....presently i'm using bapi_acc_document_post but this wud clear the document with single document number.....but i want it to be posted line item wise to see the amount individually item wise instead of combined one....similar to what we have in the IR which shows amount of individual items........

    This is an old bug that keeps popping up:
    https://forums.lenovo.com/t5/T400-T500-and-newer-T-series/Vertical-scrolling-got-reset-everytime-I-use-Ultra-Nav-to-scroll/td-p/343477

  • Tracking of Inbound Delivery reference for a Goods Receipt/GR line item

    Hi,
    We are posting goods receipt with reference Inbound delivery. We need to track Inbound delivery reference for a Goods Receipt/Goods Receipt line item.
    Is it possible? What will be correct way to do this?
    Regards,
    Makarand

    Hi Makarand ,
    You may try with Table MKPF.
    Goto SE16 and enter the above table to get the required data.
    Regards
    Ramesh Ch

  • Inboud delivery creation and post goods receipt via idoc at same time

    Hi
    Does anybody knows if there is in idoc message/basic type that can create in one single step the inbound delivery for a purchase order and do the post goods receipt (on the inbound delivery)? Warehouse is not setup.
    KR
    Jimmy

    Hi All,
    Solved by myself.
    As expected , same code has been called for ob delivery and Ib delivery .
    Solution : Have called fm in background task .
    Thanks & Regards,
    Vinod.
    Knowledge has to be shared nt 2  accumulate .

  • Bapi for posting Outbound Delivery

    Hi,
    Can anyone please let me know about bapi for posting goods issue of outbound delivery.I have checked bapi like
    BAPI_OUTB_DELIVERY_CONFIRM_DEC
    If i use the with this bapi i can't cancellation the outbound with vl09.
    thanks,

    hi,
    i try to doing posting goods issue for outbound delivery out fo the regular progression.
    the posting is automaticly as part of outside program.
    thanks alot,

  • Stock does not exist when posting goods receipt ?

    Hi,
    I've created a purchase order ( OK ) And then use MIFO for posting goods receipt to warehouse 001, the posting is OK , But then I check the Stock for this material , There is nothing found . Could you please help me ?
    2. In Invoice verification MIRO , I use to verify invoice from PO , but it require Tax code ( I've entered all available tax code but it require jurisdiction code ) . Here could you please help how to config tax code for Invoice verification ( Not jurisdiction code ).
    Thanks in advance

    I've found that these codes was inserted automatically into  FM
       CALL FUNCTION 'TRANSACTION_ABORT'
            EXPORTING
                 transaction_id = transaction_id
            EXCEPTIONS
                 OTHERS         = 1.
       CALL FUNCTION 'TRANSACTION_ABORT'
            EXPORTING
                 transaction_id = transaction_id
            EXCEPTIONS
                 OTHERS         = 1.
       CALL FUNCTION 'TRANSACTION_ABORT'
            EXPORTING
                 transaction_id = transaction_id
            EXCEPTIONS
                 OTHERS         = 1.
       CALL FUNCTION 'TRANSACTION_ABORT'
            EXPORTING
                 transaction_id = transaction_id
            EXCEPTIONS
                 OTHERS         = 1.
       CALL FUNCTION 'TRANSACTION_ABORT'
            EXPORTING
                 transaction_id = transaction_id
            EXCEPTIONS
                 OTHERS         = 1.
    CALL FUNCTION 'TRANSACTION_END'
         EXPORTING
              transaction_id = transaction_id
         EXCEPTIONS
              OTHERS         = 1.
    FUNCTION bapi_po_create.                                    "#EC ENHOK

  • BAPI_GOODSMVT_CREATE-Goods receipt in with sd-delivery in another plant?

    Hello to all.
    I have a strange situation.
    We use the mentioned bapi to post goods-receipts.
    In this case we use  the movement type 101.
    Inside sap-standard , inside the migo, there is a possibility to do the same, online.
    And also, if a sd-delivery from another plant is present.
    The posting initiated by the migo is more complete as it fills the entire document flow properly.
    I would like to trigger exactly this behaviour in the background, via RFC-call.
    As I now use the BAPI_GOODSMVT_CREATE, the documentary told me, that this is not possible.
    How else can I achieve this ?
    Does anybody know the solution ?
    Will I have to do it via WS_DELIVERY_UPDATE_2 instead ?
    Best regards
    Robert.
    Edited by: Robert Dornfeld on Nov 11, 2011 12:04 PM

    Refer Note 424014 - BAPI: Goods receipt for the outbound delivery
    When you post a goods receipt for an outbound delivery (with reference to a stock transport order) with Bapi BAPI_GOODSMVT_CREATE, you must fill the following fields so that the purchase order as well as the delivery are updated correctly:
        GOODSMVT_ITEM-MOVE_TYPE (Movement type): generally movement type '101'
        GOODSMVT_ITEM-DELIV_NUMB (Delivery)
        GOODSMVT_ITEM-DELIV_ITEM (Delivery item)
        GOODSMVT_ITEM-PLANT      (Plant)
        GOODSMVT_ITEM-STGE_LOC   (Storage location)
        GOODSMVT_ITEM-ENTRY_QNT  (Quantity)
        GOODSMVT_ITEM-ENTRY_UOM  (Unit of measure)
        GOODSMVT_ITEM-PO_NUMBER  (Purchase order)
        GOODSMVT_ITEM-PO_ITEM    (Purch. order item)
        GOODSMVT_ITEM-MVT_IND    (Movement indicator) = 'B'
    Now the order history and the document flow of the delivery are updated. In order to use fields DELIV_NUMB and DELIV_ITEM, you must implement the enhancements of Note 356665.
    If the delivery note number / delivery (field MKPF-XBLNR) is supposed to be updated in the material document header, field GOODSMVT_HEADER-REF_DOC_NO must be filled with the delivery number when you call the Bapi BAPI_GOODSMVT_CREATE.
    The field should only be filled if the delivery number is unique.The delivery is transferred at item level (table GOODSMVT_ITEM, field DELIV_NUMB) so that different delivery numbers can occur in a material document.In this case, there is no unique delivery so that a blank field GOODSMVT_HEADER-REF_DOC_NO would be useful.

Maybe you are looking for