Update delivery and picking quantities thru DELVRY03

Hi All,
I have a requirement wher i need to update the delivery and picking quantities thru an inbound idoc. Iam using DELVRY03 and tested it using idoc test tool (WE19).
i have found that the quantites are getting updated for increase of both the delivery and picked quantitties but failing in case of decreasing both the qtys when sending thru idoc.
I have gone thru the following scenarios:-
for example: when the Outbound delvry 0080000016 has
1) del qty as 5.0 and picked qty as 5.0  , if i post an idoc by giving the qty's as 6 and 6 - delivery is updated by 6 and the qty's will become 11.
2) when posted with same qty's again 6 and 6 on smae day then the delvry  doen't get updated.
3) when idoc is posted with 4 and 4 next time, the delvry gets updated with the difference of (6~4) and displays 9 and 9 in repective fields.
4) if i give 0 and 0 then the delivey has got the original value of qty's as 5.0 and 5.0.
but in real time i want the quantities either increased or decreased which i send thru idoc to get updated. Also negetive values are not allowed. SO please suggest me how to do this.
is there any standard function module for updating the delivery qty?
or  else give me all the mandatory fields that are required to post the idoc correctly.
Its urgent!!!! Immediate response is appreciated and rewarded.
Regards,
Soha
Message was edited by:
        soha pathan
Message was edited by:
        soha pathan

Wrote an executable ABAP probram. Put WS_REVERSE_GOODS_ISSUE in it and run it thrght a SUBMIT in the method before changing Delivery. It is not very pretty but it solved the problem.

Similar Messages

  • PGI error after delivery and picking completion

    Dear gurus,
    I have a problem as mentioned below
    For a meterial delivery and picking has been successfully completed.
    while go for PGI, " the 0 qty available for the material message is showing ".
    Please provide the solution to how to check and continue.
    Thanks in advance,
    R.Rajendran

    Hi,
    I think you should chek if there is stock.
    If there is stock qty then I assume that there is a conflict with other sales order that might have been entered before you have created the delivery.
    In this case it would be wrong to post goods on stock.
    the right way to manage this situation is to reschedule the already confirmed sales order and post your goods issue.
    TC needed : CO06 to cancel an exisiting scheduled order
    In order to have a complete overview of the order situation with the option to link in the Co06 you can also process the TC V_RA
    hope this will help however you should check your ATP settings
    regard susanne

  • BOM in Delivery and Picking

    Hi,
    I have component based pricing. so prices in VK11 are maintained for BOM components hence it is required to explode the BOM components in sales order but while doing delivery for that, I need to pick and issue just Finished goods item and not BOM components. currently, system shows components only. what should I do for this?
    Binita

    Hi,
    This is something basic on which whole system is developed, if we automatically update past transactions because of recent changes in master data than we will end up spiling all our reporting and history,
    SAP does provide update of sales order based on changed data but that's only for pricing update,
    In your case you need to get a upload program / BDC / LSMW created for this purpose
    in case the changes in volume can be grouped i.e. changed to 100 CM3 for 200 materials ( from existing 20 , 30 , 50 CM3) than in such case you can use   transaction MASS with object type as BUS2032 (Sales order) for doing this
    Reg
    Dheeraj

  • Batch determination during delivery and Picking

    Hi,
    Please let me know how to meet the below requirement.
    During delivery creation for sales order automattically through the program RVV50R10C, The system should do the batch determination automatically for the delivered qty and the picked quantity should be filled auotomatically same as the delivered qty.
    I have maintained condition record for batch determination for the combination of Shipping point, Sales document type and Material type and also automatic batch determination for delivery item categories is activated in customization ( the check box for delivery item category is ticked).
    With the above setting manual batch determination is working in delivery. but not the automatic batch determination and also the picked qty is not filled.
    Regards,
    Prasad

    Hi Sats,
    1. The respective item cat. has been checked in Automatic Batch Determination for Delivery Item cat. u2013 Transaction V/CL - maintained
    2. Configured it correctly in transaction V/C5 where you configured the search procedure for batches in the sales docs with respect to the sales area and sales doc type which you are using -maintained
    3. Check if shelf life expiration date needed. If yes check in transaction CL03 with the class type 023 - Class maintained in the material master
    4. Make sure the batch management check box has been ticked for the materials which you want automatic batch determination to be done in MM03 u2013 Sales: General/Plant tab, Purchasing and warehouse management tab. - The batch management indicator is set
    5. Open your delivery in VL03n u2013 check the batch determination display. Select the strategy analysis and check. it gives you information whether the condition types were successfully taken into consideration. If not check in VCH3 -  Condition record has been specified.
    Manual batch determination works ( select the line item in delivery > Batch split> Batch determination )but not the automatic batch determination.
    Regards,
    Prasad

  • Understanting delivery quantity and picked quantity in VL03N

    Dear All,
    This must be a very obvious question for most of you but please help me
    understand the difference between two columns in VL03N - delivery and picked quantity.
    We have implemented WMS.
    Here's my example:
    1. One outbound delivery with one delivery item.
    delivery quantity = 100 pieces
    2. Warehouseman using mobile device confirms 40 pieces of material (batch A)
    3. Warehouseman does not confirm the remaining 60 pieces from batch B
    4. Now when I display delivery item in VL03N I have the following situation
    (item level, batch level is disabled)
    Delivery qty = 100 pieces
    Picked qty = 60 pieces
    First question: Why picked qty = 60 instead of 40. The warehouse confirmed
    40 pieces of material so picked qty should be 40. But for some reason it
    shows unpicked quantity.
    When I click "+" (for batch split)
    BATCH A: delivery qty = 40, picked quantity = 40, picking status = "C", WM status = "C"
    BATCH empty: delivery qty = 60, picked quantity = 60, picking status = "C", WM status = "B"
    Second question: why column "picked quantity" for empty batch (not confirmed yet)
    displays 60 pieces. The remaining 60 pieces has not been confirmed yet.
    Best regards,
    Mark

    Kookie,
    Second, delivery quantity is what the client requires to be delivered; picked quantity is what needs to be picked. So using your example, 40 were picked, remaining still to be picked is 60.
    This is my case.
    a) warehouseman confirmed 40 pieces of batch A.
    b) Before he confirm remaining 60 pieces of batch B I go to VL03N to see how this transaction indicates
    that there are still 60 pieces left (or that only 40 pieces of batch A has been confirmed yet)
    VL03N > I click "+" (for batch split) and get two rows for the delivery item
    Line 1: delivery qty = 40, picked quantity = 40, Batch: A, picking status = C, WM status = C
    Line 2: delivery qty = 60, picked quantity = 60, Batch: null, picking status = C, WM status = B
    While second batch has not been confirmed (picked) yet, the second line should look in my
    opinion like this:
    Line 2: delivery qty = 60, picked quantity = 0, Batch: null, picking status = C, WM status = B
    Picked quantity for unconfirmed, remaining quantity shoud be 0. However SAP shows "60". Why?
    This is confusing. The only way for me to check what quantity has been confirmed is to examine
    WM status column.
    Best regards,
    Mark

  • Pbm in updating delivery quantity and picked quantity in VL03N transaction

    HI all,
    I m using the BAPI 'WS_DELIVERY_UPDATE_2' for changing the picked quantity in VL03N transaction.
    But this BAPI is not changing the picked quantity. Instead it add the old quantity with the new quantity what i mentioned in the ITEM_DATA (VBPOK_TAB table) of this BAPI..
    For example, if the delivery quantity is 3 and picked quantity is 3 for a material item,
    I want to change both the quantity as 2. Is is possible to change both the quantities through BAPI?
    Im using BAPI_OUTB_DELIVERY_CHANGE to update the delivery quantity as loong as the picked quantity is 0.
    If both picked and delivery are same (for example, both are 2),  then i need to change both the quantities (say 1).
    So how can i update both the quantities?
    If so, pls share the BAPI details for achieving this..
    Regards,
    Shanthi

    not answered

  • FM or BAPI for Delivery Order Picking and PGI

    Good day,
    I would like to check with you all on any function module or BAPI which can perform delivery order picking and PGI ?
    I did some research and found that a lot of people is introducing this FM "WS_DELIVERY_UPDATE_2"
    but i'm not sure how this FM works. Can anyone provide some information for me on this function like what data to propagate into this FM and etc... ?

    hi,please check this link.
    Need to update picking,packing and PGI using FM "WS_delivery_update"
    also,
    for picking:  WS_DELIVERY_UPDATE_2
    pgi :  BAPI_GOODSMVT_CREATE
    thanks.

  • Creating delivery through Pick and Pack manager.

    Hi All,
    I have code written in the addmode and update mode of the add button of delivery window.There is a checking in the pVal.beforeAction=true part and if that checking is true there is code part which runs on pVal.BeforeAction=false.This works fine when we add delivery through standard delivery note window.The problem is that when I try to add delivery through pick and pack manager,the codepart on pVal.BeforeAction=false not executing.Checking on pVal.BeforeAction=true works fine.But later part missing in execution.Anybody encountered this problem before? Can anybody suggest a work around to solve this?
    Thanx,
    Deepesh

    Hi Deepash,
    If the window closes after adding the afterAction is never thrown, this is a known "issue".
    A good solution might be using the Form_Data_Add /Form_Data_Update event.
    Regards
    Ad

  • Inbound Delivery Idoc not update PIC and PGI with split batch.

    Dear Experts,
    Delivery outbound with split batch send to third party Warehouse to PIC and PGI from SAP, then receive the delivery inbound IDOC to update the PIC and PGI in SAP from third party. Basic Idoc DELIVERY03 it's works fine with out split batch, with split batch it's not updating PIC and PGI at the same time no error. Please advice on this
    E1EDL24-HIPOS = "HIGHER LEVEL ITEM NUMEBR"
    E1EDL24-HIEVW = "VALUE 1"
    E1EDL19-QALF = "BAS"
    Thanks and Regards,
    Thiru.

    Hi,
    You also have to create a segment with following data as well (for batches).
    E1EDL19-QUALF = "QUA".
    Cheers,

  • Delivery status B and TO status C , Deliver qty and Pick qty are equal

    Hi
    OBD status is wrong and its coming as Partialy picked for a item however the delivered qty and pick qty are equal. also TO is created and confirmed for delivered qty.
    I have checked TO is not pending for confrimation  please advise.

    Hi Rahul,
    Please check the OSS note
    1475784 - Delivery header status is not consistent with item status
    Try to run report RVDELSTA  in simulation to check whether system propose any change. if at all you are not getting any positive result from above steps raise an OSS note with SAP

  • Unable to update latest version of iphone thru wi-fi and itunes, solutions?

    unable to update latest version of iphone thru wi-fi and itunes, solutions

    Is your iTunes version updated, if not then update it from here ?
    What error do you get when trying to update your iPhone ?

  • I have been trying to download a new update and it goes thru the strokes and restarts but the update version does not show when I go to "about this computer" to see what version is on.  Any ideas what is wrong?

    I have been trying to download an update on my MacBook Air and it goes thru the process and restarts but the update does not load.  I know it is not loading because when I go to " About this computer" the version does not show it updated.  Any help would be appreciated.  Thanks

    trying to download an update
    v10.6.8 is as far as Snow Leopard can be updated.
    Which update are you trying to install ??

  • Exit to set the automatic PGI and picking while creating outbound delivery

    Hi experts,
    Could anybody suggest how to set the automatic PGI and Picking while creating outbound delivery.
    Currently we are settting VBUK-WBSTK field with value C. But PGI is not happening.
    kindly help me.
    Regards,
    Ravi

    Hello Parihar,
    thanks for reply.
    yes we know that "This process of picking and GI involves reducing the stock and allocating the goods to the delivery"
    if you go for Custom program and Use FM WS_DELIVERY_UPDATE, we can do Picking and PGI.
    our requirement is to do pickong and PGI while creating Delivery it self, based on this output types will be processed.

  • How to track Delivery and Read Receipts, to update the e-mail status?

    Hi,
    I got bit confused, How can I came to know that my e-mail has been successfully sent or not without opening my inbox.
    Am sending 50,000 mails per day by using java mail sending program, while sending I am enabled Delivery and Read receipt and I saved message-id in database and I got that receipt back to my inbox.
    Then I am reading my Inbox using another java program based on message-id concept, And also I need to parse the body of the mail to update the reason if any message failed.
    Here my Inbox received more than 1 lac mails per day as receipts. Because am sending 50,000 mails, So, I got 2 receipt mails for 1 mail, totally 50,000*2=1lac mails in Inbox. My problem is, my reading Inbox java program not able read all 1lac mails at one day. It just reading 5,000 mails per day. When my next day mail sending process started, again i am getting another 1 lac receipts.
    Since I am not able to read and delete the receipts completely, mail counts in my inbox getting accumulated. So, I got stuck, How can I do this?
    If anybody have any other ideas please share with me.
    Already I surfed on net lot, but I can`t find solution for this concept.
    Thanks in advance.

    Hi EJP,
    step 2: Taking total inbox length using message.length
    The message count is available via Folder.getMessageCount*().//ok I will try this one.*
    step 3: In for loop, for(i=0; i < = n; i+){+ //--here we are getting mails one by one
    That should be i < n, not i <= n. *//here I was wrongly specified, I used i<n only.*
    step 5: In that mail body we are searching our own unique keyword(which we set for our unique mail reference)
    Searching how?
    In order to find the keyword, we are getting entire text/plain mail body using below method,
    //To get body plain/text body part start here
         public static void getTextPlainBodyPart(Part p) throws Exception {
              if (p.isMimeType("text/plain")) {
                   if (!(showStructure) && !(saveAttachments)){
                       lstr = (String)p.getContent();
              }else if (p.isMimeType("multipart/*")) {
                 Multipart mp = (Multipart)p.getContent();
                 level++;
                  int count = mp.getCount();
                  for (int i = 0; i < count; i++){
                 getTextPlainBodyPart(mp.getBodyPart(i));
                  level--;
    //To get body plain/text body part end hereAbove method will return entire body of the mail in one string variable, Eg: String mailBody;(*mailBody variable contains entire body)*
    Then using mailBody variable we are searching our own keyword(which we set for our unique mail reference while sending mail) using below technique,
    if(lstr.indexOf("!$*#*$") != -1 && lstr.lastIndexOf("$*#*$!") != -1){
    KeyWord = lstr.substring(lstr.indexOf("!$*#*$")+3,lstr.lastIndexOf("$*#*$!"));
    //to get reason alone
    if(lstr.contains("Reason:")){
         Pattern p = Pattern.compile("Reason:\\s([^\\n])*");
    Matcher m = p.matcher(lstr);
    boolean result = m.find();
         while(result) {
            reason = m.group();
             result = m.find();
    //System.out.println("Reason:>>>>"+reason);
    }else{
         reason = "";
    }After getting that keyword in KeyWord variable,
    then we are updating our database using that KeyWord,(here we are using KeyWord variable in where condition in update query)
    Note:_ KeyWord is nothing but, we were stored all our unique keyword against every mails while sending.So, If when get that keyword while reading the receipts,then we can update our table using that same keyword.
    guide how can I do this effieciently. And if you any other new concept please share with me.
    Thanks in advance..
    Edited by: EJP on 17/03/2011 16:54: added code tags. Please use them. Code is 100% illegible otherwise.

  • Not able to find delivery dt and time in IDOC DELVRY03

    Hi Experts,
    Can anyone help me in finding the delivery creation date and time in IDOC DELVRY03...?
    If in vl03n, after entering delivery number , if you go to header, there you can find the delivery dt and time,
    but in DELVRY03 IDOC I cant fine the delivery dt and time, document dt is there, but I am not looking for that, if any body can help me out.
    AJ

    Any suggestions please, in which IDOC I can find Delivery dt and time?????????????

Maybe you are looking for

  • WRT1900AC(v1) Stability on new FW 1.1.10.167514

    On the previous firmware, the router needed a reset once every 2-weeks or so.I upgraded to the new FW1.1.10.167514 couple of weeks ago. Followed all the usual procedure. Factory reset, flash new FW, factory reset again, configure from scratch etc. No

  • Javaw.exe eating memory

    I'm running a particular piece of software called Mailloop that appears to use javaw.exe. After about 6 hours I see in Task Manager that javaw.exe has gone from using approximately 50 MB virtual memory to over 500 MB. If I terminate the process, ever

  • Not receiving password reset email

    Hello,I am trying to reset my skype password, but i am not getting the email, after i follow the reset steps.Anyone has a solution to this or any way to recover my account? thank you

  • R400: Problem with OSD of Access Connections.

    bug: http://storage.wdolweb.cz/wifi_lenovo_wtf_again.jpg correct behave: http://storage.wdolweb.cz/wifi_lenovo_wtf_how_it_should_look.jpg ... really dont know, if it is matter of weather, or notebook was in bad mood... or why! but still there are man

  • SAP BC 4.7 add package .

    Hi, can any body suggest me. i want to add two package in the BC 4.7. how i can add the package in the server please give me the process.... Thanks