WS_DELIVERY_UPDATE - Post Goods Receipt (VL32n) for Inbound Delivery

Dear Experts,
Can you please provide a sample of how I can use the FM WS_DELIVERY_UPDATE in order to post GR for inbound deliveries(items already packed in HU)? The process should be simillar with the standard one from transaction VL32n. In case there is any other solution, please don't hesitate to provide it - FM BAPI_GOODSMVT_CREATE it's not a valid one for this scenario.
Thanks and BR,
Cristian

Hello,
Do this way.
DATA:
L_VBELN LIKE LIKP-VBELN,
L_VBKOK LIKE VBKOK,
L_PROTT LIKE PROTT OCCURS 0 WITH HEADER LINE.
* carry out goods issue
L_VBKOK-VBELN_VL = L_VBELN.<-- fill this field with your delivery number
L_VBKOK-WABUC = 'X'.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
VBKOK_WA = L_VBKOK
SYNCHRON = 'X'
NO_MESSAGES_UPDATE = ' '
UPDATE_PICKING = 'X'
COMMIT = ' '
DELIVERY = L_VBELN
NICHT_SPERREN = 'X'
TABLES
PROT = L_PROTT
EXCEPTIONS
OTHERS = 0.
COMMIT WORK AND WAIT.
Thanks,
Abhijit

Similar Messages

  • 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

  • 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

  • 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

  • Goods Movement Type for Inbound Delivery

    Hi all,
    up to know I always thought that when posting a GR to an Inbound Delivery this happenes with MVT 101.
    In my current project MVT 103 is used; but only if serialized materials are concerned.
    Does anybody have an idea where/how I can control this?
    Nor in the ser-no.-profil neither in the confirmation key sth relevant is stipulated....
    Or coulkd it be that an exit is behind? If so, is there a possibility to find it out?
    bR
    Thomas

    Hey,
    many thx; seems to be very "hot".
    They use a special IC (ZSN) for serials.
    Unfortunately your mentioned link does not work ("Page not found"). Could u pls. check it?
    Looked in T184L, clear so far.
    What now is "missing:" Where/how is Movement Type determined?
    Thx again
    Thomas

  • Workflow for Goods receipt of an Inbound delivery

    Hello,
    My requirement is to create a workflow when a GR is done for an Inbound delivery. I was able to get the business objects MKPF,MSEG to use and relevant events. The problem is to publish the event in the system when the GR is done. GR is carried out using the Tcodes 'VL32N' and MIGO_GR.
    Could someone please let me know as to how I can publish the event in the system so that I can link it to the workflow that I am going to design?
    Best Regards,
    Samson

    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

  • Goods receipt of packed inbound delivery is not allowed

    Dear all,
    I have a  scenario that as per of business process,i have to post Packed inbound delivery in MIGO .
    But i am getting an error says inbound delivery cannot be packed during posting in MIGO. I know that i can post it through VL32N without any problem. Since i need to capture damage,short or excess and some reference numbers and date of production and expiry for the items i need to post through MIGO option instead of VL32N.
    I have already checked in our client IDS ,it is allowing to pack without any errors  but in Development  server i am getting this error.
    I changed the item category control ELP of inbound delivery also but  of no use .
    Any hindsights on this both funtionally or tecnically will be of great help.
    Thanks and regards,
    Jothiswaran.
    Edited by: A. Jothiswaran . on Nov 12, 2009 8:32 PM

    Hello,
    To my knowledge packing through MIGO is not possible.
    If your SLOC is HU managed and you have done the configuration of u201Cdefault value of delivery and HU requirementu201D
    SPROLGHandling Unit ManagementBasicMaterial managementInventory managementsecond option, then your issue will be solved.
    In this case, when you post the MIGO with all information you will get IBD delivery number and not material document number. After that you can pack the material in IBD
    Thanks
    Milind

  • Create Goods Receipt with an Inbound Delivery

    Hi,
    Can you anybody help me, how to create a Goods Receipt with correspond to Inbound Delivery.
    Which FM or BAPI avaliable for this. Anybody did it before please pass to me with details?
    Thanks in Advance
    Cino C B
    Edited by: Cili on Feb 11, 2008 8:19 PM

    Check BAPI_GOODSMVT_CREATE
    Look at the documentation if you want to make a goods issue or a good receipt for purchase order or production order, etc.
    Inbound delivery only means is going to enter the plant (ie. mvt 101)

  • 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 .

  • 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.

  • Partial Goods Receipt for Inbound Delivery

    Hello Frends,
    We have a requirement to generate partial goods receipt against Inbound delivery created in Intercompany scenarios, however when we analzed there two alternative ways possible -
    1.  Goods Receipt in Inbound Delivery - Transaction VL32N : In this transaction,ssytem allows goods receipt for complete quantity but not for partial quantity
    2.  Goods Receipt reference to Inbound Delivery - Transaction MIGO : In thsi transaction, there is a provision to generate partial goods receipt however system not updating the status in inbound delivery document.
    In this regard, requesting your support on what is possibility to fulfill our requirement, is there any standard SAP approach for this.
    Appreciate your support.  Thanks
    Best Regards,
    Goutham

    Hi,
    Thanks for your quick reply..
    I have a outbound delivery with 100 EA, now system automaticallly generates a Inbound delivery for 100EA using output message.  Now we need to generate partial goods receipt for the inbound delivery, mean first 20, then 40 and the remaing.
    What are the best practices available since when I check from the Inbound delivery,we cannot make partial goods receipt.
    Best Regards,
    Goutham

  • "Post Goods Receipt" is not allowed (HU  2023125)

    HI,
    I want to post goods receipt (VL32N) the batch with HU but there is a error log ""Post Goods Receipt" is not allowed (HU  2023125)
    ". Could any one tell me what happen and how to fix the error ?
    Thank's & Regards,
    Saiful arif

    Hi!
    I have the same problem, but in my case it is because I have one HU with 2 subordinated HU. I have created the OT for the main HU, and when I try to post good receipt, It show me this error:
    "Post Goods Receipt" is not allowed (HU  362640)                                                                               
    Message no. BS007                                                                               
    Diagnosis                                                                               
    The current status of object 'HU  362640' prohibits business transaction
        'Post Goods Receipt'.                                                                               
    Procedure                                                                               
    To process business transaction 'Post Goods Receipt', you first have to 
        change the status of object 'HU  362640' to allow the transaction 'Post 
        Goods Receipt'.                                                                               
    This gives you an overview of the system and user statuses that affect  
        the transaction. A transaction can only be executed if there is at least
        one status that allows it and there is no status that forbids it.                                                                               
    Transaction analysis"
    Please, do you know what can I do???
    I can't chage the HU subordinated status, how can I do that???
    Thanks a lot!

  • 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

  • How to post good receipt for an inbound delivery with HU in the stock?

    Hello,
    We have an inbound delivery of a purchase order with 10 Handling Units inside on.
    The HU's has been put in a storage bin (by transport order + confirmation) before a good receipt has been posted for the whole delivery.
    Due to this it's not possible to post good receipt for the inbound delivery, and the available stock quantity is in minus on zone: '902-GR Area External Rcpts' since  the handling units are already in a storage bin.
    Can anyone help me on this matter?
    Thanks

    Hi,
    my situation is:
    - a WM managed warehouse, society A;
    - a HU managed warehouse (without WM), society B;
    - a purchasing process of HU from society A towards society B.
    Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
    This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
    "V51VP - item was not found - process cancelled".
    Can you help me to transfer these HU?

  • Batch needs to be created 1st then post goods receipt with inbound delivery

    Hi,
    We are having split valuated materials with batch managed, we need to post goods receipt with inbound delivery.
    When we create inbound delivery with PO batch is blank which is correct.
    Now when we try to post GR with IBD in VL32N we need to put batch, but we are getting error message as batch is not available in receiving plant.
    In this case we have to create batch 1st with MSC1N and then we can put batch number in Vl32N and can post GR.
    If material is not split valuated we can put batch manualy(Without creation in MSC1N) in VL32N and it is allowing to post GR with batch.
    Can you please let me know this behaviour, is there any SAP note available about this behaviour.
    Thanks
    Sudhir

    Hi Uwe,
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    The binary answer would be no. You should use WMMBXY or MBGMCR instead.
    But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
    We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
    I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
    Hope this helps. Let me know if you have more questions.
    Regards,
    Rudra

Maybe you are looking for

  • Oracle Query in forms

    select bleed_end_time from units@qlab where unit_id = 'W039712003127' BLEED_END_TIME 1/17/2012 8:10:00 AM from the system time I have to get the elapsed time (system time - bleed_end_time) As the unit_id and product_code is entered, we find the bleed

  • SAPGUI for Windows via Portal - problem with frame

    We are launching SAPGUI for Windows via Portal to drive single sign-on via AD.  Our problem is that when SAPGUI launches, it is contained within an IE browser frame that causes some of the SAPGUI screens to not fit on the screen well.  Those same scr

  • Document Management Systems for Home User

    Hello! I'm just a regular home user with a bunch of incoming snail (paper) mail. To get rid of the hassle to file the incoming stuff permanently I plan to scan it immediately and dispose afterwards. I would prefer a document management system to just

  • Photoshop Elements II

    I received Photoshop Elements as a gift.  I will get a new computer when I start to college in Sept 2014. Can I download photoshop to more than one computer?

  • Unable to install Flash Player on Mac

    I am unable to install the latest version of Flash Player on my MacBook Pro. When the installer starts, the download hangs at 25%. Subsequent tries seem to have the download starting (and getting stuck) at 25%. I have tried uninstalling and fixing pe