Customer cancels purchase order

Hi alltogether,
I have to give a recommendation for the following case:
- user created a customer order with one item and item cat. TAB!
- user created a po with ME57/ME21N and ordered the parts
- user received the parts (with or w/o MIGO, doesn't matter)
Now the customer rings and does not want the parts anymore.
User wants to keep the po with the specific number 45xxxxxxxx, because he will receive a supplier invoice with relation to that po number.
He also wants to keep the ordered parts in his own stock, means he doesn't want to return to supplier.
How can we reject the customer order and change the po so that we can post the stock to unrestricted use?
(It doesn't allow to reject the customer order items (subsequent documents message) as long as I do not delete the purch. order item.
Error-Message: "Delete purchase order 45xxx and item 000010 first" )
There is one workaround I found:
1.) delete po item (garbage icon)
2.) reject customer order item
3.) change account assignment category in po item to BLANK (was set to M, because of the TAB item in cust. order)
4.) clear Purch.req and req. item reference in po item line
5.) save po
6.) undo deletion of po item (unlock icon)
Too complicate, isn't it?
Any good ideas from the pros outside?
Thx a lot
Wolfi.

Hi Wolfi,
It seems the experts here are missed the mark and seem not to grasp the main point of your question. I think you should try to get proper answer on the sales general forum.
In my opinion you have already drawn up the steps of the exact solution how to handle this issue and no one has been able to give a solution of such qualty till know.
You have to delete PO, PR, SO as well, so maybe you have to work with it a lot but if you want an exact solution you may have to pay the price.
Other side of the coin that your customer shouldn't cancel an already issued order of which procurement is in progress. Of course it is your internal issue how to handle.
In my opinion maybe you can simply delete the PO item and create a new one that is not in connection with the SO itself - I don't know it is possible but maybe it is.
BR
Csaba

Similar Messages

  • How to Enable Delta for a Custom MM Purchase Order History ODS ???

    Hi all,
       We have a Customized MM Purchase Order History ODS with Full Update on Monthly basis. We want to enable the DELTA for this ODS and how can I proceed, PLEASE.
    Please find the Key Figures and Data Fields in the below:
    ODS Structure for PO History ODS:     
    Key Fields
    SAP R/3 Field Description             Technical Name
    Purchasing Document Number             EKBE-EBELN
    Purchasing Line Item Number             EKBE-EBELP
    Sequential number of account assignment     EKBE-ZEKKN
    Transaction/event type, purchase order history     EKBE-VGABE
    FI Fiscal Period     FISCPER (from BKPF-GJAHR + BKPF-MONAT) in the format YYYYPPPP
    Number of Material Document             EKBE-BELNR
    Item in Material Document             EKBE-BUZEI
    Data Fields
    SAP R/3 Field Description     Technical Name
    Company Code     EKKO-BUKRS
    Plant     EKPO-EWERK
    Account Number of the Vendor                   EKKO-LIFNR
    Currency Key (of PO)                           EKKO-WAERS
    Deletion indicator in purchasing document     EKPO-LOEKZ
    Purchasing Document Date                   EKKO-BEDAT
    Responsible salesperson at vendor's office    EKKO-VERKF
    Vendor's telephone number                   EKKO-TELF1
    Incoterms (part 1)                           EKKO-INCO1
    Incoterms (part 2)                           EKKO-INCO2
    Short text                                   EKPO-TXZ01
    Material Group                                   EKPO-MATKL
    Material Number used by Vendor                   EKPO-IDNLF
    Expected Delivery Date                           EKET-EINDT
    Order unit (UOM)                           EKPO-BSTME
    Delivery Completed Indicator                   EKPO-ELIKZ
    Account assignment category                   EKPO-KNTTP
    Business Area (from PO)                           EKKN-GSBER
    Name of requisitioner/requester                   EKPO-AFNAM
    Purchasing organization                           EKKO-EKORG
    Purchasing group                           EKKO-BKGRP
    G/L Account Number (from PO)                   EKKN-SAKTO
    Cost Center (from PO)                           EKKN-KOSTL
    Work Breakdown Structure Element (WBS Element)     EKKN-PS_PSP_PNR
    Payment Terms (from PO)                           EKKO-ZTERM
    PO History Category                            EKBE-BEWTP
    Movement Type                        EKBE-BWART, MSEG-BWART
    Debit/Credit Indicator                     EKBE-SHKZG
    Reference from Invoice                     RBKP-XBLNR
    Payment Terms (from Invoice)             RBKP-ZTERM
    Posting Date      RBKP-BUDAT for IR, MKPF-BLDAT for GR
    Document Date      RBKP-BLDAT for Invoice, MKPF-BLDAT for GR
    Baseline Date     RBKP-ZFBDT
    FI Document Number      BKPF-BELNR, found through BKPF-AWKEY (IR # or GR # + fiscal year) or MSEG-LFBNR
    FI Dcoument Year          BKPF-GJAHR
    FI Document Type          BKPF-BLART
    Fiscal Variant     Hardcoded: S4
    Payment Method (invoice header level)     RBKP-ZLSCH
    GL Account (from GR/IR document)     MSEG-SAKTO for GR, DRSEG-SAKNR for IR (DRSEG is a structure)
    Cost Cener (from GR/IR document)     MSEG-KOSTL for GR, DRSEG-KOSTL (DRSEG is a structure) for IR
    Business Area (from GR/IR document)     MSEG-PARGB; not sure on IR
    Local Currency                             BKPF-HWAE
    Local Currency 2                     BKPF-HWAE2
    Amount posted to GR/IR Clearing (LC)     EKBE-AREWR
    Amount posted to GR/IR Clearing (GC)     EKBE-AREWR converted to Group Currecny found through BKPF-KURS2 if BKPF-HWAE2 is USD
    Purchase order quantity                           EKPO-BSTMG
    Price Unit (for PO)                           EKPO-PEINH
    Net price in purchasing document (in document currency)                                           EKPO-BPREI
    Amount in local currency; amount in document currency     MSEG-DMBTR for material document, RSEG-WRBTR for invoice
    Amount in local currency; amount in document currency (GC)     MSEG-DMBTR for material document,
            RSEG-WRBTR for invoice converted to USD
    Quantity      MSEG-ERFMG for material document;
                    RSEG-MENGE for Invoice
    Delivery costs' share of item value     RSEG-BNKAN
    Delivery costs' share of item value (GC)RSEG-BNKAN converted to USD
    Tax Amount (accrued)             BSEG-PSWBT
    Freight Amount (accrued)     BSEG-PSWBT
    Discount Amount (invoice header level)     RBKP-WSKTO
    Thanks.

    Hi Venkat,
    If you are using a Custom DataSource/Extractor the main problem is that you are collecting data from a lot of tables, so it is really difficult to determine a field for the delta.
    If for you is important only a change at Key Fields Table (EKBE) you can set the Generic Delta only on a field of this table (Doc Number or Position Number - Date - Timestamp).
    But if you are interested in all changes you have to determine a single field for every tables...
    I think it is really difficult to find a delta in all these tables.
    Maybe you can think to use in BW an ODS without Reporting BEx flag to determine Delta, and then introduce delta records in a Cube.
    Ciao.
    Riccardo.

  • Cancel Purchase Order

    Dear Expert,
    Can you give me the steps as to how to cancel purchase order, thanks.

    Go to Purchase Order and in Purchase Order Item details Tab Select Delivery Tab and Clcik on Delivery Completed Indicator and Save.
    Repeat the Same Steps for all Items in Purchase Order and save.
    IF you want to Delete the Line Items Then Select the line ITems in ITem Overview tab and Click on Delete Button and save.
    http://www.sap-img.com/materials/steps-to-take-in-order-to-force-close-po.htm
    http://www.sap-img.com/materials/how-can-we-delete-purchase-requisition.htm
    Regards,
    Ashok

  • How to determine canceled purchase orders

    Hi all,
    I have to block purchase requisition if purchase order is created.
    if PO is deleted (canceled) PR can be modified again.
    So i want to khow how can i see if PO is canceled???
    Thank you

    Thank you Navneeth 
    I have a PO with only one line that i have deleted.
    In EKPO-LOEKZ the value is 'L'
    in EKKO-LOEKZ there is no value?!!!
    Q1 : have i deleted the PO correctly
    Q2 : If yes, is there an other way to determine canceled purchase orders??
    Thanks

  • Cancelled Purchase Order

    Dear Sir /Madam,
    What is the procedure for cancel Purchase Order?How to Intimate Vendor to cancellation of Po? How to find a List of Canceled Purchase Order in system? requesting you to pl.explain with T-Code.
    With Kind regards,
    Nitin

    >
    Jeyakanthan A wrote:
    > Define resaons for cancellation in SPRO settings.
    >
    > When you cancel order,mentione order reason code in p.o.
    >
    > It will list canceled p.o's in ME2N,From dynamci selection select Reason for cancel. from document header,enter reason code.
    Check this detail of this img activity:
    Define Reasons for Cancellation
    In this step, you can specify the circumstances under which a purchase order with a validity period (i.e., in the standard system, a PO of the document type 'FO') is terminated prematurely.
    Activities
    Define a key and enter a description of the relevant reasons for cancellation.
    *Meaning this setting can only be done for document type FO = framework order.*
    unless i am missing some other setting.
    This can be found under spro>mm>PO>Define reasons for cancellation
    Edited by: Afshad Irani on Aug 27, 2010 12:32 PM

  • Customizing 'Print Purchase Order' Report

    Hi All,
    We need to customize the 'Print Purchase Orders' report, for communicating the PO to supplier. But the Fax commnds, and the output format we have to change accordingly. Also we need to move the generated output file to another directory.
    Please let me know the recommended customizing procedure for the above.
    Thans,
    Gowri.

    Hi,
    If you want to modify Print PO Report (POXPOPDF), refer to the following document.
    Note: 305307.1 - How To Modify Print PO Report POXPOPDF With Custom Template
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=305307.1
    Regards,
    Hussein

  • Manual Updation of Ship to Partner (Customer) in Purchase order Item

    Hello Sap Gurus,
    While creating Purchase order (ME21n) of Type RTN or STO, the client wishes to Select the Ship to partner manually if more than 1 Ship to Partner is assigned to the Customer Master Data / Sales Organisation. Currently this is auto picked by SAP and the field is uneditable.
    I Have added the Functionality to PO Header to show the additional ship to partners in a drop down through use of enhancements. On selection of one of the ship to partners in PO header the Customer in Shipping Tab in all the PO items and Corresponding Delivery Addresses needs to be updated based on the selection.
    SAP Note 303453 shows how to change selected shipping data fields but not the customer or shipping address. My requirement is somewhat described by Note 652763 but that cannot be used in ME21n.
    Kindly help in this regard on how to achieve the functionality.

    Hello Helena,
    Unfortunately there is not possible to get the partner determination on the item level in the standard. The Partner determination in the standard system will be done on the header level only.
    The another thing is that if you change the partner (exept the  sold-to partner) in the sales order no new partner determination runs. It is the standard. Please also review the note 380507 (points 1 and 2).
    Best regards,
    Lela

  • Customizing Printed Purchase Order (XML) in R12

    Hi,
    I need to customize the Printed Purchase Order (which is sent to Supplier).
    I see the existing report (Executable: XDODTEXE Method: Java Concurrent Program) , I tried to download the template with data definition code=POXPRPOL_XML
    but i dont see any tempate for that.
    Conc Prog:Printed Purchase Order Report(Landscape) (XML)
    Short name:POXPRPOL_XML
    Could you let me know how to approach for customizing the report.
    Thanks.

    855902 wrote:
    Hi,
    I need to customize the Printed Purchase Order (which is sent to Supplier).
    I see the existing report (Executable: XDODTEXE Method: Java Concurrent Program) , I tried to download the template with data definition code=POXPRPOL_XML
    but i dont see any tempate for that.
    Conc Prog:Printed Purchase Order Report(Landscape) (XML)
    Short name:POXPRPOL_XML
    Could you let me know how to approach for customizing the report.
    Thanks.Yes..there is no xml associated with it..I have seen it even in my instance..better to log a SR with oracle to get the data template...even when you submit the program it will end up saying no data template...program will be errored out..because there is no template available to pick that
    All Parameters: P_REPORT_TYPE=R:P_AGENT_ID=:P_PO_NUM_FROM=:P_PO_NUM_TO=:P_RELEASE_NUM_FROM=:P_RELEASE_NUM_TO=:P_DATE_FROM=:P_DATE_TO=:P_APPROVED_FLAG=:P_TEST_FLAG=:P_PRINT_RELEASES=Y:P_SORTBY=:P_USER_ID=1013895:P_QTY_PRECISION=2:P_FAX_ENABLE=:P_FAX_NUM=:P_CANCEL_LINE=Y:P_BLANKET_LINES=N:DebugFlag=N
    Data Template Code: POXPRPOL_XML
    Data Template Application Short Name: PO
    Debug Flag: N
    {P_RELEASE_NUM_FROM=, P_DATE_FROM=, P_CANCEL_LINE=Y, P_FAX_NUM=, P_SORTBY=, P_RELEASE_NUM_TO=, P_PO_NUM_TO=, P_REPORT_TYPE=R, P_USER_ID=1013895, P_AGENT_ID=, P_APPROVED_FLAG=, P_PO_NUM_FROM=, P_BLANKET_LINES=N, P_TEST_FLAG=, P_FAX_ENABLE=, P_QTY_PRECISION=2, P_DATE_TO=, P_PRINT_RELEASES=Y}
    Calling XDO Data Engine...
    java.lang.NullPointerException
         at oracle.apps.xdo.oa.util.DataTemplate.getDataTemplate(DataTemplate.java:379)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:226)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    HTH
    Mahendra

  • BAPI to Block/Cancel Purchase order

    hello everybody,
    can any one tell me if there is a BAPI to block Purchase order at item level. or if there is a BAPI to cancel a Purchase order.
    Tx .
    Regards
    Swanand

    Hello Swanand,
    You might want to have a look at BAPI_PO_RESET_RELEASE. This BAPI is documented well enough for you to decide whether this is suitable for your case.
    If this helps, please reward points and mark the topic as answered.
    Regards,
    Anand Mandalika.

  • Error while cancel Purchase Order

    Hello everyone.
    I'm trying to cancel a Purchase Order which has a Purchase Delivery Note.
    First I cancel the Purchase Delivery Note and than I try to cancel the Purchase Order, but I'm having the following error: "The requested action is not supported for this object."
    If I manually cancel the Purchase Delivery Note, I can successfully cancel the Purchase Order by code.
    Here is the code I'm using:
    Documents lDocumento = Globals.AddOn.ConexaoAuxiliar.GetBusinessObject(BoObjectTypes.oPurchaseDeliveryNotes);
    lDocumento.GetByKey("DocEntry");//DocEntry is just an example
    Documents lCancelamento = lDocumento.CreateCancellationDocument();
    if (lCancelamento.Add() != 0)
         throw new Exception(Globals.AddOn.ConexaoAuxiliar.GetLastErrorDescription());
    Then I try to cancel the Purchase Order:
    Documents lDocumento = Globals.AddOn.ConexaoAuxiliar.GetBusinessObject(BoObjectTypes.oPurchaseOrders);
    lDocumento.GetByKey("DocEntry");//just an example..
    if (lDocumento.Cancel() != 0)//if can't cancel, try to close
         if (lDocumento.Close() != 0)//if can't close, show error..
              throw new Exception(Globals.AddOn.ConexaoAuxiliar.GetLastErrorDescription());
    SAP 9 PL 10

    Hi Leandro,
    Sorry, I missed that bit. But that brings to mind, you create the cancellation document, but apparently you do not explicitly cancel the purchase delivery note.
    Could you please test that ? So for example:
    if (lCancelamento.Add() != 0)
      if (lDocumento.Close() != 0)
    //etc.
    Could you also please test commenting out the code that closes the purchase order, and then check from the B1 client that the delivery was closed and linked to a Returns document ?
    Regards,
    Johan

  • DTW - Cancel Purchase order

    How i can cancel a Purchase Order using the DTW?
    thanks for your colaboration

    Hi Jimmy,
    Unfortunately it's not a question of what does or doesn't work but what SAP will allow as part of their support agreement. In this agreement it clearly states that the user will not directly update the SBO tables. If you do then the agreement is effectively null and void. If SAP find a site has updated their database directly through SQL then they would be perfectly within their rights to withdraw support and walk away, leaving the site with unsupported software.
    By updating the OPOR table directly, you are corrupting the database. It may not have a direct effect on the live data but your OPOR table no longer matches to your transaction history table (ADOC). This can be easily spotted by anyone looking for this type of issue.
    SAP do have the authority to run queries on the tables and have done so for us on a number of occasions to fix issues for our clients. But we are not allowed directly to do this. Issues of this nature should always be logged as support with SAP. I know it's very tempting to look at a direct SQL issue for some problems (I used to work on other ERP systems which did allow this kind of update) but you just have to ignore the temptation and deal with the issue in another way.
    Kind Regards,
    Owen

  • Preparing a Billing document from Customer's Purchase Order

    we are in SAP 6.0, using SD module. We create a contract, then sales
    order & then Billing.
    Now for some orders from customers, we get a Purchase Order from the
    customer. We want to enter this PO's and then do Billing. There has to
    be a system check, that Billing value do not exceed the PO value. Is
    there a faciliy in SD module, where we can enter the Purchase Order
    from the Customer ?. OR is there any work around for this.
    We require your suggestions / advice on
    the same.
    Thanks
    amit

    See the below . hope it meets ur requirement
    Minimum Order Value Locate the document in its SAP Library structure
    Use
    You can specify a minimum order value for sales order processing. The following example illustrates how this function is used:
    You specify a minimum order value of USD 200.
    During sales order processing, the net value (after discounts and freight, before taxes) of an incoming order is USD 190.08.
    During pricing, the system determines that the net value falls below the minimum order value and calculates a minimum-order-value surcharge. In this example, the surcharge equals USD 9.92.
    The minimum order value and the surcharge appear as separate lines in the pricing screen. The minimum value is for information purposes only, and does not affect pricing. The system automatically adjusts the net value of the order (before taxes) to the minimum value allowed.
    Condition Types for Minimum Order Value
    The standard R/3 System includes two condition types for processing minimum value requirements:
    Condition type
    Name
    AMIW
    Minimum order value
    AMIZ
    Minimum value proposal
    Creating Condition Records for Minimum Order Value
    If you use minimum-order-value requirements, you must create condition records for condition type AMIW. In these condition records, you specify customers and the corresponding minimum order values. During pricing, the system automatically uses these condition records as a reference for determining the relevant minimum order surcharges (condition type AMIZ). In the standard version, condition type AMIZ refers to AMIW. This means that the system automatically calculates values for AMIZ conditions; you do not need to create separate condition records.
    Note
    You may want to specify minimum order values by sales organization or division instead of by customer. In order to do this, your system administrator must define a new condition table with the appropriate fields in the table key. The condition table can then be included in the access sequence for condition type AMIW.

  • Canceling Purchase Order

    Hello Gurus,
    I got error <b>The Valuation Category cannot be changed bcos Purchase oders already exits</b>,there is po exists for 10 pieces
    i got this error while selecting <b>Valuation Category</b> in material master,
    when doing Split valuation we've to post out all stocks,
    so my question i want to Cancel this purchase order,
    i tried with blocking PO by selecting LOCK in PO item
    im still getting the error..........how can i avoid this error
    pls help me............

    Hi,
    U need to put deletion indicator at the line item from tcode me22 and going to edit and putting deletion indiactor.
    Moreover you need to put the delivery completed indicator in the item details.
    Hope this helps u
    reward if useful
    Rohit

  • How to view cancelled Purchase Orders.

    Hello Everybody,
    I was wondering if there is a way to see canceled or blocked Purchase Orders. Any help would be highly appreciated.
    Thank You.

    Hi,
    Select report ME2N (Purchasing Documents per Document Number). Select oprtion 'Dynamic Selection'. Here, at 'Purchasing Document Item' level, select field 'Deletion Indicator'. Mark this foeld as 'X'. Select your other parameters such as vendor, date range, plant & execute. The system will show the report of P.O.s with deletion indicator at item level & with other paramters you have selected.
    Hope this will help.
    Regards,
    Prashant Kolhatkar

  • Oracle B2B - Trading Partner identification for Custom XML purchase order

    Hi ,
    How to identify From TP and To TP from the data available in the custom XML?
    Also need know will it be possible to identify the Agreement based on XML data of custom purchase order (Not with File Name format identification)?
    Thank you.
    Regards
    Anvesh Raju

    Hi,
    please refer to below doc for various identification options
    Creating Types - 11g Release 1 (11.1.1.7)
    Generic exchange is also discussed
    Thanks,
    Prasanna

Maybe you are looking for