PURCHASE ORDER STATUS :When Deleting ALL ITEMS.

Hi experts,
I need  to make purchase order status stay  " Release Compleated " when deleting all items.
Anyone Know How to do it?
Or anyone Know how to use BAPI_PO_CHANGE in BAdI : ME_PROCESS_PO_CUST 
In my project , I use Release Strategy of purchase orders, and there is a case of deleting all items.
In this situation, purchase order status returns to "Active " and release strategy tab disappears.
This is our problem.
I need to make purchase order status stay  " Release Compleated " and prevent  release strategy tab disappearing.
I tried to update the fields EREKZ(final invoice) and ELIKZ(delivery completed) in
BAdI : ME_PROCESS_PO_CUST  Method : PROCESS_ITEM using BAPI_PO_CHANGE according to SAP Note 456691.
But BAPI_PO_CHANGE couldn't update EREKZ because of our customize , and I couldn't find how to use
BAPI_PO_CHANGE in the BAdI.
Anyone know solutions to solve this problem?
Thanks a lot.
Regards,
TKD

Hi,
please review the following information in SAP Note No. 456691 as
copied below:
18. Question:
When are the header conditions updated if a purchase order item is
deleted?
Answer:
If a purchase order item is deleted, the item is marked as 'statistical'
(field EKPO-STAPO = X) and the change is reflected in the header
conditions.
However, if for the item the final invoice indicator(EKPO-EREKZ) or the
inward delivery completed indicator (EKPO-ELIKZ) is set, the item is not
marked as 'statistical' (EKPO-STAPO is not set) and thus the header
conditions are not updated.
I hope this helps you
BR
Nadia Orlandi

Similar Messages

  • When receiving a purchase order in Northwind, receiving all records when press on a button

    Good morning,
    This is a challenging request, I did not figure out how to receive all items at once in the receiving tab. I have created a button named "Post test" on which I have a test code that doesn't do exactly the right thing. I am posting the code from
    the original database that works, but we have to do the receiving one row at a time, it is ok when we have few products on a purchase order, but when a user has 150 items, this is becoming time consuming.
    So here is an image follow by the original the codes. (The code on the button is at the end of that document, you might want to begin there) is you understand my error faster.
    Here is the link for accessing the Northwind database and a document on OneDrive
    https://onedrive.live.com/redir?resid=F7190044A52FAE85%21663
    My code on the button "Post test":
    Private Sub Post_test_Click()
    Dim InventoryID As Long
    Dim ProductID As Long
    Dim Quantity As Long
    Dim PurchaseOrderID As Long
    Dim InvoiceID As Long
    PurchaseOrderID = Nz(Forms![Détails bon de commande].[Réf bon de commande], 0)
    Dim rsw As New WrapperJeuEnregistrements
    With rsw.GetRecordsetClone(Forms![Détails bon de commande].sbfPurchaseReceiving.Form.Recordset)
    While Not .EOF
    .Edit
    ![Date de réception] = Date
    ![Entré en inventaire] = True
    ProductID = Nz(Me![Réf produit], 0)
    Quantity = Nz(Me![Quantité], 0)
    InventoryID = Nz(Me![Réf inventaire], 0)
    If Inventaire.AddPurchase(Me![Réf bon de commande], ProductID, Quantity, InventoryID) Then
    If InventoryID > 0 Then
    Me![Réf inventaire] = InventoryID
    Me![Entré en inventaire] = True
    End If
    End If
    If InventoryID > 0 Then
    Me![Entré en inventaire] = True
    End If
    rsw.Update
    rsw.MoveNext
    Wend
    End With
    Forms![Détails bon de commande].Requery
    End Sub
    I did have a post last week, but I have received 1 answer that specified that the original code was missing...
    Thank you for your time...
    Claude from Québec, Canada
    Claude Larocque

    Hi Claude,
    I have downloaded the files and I tried to do as the steps in the document, but failed. When I tried to open the forms I got the error message "Item not found in this collection".
    >>I did not figure out how to receive all items at once in the receiving tab
    In my option, if you want to get all the items, yo​u could add a new query. You could query all the items you want and add a button to the form, when you want to show the all items, you could click the button to run the query. I have viewed the code you
    provided, you requery the "Détails bon de commande" form which did not change the query statement, I think you could add a new form and bind a new query to it.
    >>however, this is the model created by Microsoft that we can use in Access 2010 and 2013
    This model is much complex and the logic of the model is complex too, as your description, some parets of the code is useless, I think we could recreate a new empty database and create the forms which are needed instead of modifying it in the original version.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Purchase Order Status Tab

    Hell gurus,
    We have a purchase order where all of the line items have been marked for deletion except for one, however the purchase order status tab "Ordered" amount is not being updated.  However, the to be delivered and to be invoiced on the tab are correct as they read 0.
    The status tab is definitely not retaining the entired amount of the original purchase order.  Has anyone encountered this?

    Hi,
    please review the following information in SAP Note No. 456691 as
    copied below:
    18. Question:
    When are the header conditions updated if a purchase order item is
    deleted?
    Answer:
    If a purchase order item is deleted, the item is marked as 'statistical'
    (field EKPO-STAPO = X) and the change is reflected in the header
    conditions.
    However, if for the item the final invoice indicator(EKPO-EREKZ) or the
    inward delivery completed indicator (EKPO-ELIKZ) is set, the item is not
    marked as 'statistical' (EKPO-STAPO is not set) and thus the header
    conditions are not updated.
    I hope this helps you
    BR
    Nadia Orlandi

  • EBP purchase order status is comming as blank from last 5 months

    Hi,
    Advance thanks for BW experts.
    Here is the issue I am facing.
    We are extracting shopping cart data from EBP(SRM) daily.
    We are using Data source as '0BBP_TD_PO_1' in SRM.
    In BW it is coming to ODS '0BBP_PO' for collecting data.
    Info source we are using is '0BBP_PO_TD_1'.
    The problem is EBP(SRM) Purchase order status coming as blank from last 5 months, we are using every thing standard objects, no routine, i checked in BW side. I found that purchase order status field coming as blank from SRM. It seems to some problem in extractor?.
    If any one experts in SRM-BW please help me on this how to proceed?.
    for more information PO status filed (InfoObject) in BW is -0bbp_PROPO

    hi,
    take a look sap oss note 827638
    check also 824410,809118
    827638
    Symptom
    Status is blank
    Other terms
    0BBP_TD_PO_1, PO extractor, I1016, Status rejected
    Reason and Prerequisites
    The rejected status is not considered while extraction
    Solution
    Got a mail from customer regarding all the possible statuses which is not populated while extraction.
    Status   Populated or not ?
    Ordered                                             X
    Awaiting Approval                                  X
    In Your Inbox
    Release Rejected
    Held                                                X
    Deleted                                             X
    Outstanding Confirmations Outstanding Invoices
    Transfer Failed                                    X
    Confirmed by Vendor
    Partly Confirmed by Vendor
    Rejected by Vendor
    Changes Transmitted Obviously we dont report on all these statuses in BW but release rejected might be an important status and BATA (customer no: 169433) needs this status to be extracted through the PO extractor. I am changing the extractor code for this status. In future we can enhance this note to take care of other statuses relevant for BW. For now other statuses seems to be not usufull for BW reporting.

  • Purchase order status issue

    Hi Everyone
    I am having an issue with the status of Purchase order. When the Purchase order has single account assignment, everything is fine. But when I create a purchase order with multiple account assignment, the first line item is correct but when I ad second line, the still to deliver quantity gets added correctly but the amounts only reflect the recent item and not the previous one.
    For example:
    Item 10            Quantity 10           
    Item 20            Quantity 10         CC xxxx         GL account 666666
                                                       CC yyyy         GL account 666666
    Status:    Ordered        20              200
                    Still to deliver 20             100
    Please help me with this issue.
    Thanks,
    Shalu
    Edited by: Shalu G on Feb 9, 2010 12:07 AM

    Resolved myself

  • Condition in purchase order not distributed in line items

    Hi All,
        I have a condition ZD21 (delivery charges) in purchase order.  When i enter the condition at header level, it supposed to distribute the charges among line items.  However sap put the entire amount in one of the line items.   The condition has condition class A (surchage), Calc typ B(Fixed Amt) and B as cond cat.   Header condition is selected (not item).
       Sometimes system populate an amount at the header level for this delivery charge.
    How can i get the amount to distribute to all line items ?  Also, where is the populated amount coming from ?  Anyone with any suggestions ?
    thanks
    joyce

    Hi Tej,
      Group condition and Header condition were selected.  I noticed that  for other plants, the delivery distribution works but not for this plant.  This wouldn't have anything to do with plants, right ?
    What is the group based on for Group Condition  ?   Thanks.
    Edited by: Joyce Chan on Jan 10, 2012 2:54 PM

  • Purchase order status report

    hi,
    can any one give an idea regarding to generate a report for purchase order status
    this report gives a list of purchase orders that are against given sales order item this report also gives the delayed status of purchase orders.
    1. user will give the sales order no: , customer , plant as input
    2. based on that input if stock is available it directly goes to production order other wise it has go to purchasing order

    Dear Anil ,
    Check for a Standard Report in SD ...
    or else , you can directly extract VBBE table for Open Orders.
    Thanks,
    Krish

  • How to delete all items in download folder under bookmark in the shortest time?

    I understand that all downloads from internet and yahoo/google mail are stored in the "Download" folder which I see under bookmark when I want to delete. I think that if the download folder is never emptied, then my mac will slow down. Therefore I want to delete these downloads which I have already seen. How do I delete ALL items in the shortest time? Deleting items, even in groups, takes a long time. Is there a method that I can use so that all items in the folder are deleted in one stroke?
    Thanks.
    Unguja

    Try (first button on toolbar) Organize > Select All (Command + A) to select all items in the right pane in the Library.

  • Not able to print on Purchase order whatever we fill in item text

    not able to print on Purchase order whatever we fill in item text, from where can we link to get printed item text on purchase order

    while doing in quality whatever we fill in text in item details of p.o we are getting it printed on p.order
    but same thing when we are doing in production we are not able to print on purchase order. where we should look out
    for e.g in spro-mm-purchasing-purchase order..

  • How can I delete all items on the "Done" list in Reminer-App? There are meanwhile hundreds of items (shopping, appoitments, ...) and I don't want to spend hours deleting them.

    How can I delete all items on the "Done" list in Reminer-App? There are meanwhile hundreds of items (shopping, appoitments, ...) and I don't want to spend hours deleting them.

    You can't remove the built-in root certificates, but you can remove their trust bits via the Edit button to prevent Firefox from using them as a trusted root certificate.
    Intermediate certificates that Firefox has stored when visiting websites that show as "Software Security Device" should never has trust bits set.
    Note that it is the responsibility of a server to send all required intermediate certificates to make it possible to build a certificate chain that ends with a built-in root certificate.

  • Table for purchase order status

    Hello friends,
    There's a tab STATUS in purchase order (tcoe ME21N).
    I can't find a table which contains theses statuses.
    Anybody knows what's the table for purchase orders status ??
    Regards,
    Bahia

    Hi
    PO status is stored in Structure not in the table.
    Please use the List displays to get the information like ME2N,ME2L, ME2M, ME2K etc
    You can also get the information from the table EKKO, EKPO, EKET,EKBE
    Hope it helps
    thanks/karthik

  • Purchase order status...

    Hello,  please can you tell me where can I see purchase orders status? Which table or if I can configure it in SUS?
    I am talking about these status: New, changed, in process, confirmed, partly confirmed, rejected, canceled by customer....
    Thanks in advance
    Rosa Rodríguez

    Hello Rosa,
    >
    Rosa Rodriguez wrote:
    > Please can you tell me if you know for which document is I2202 and I1817 status used?
    >(...)
    System status u2018I2202u2019 is used by object category DML (DML Object types  - Master Data Framework) and status u2018I1817u2019 is linked to AUP (Audit Plan u2013 Audit Management).
    Nevertheless, I am not able to tell what are those status for and if they are linked to purchasing documents.
    >
    Rosa Rodriguez wrote:
    > Can I use these for purchase order for example and manage them with my system requirements?
    > (...)
    I don't think so because those status have their own transaction control (double click onto system status number in BS23 transaction to display it).
    So, eitheir manage status profile for user status, or manage your own system status with standard modifications.
    Regards.
    Laurent.

  • How to delete all items in the HUB ?

    How to delete all items on shot in the HUB ?

    Hi all,pay attention to the words I've marked in bold in the first answer from the technical support member:  "From the BlackBerry Hub, hold your finger on the date at the top of the list. A side menu will appear. Click on the Garbage Can to delete all messages prior to that date" At first, I also didn't understand how to make it works, but you have to slide until the date is at the top of displayed messages, then you can tap and hold to select all messages preceding that date. 

  • Purchase Order Number in Vendor Line Item (FBl1N) and Clear Vendor (F-44)

    Hello,
    I am not getting the Purchase Order Number in Vendor Line Item.(FBl1N).
    Also during Clear of Vendor through F-44 i am not able to identify the Line item on the basis of Purchase Order Number.
    Could any one pleae help me out on this issue as i have to clear the vendor Line item in mass.
    Thanks
    Nitin Jindal
    Moderator: Please, respect the rules of the forum and search SDN before posting new thread. This question has been answered several times. Also, please choose proper forum to post your questions; this one is related to Financials and not to Controlling

    Based on my experience std feature from SD-FI . Depending on the SD Billing config which can be by delivery(VTFL) or sales order(VTFA). You can assign options of A: Cust PO No. B Sales order no. C Delivery no. D External delivery no.  E Actual invoice number to available header fields of Assignment No. or Reference No. Try it out

  • I bought Iphone5 at 28th Sep, but the order status is still processing items?

    I bought Iphone5 at 28th Sep, but the order status is still processing items? What is going on, is that ok ? although Delivers  24 Oct, 2012 - 31 Oct, 2012.

    I ordered on 29th sept, order status still processing items - although it says will dispatch deliver 24 - 30 oct. I don't think it will deliver anytime soon as apple can't fulfil millions of orders even in 4 weeks.

Maybe you are looking for

  • Somebody please EXPERT look at this with me and try to explain the problem.

    here is my site.    www.subzerorefrigeration.com I have a template set up for the entire site that is at www.subzerorefrigeration.com/cityweather.html  I added two images to the bottom of the template page that say schedule service and one says sched

  • Notification will not work for Mail

    Downloaded Mountain Lion; everything appeared to go well with install. When I first launched Mail, there didn't seem to be any issues (had to convert messages into new format, etc.) However, Notifications for Mail is not working. When a new message i

  • Is there a way to completely undo all flex time mods to an audio file?

    I have an audio drum track that i thoroughly destroyed messing around with flex time and audio quantizing. I believe these are nondestructive edits, but i can't find anyway to get it totally back to its original state. Is this possible? Thanks

  • RFC connection to Crossgate

    I am setting up an RFC connection to Crossgate for transferring iDocs. I have created the tRFC in SM59 and the test returns successful. When I call the transaction, the iDoc is generated succesfully, however in WE02 it has a status of 20, with the er

  • JSF Calendar/ File Upload

    Can any one of you suggest me any tutorial about Calendar function? How to add the calendar component into Studio Creator? Highly appreciate your help. Also, I need help on File upload.