BAPI_GOODSMVT_CREATE - Still to be Delivered Quanity

Hi All,
In the transaction Me23n, I can display my Purchase Order Number.
In the Header Data, Under the Status tab, I can see the Quantities as below:
Ordered: 400
Delivered: 300
Still to be delivered: 100
Now I run the BAPI_GOODSMVT_CREATE with the appropriate data and quatity eq 1. Now the data in the PO becomes:
Ordered: 400
Delivered: 301
Still to be delivered: 0
How come the 'Still to be delivered quantity' is becoming zero?
What I can do for this?
I am pasting the code I am using below:
  lw_goodsmvt_header-pr_uname = sy-uname.
  lw_goodsmvt_header-pstng_date = sy-datum.
  lw_goodsmvt_header-doc_date = sy-datum.
  lw_goodsmvt_header-ref_doc_no = <<Purchase Order Number>>
    lw_goodsmvt_item-po_item    = 40.
    lw_goodsmvt_item-move_type  = '101'.
    lw_goodsmvt_item-mvt_ind    = 'B'.
    lw_goodsmvt_item-plant      = <<Plant>>.
    lw_goodsmvt_item-material   = <<Matnr>>.
    lw_goodsmvt_item-entry_qnt  = 1.   
    lw_goodsmvt_item-stge_loc   = '0001'.
    lw_goodsmvt_item-move_stloc = '0001'.
    lw_goodsmvt_item-po_number  = <<Purchase Order Number>>.
    lw_goodsmvt_item-no_more_gr  = 'X'.
    APPEND lw_goodsmvt_item TO lt_goodsmvt_item.
Kindly Help
Ankur Malhotra

Hey Guys,
Thanks a lot, After a long time a problem of mine got solved so fast
Like we check the check box 'Item OK' in MIGO transaction, I will filling that parameter for the same purpose. Guess the BAPI take cares of that.. Am I right?
And there are other two questions which I am asking else where too but not getting any answer, so I will ask here too:
How to Update the 'Delivery Note' field in the Header of GR.
1) If I fill the lw_goodsmvt_header-ref_doc_no parameter of the BAPI with the PO Order Number, The Delivery Note field gets updated by the PO Number. But if I am filling anything else in the parameter like any alpha-numeric value, I am not able to post a GR. How can I achieve this.
2) Also I need to know how to update the 'Quantity in Delivery Note' using this BAPI?
Ankur Malhotra

Similar Messages

  • ME2L : still to be delivered is not displayed correctly in ALV report

    Dear All,
    The still to be delivered and still to be invoiced quantity is not being displayed correctly in ME2L report. In BEST format the report displayes the correct values. In the ALV form the quantity is same as the ordered quantity.
    can anyone he

    If the selection is the same for BEST layout and ALV layout then the results should equal.
    if a field in ALV display has a different value than in the old list display, then it pretty much looks like a bug, and bugs can only be erased by program changes from SAP via OSS notes.
    Check SAPNet for notes, open a message yourself to SAP if you dont find any.

  • In ME2L transaction, Still to be delivered Qty showing after Short Closed

    Hi,
    We have a PO with 50 qty pending, which is showing in ME2L transaction. Now we want to short close this PO.
    Through ME22N transaction, we has short closed this PO.
    But till now, in ME2L Still to be delivered qty showing 50. How can we see the Open PO list now...
    Regards..

    Hi Anil,
    How u have short closed PO.
    Select PO Line items and click on Lock symbol for blocking.
    then execute ME2L transaction, so that you can see "To be Del. Qty." as Zero
    Regards,
    VB Rao

  • Wrong 'Still to be delivered' & 'Still to be invoiced' quantities against service POs in ME2* reports

    Hello All,'
    I have come across some strange issue in all ME2* reports when I am checking the service POs.
    Few of the service POs are showing zero quantity for still to be delivered & invoiced when the service entry sheet is yet to be created & invoice has to be posted. However the amount for both i.e. still to be delivered & still to be invoiced are showing for those POs. In few of the POs where the service entry sheet has been created the still to be invoiced is showing as zero. The 'Delivery Schedule' tab page it shows correct open quantity.
    Please do note that we have indicator ' service-Based invoice verification' is marked & GR non valuated is not marked. Delivery completed & final invoice indicators are not set.
    I have searched the forum as well as SAP market place & came across few threads & notes but non of them has helped yet. The details are as follows,
    Notes-
    1855902
    706149
    1336237
    1449459
    1852810
    Threads
    ME2K - Still to be Invoice.........
    ME2N Report was showing wrong info
    Timely help will be appreciated.
    Manoj P.

    Hi Dev,
    Thanks for the information.
    ME2S won't be of much help for us as we want to know the pending quantity or still to be delivered quantity on item level & not on services level in one go for all the POs (including service, material POs too).
    Pleas find the screen shots below,
    Also check out the details in the 'Delivery schedule' tab page.
    Thanks
    Manoj P.

  • Find PO Qty still to be delivered

    Dear experts,
    Following 105 movement of a material,from which table and field can i know the quantity still pending against PO ordered qty ?

    hi
    use t code ME80RN  then give doc no if u have then doc category as F
    and excecute
    then click on change view button there u can find the po history there u can find all the history regarding the pos
    or
    go to ur po and and check po history
    rewrd if helpful
    regards
    kunal

  • Over delivery of a sales order-status still shows "not delivered"

    Hi Friends
    I have a problem with sales order . Total quantity in order is 10, even then system allows me to make 2 or more deliveries of total with more than 10 quantity .
    Following option I have tested but all in vain.
    1. In copy control at item level ( item category is TAN) document flow box is checked and Pos./neg. quantity column has value "0". If I take here "" then system don't allow me to make partial deliveries i.e 2 deliveries of 5 quantity each. It says " there is no quantity available for delivery or the item is not relevant for delivery.  I can make only one delivery with 10 or less quantity with "" sign
    If I take "O" in Pos./neg. quantity field then it allows me make as many partial delvery with more than 10 quantity, which is wrong
    Order status always shows " No delivery" even if deliveries made and PGI done
    2. In item category checked complition rule field with "A", "B" and "c" option still no effect and document flow shows "being processed "
    Pls let me know whts the problem
    Thanks

    Maintain value + (plus) in the field Pos/Neg quantity at item level in the copy control settings (t.code VTLA). After making the settings, create a new sales order and test.
    Regards,

  • Outgoing delivery still to be delivered on archived transport

    Hi,
    We have the following situation:
    an outgoing delivery was placed on a transport, but one did delete this transport.
    Now this delivery can not be placed on another transport, nor can it be deleted....
    How can this be fixed???
    Any help is welcome!
    Danny

    Hi,
    the delivery can NOT be deleted nor can it be taken from the transport since this transport has been deleted.
    I found that I however can delete the delivery-lines....
    So my problem has been solved!
    Anyway many thanks for your answers!
    Danny

  • Getting Sales order -Schedule line field , Delivered Quantity ( VSMNG ) ??

    Hi...
    I need to use the Delivered Quantity present in a sales order at schedule line level.
    This field can be seen if we, enter a sales order in VA02 and click on the Item and then click on the 'Schedule Lines' tab... i need to know.. how do i fetch the field 'Delivered Quantity' present there....
    If no values are present .. then it means.. no delivery has been done for that material........
    The F1 or Techinical help points to the field VBEPD-VSMNG...... and i found that this field is calculated at runtime in the function module RV_SCHEDULE_CHECK_DELIVERIES.....
    Can someone please tell me... how do i fetch this field ...or calculate this field..... for my requirement.....
    Regards.....

    Hi.
    You can use the function module RV_SCHEDULE_CHECK_DELIVERIES to get the delivered quanity corresponding to schedule line item  in sales order.
    Please refer below code:
    ie3mdpslx-delnr is sales order numer
    ie3mdpslx-delps is line item.
    internal table tl_da_vbep has got field VSMNG which is the delievred quantity for each line item
      SELECT * FROM vbfa
        INTO CORRESPONDING FIELDS OF TABLE  tl_xvbfa
        WHERE vbelv = ie3mdpslx-delnr
        AND posnv = ie3mdpslx-delps
        AND vbtyp_v = 'C'.
        SELECT  * FROM vbup
        INTO CORRESPONDING FIELDS OF TABLE tl_xvbup
        WHERE vbeln = ie3mdpslx-delnr
        AND posnr = ie3mdpslx-delps.
        SELECT * FROM vbep
        INTO CORRESPONDING FIELDS OF TABLE tl_da_vbep
        WHERE vbeln = ie3mdpslx-delnr
        AND  posnr = ie3mdpslx-delps.
        SELECT  * FROM vbap
        INTO CORRESPONDING FIELDS OF TABLE tl_xvbap
        WHERE vbeln = ie3mdpslx-delnr
        AND  posnr = ie3mdpslx-delps.
        CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
          EXPORTING
            fbeleg                  = ie3mdpslx-delnr
            fposnr                  = ie3mdpslx-delps
          TABLES
            fvbfa                   = tl_xvbfa
            fvbup                   = tl_xvbup
            fxvbep                  = tl_da_vbep
            fvbap                   = tl_xvbap
          EXCEPTIONS
            fehler_bei_lesen_fvbup  = 1
            fehler_bei_lesen_fxvbep = 2
            OTHERS                  = 3.

  • Imessage doesn't say delivered?

    Ok so I text this person a lot and his phone tells me if he read the message.
    So today he texts me and I respond and it doesnt say delivered.
    Then he texts me again a few hours later and the text I sent still doesnt say delivered or read.
    So I respond with a question...and he didnt answer and the text still doesnt say "delivered"
    He has an iphone and the text is still blue.
    I'm not sure what the problem is.
    Both him and I are online so it's not the internet.
    and I turned on SMS messaging.
    Not sure what else to do. Any help?

    Try the following:
    Log out of and then log back in to iCloud on both of your devices.
    Restart your iPhone.

  • PO report including amount already delivered and invoiced

    Is there a standard report that shows, by line item, the total amount delivered and invoiced.  We are looking for something that will display the PO number, vendor, qty on the PO, amount received, value of the items and amount invoiced.  I tried ME2N, and it shows the amount still to be delivered and invoiced, but not the amount already delivered or invoiced.  We'd also like something that could be easily downloaded to Excel.
    Thanks!

    Hi,
    As you also wants to download in Spreadsheet, i will suggest you to dovelop the report with the help of your technical team.
    Because the ME2N with the scop of list ALLES will give you the complete information, but it will not give you the information in tubular form.
    Regards,
    Manish

  • IMessage on ipad2 won't deliver messages!

    I've tried EVERTHING but still get "not delivered" message every time I try to send message via iMessage on iPad. Help please

    Hi,
    I had a similar problem with my iPad. I upgraded it to IOS5 and every time I tried to send a message it came up as "Not Delivered". I couldn't even send a message to myself.
    Then I changed my DNS address in my iPad Settings for my Wi-Fi to 8.8.8.8 and messages worked fine!
    Hope this helps
    Paul

  • Still to be deliverd quantity

    hi friend ...
    po me23n can anyone tell me the table and field name of still to be delivered quantity
    by
    ramesh.

    Hi,
    That value is not stored in tables, instead it is calculated during runtime by using:
    the perform get_status_header in program saplmepo
    Please refer to that.
    Hope this helps.
    Regards,
    Renjith Michael.

  • 3 days Still Can't Use mail or Contact a Live Person

    It's 3 days almost and I understand the mail system is having problems for some users. There is a big difference between a day or a few hours and 3 days! However my problem continues for 3 days. I tried called Mac Tech Support only to have a recording ask for an access number followed by the pound key. I don't even know what an access number is. The machine kept repeating this over and over. And still no mail delivered to my computer. I am paying $100 a year for this and would not recommend it to others now.

    No, I do not believe I am having other issues than Mac's mail service. I have carefully checked all my mail settings and everything humanly possible. My account status is good. There is a problem with Mac not caring to offer phone support to their loyal customers with older computers. All these "help" and support topics on other parts of the .mac website (the pre fab questions and answers) never seem to cover my problem. I am on an older generation of G3 runing OS 9.1 and I am very upset. What are we supposed to do, those of us senior citizens living on fixed incomes? Throw away our computers after a few years and replace them? I'm shocked at Macs carefree attitude toward loyal customers.

  • How to calucalate to be delivered and invoiced for a PO?

    Dear experts,
    I want to develop a program to display "Still to be delivered" and "Still to be invoiced" for selected Purchase order.
    Just similar to ME2N... but I found it very difficult to re-calculate them by the complex standard programs (LMEREPI02).
    I was wonder if there may have some functions or BAPI could help?
    Thanks,
    Neil

    if another person needs!!
    Is necessary use the BAPI (BAPI_PO_GETDATAIL1).
    Fill:
    Pushaseorder = With the PO(Purchase Order Number) EBAN-EBELN
    After this, get POITEM the fiel Quantity, have a quantity the PO, but to calculate "Still of delivered" is necessary, cathc the values POHISTORY_TOTAL-DELIV_QTY and subtract the POITEM-QUANTITY.
    Still of delivered = POITEM-QUANTITY - POHISTORY_TOTAL-DELIV_QTY.

  • Messaging photos saying not delivered

    I am sending photos via SMS or email and they keep saying not delivered.  So i try again and then the person gets them several times but my phone still says NOT DELIVERED.  Then i send photos to another person and it said the photo was delivered as SMS but they didn't get it...
    Any ideas ???
    I have iphone 4S and just upgraded to IOS 6

    I have been having this issue for the last two weeks, too. I've rebooted my phone a number of times, reset my network settings 3 times, reset my entire phone once, removed my Sim card twice... I've feel like I've done everything I can based on the troubleshooting I've found online. Seems like an aweful lot of people are having this problem. Constanting getting the "not delivered" when people are actually getting the message. I'll send it as a text message becuase it says not delivered and they will get it twice. Same thing happenes on their end and I'll get stuff twice. I'll send something once and the other person gets it multiple times. Just happens with pictures, and just over the last two weeks or so. This is happening with several different contacts, all of us have updated software. One has an iphone 4S, a couple of us have a 5 and the others all have the 5S. It's driving us all CRAZY.

Maybe you are looking for