Create Return PO using ME21N with reference to Original Purchase Order

Dear Experts,
Does anyone knows how to create Return POs with reference to Original Purchase Order using ME21N.  The Purchasing Department will be initiating the Stock Return to Vendor so we don't want to use MB01, 161 Movement Type to create the return PO.  Can anyone help.
Thanks.

Hi,
It is not possible to create a Return PO w.r.t. the original PO. Even if you will copy, it will just copy the details from PO but not store the reference of original PO in return PO.
Better instead of creating a new return PO, add a separate line item in the orginal PO by marking it as "Return" and perform all the subsequent transactions. This will provide the better traking and reporting. But this may affect your release strategy (need to be tested).

Similar Messages

  • Create an outbound delivery with reference to a purchase order

    Hi folks, would you tell me if I can create an outbound delivery with reference to a purchase order?
    I tried to use the transaction VL10B but after I run there is no data is selected. Should I set up anything else for that?
    Thanks in advanced.

    Hi,
    Yes, you can create outbound delivery with reference to a PO.
    In transaction VL10B, if you are not sure about the shipping point leave it blank. ALso, you can check the shipping point from the shipping data and enter it here.
    Leave the field Condition rule to create delivery blank so that it will consider PO with delivery date falling within one year.
    In the Purchase order tab, enter the PO number.
    Execute.  It should fetch you the PO list due for delivery.
    Before doing the above, make sure PO is not subjected to release strategy. Check the quantity in the PO due for delivery.
    Thanks and Regards,
    Maheshwari

  • How can I create a sales order with reference to a purchase order?

    How can I create a sales order with reference to a purchase order?
    Thanks in advance...

    Hello,
    you can't create a sales order with reference to a purchase order. You can input customer PO nuber in the sales order Purchase Order number filed.
    Prase.

  • With reference to contract Purchase Order Analysis report.

    Hi,
    I need SAP Standard " With reference to contract Purchase Order Analysis report"
    Regards,
    Priya.

    Hi,
    there is no standard report to get the PO list wrf to contracts,
    but you can get through SE16 from the table EKPO, where you have to pass the contract numbers ( get through ME3L,ME3M or ME3C ) in the field KONNR,
    lakshmi reddy

  • Create return with reference to original sales order - partners

    Hi all
    I'm using the function SD_SALESDOCUMENT_CREATE to create a return order with reference to the original sales order. (Partially return works fine too).
    All the informationen from the original sales order (including partners). I'm reading with the function BAPISORDER_GETDETAILEDLIST. This works fine. I get all the correct datas from the sales order.
    The problem: when I create a return order with the SD_SALESDOCUMENT_CREATE it takes the partners from the standard defined partners table and not from the original sales order.
    For example, standard defined partners for Customer: 10101010:
    200010 Dealer 1
    300101 Subdealer 2
    501001 Salesman
    When I have in the sales order only this partner:
    200010 Dealer 1
    it takes into the Return still all the 3 partners. Also then, when I explicity delete these other partners in the partnertable (return_partners) before I leave to the Function: BAPI_CUSTOMERRETURN_CREATE.
    Can anyone help me?
    Thank you so much!!
    Petra

    Hi Petra
      Can you check how itz behaving when you create using
    VA01 with reference document for the same case.
    Kind Regards
    Eswar

  • Create return with reference to original sales order - pricing

    Hi
    I am using the function SD_SALESDOCUMENT_CREATE to create a return order with reference to the original sales order.
    All the information from the original sales order (including pricing conditions) I've read with the function BAPISDORDER_GETDETAILEDLIST.
    The problem : the pricing conditions. I need to copy the conditions from the original order and it is not working correctly.
    Any ideas?
    Thanks.
    Anca

    Correct...
    You need something like:
    *Get the pricing cond number.
    select single knumv from vbak into cond
      where vbeln = '0000080347'.
    if sy-subrc = 0.
    Get the pricing record which are by line item.
      select * from konv into table konv_tbl where knumv = cond.
    Loop thru them one line at a time.
      loop at konv_tbl.
       bapi_cond-itm_number = '000010'.
        bapi_cond-cond_st_no = konv_tbl-stunr.
        bapi_cond-cond_count = konv_tbl-zaehk.
    CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
      EXPORTING
        RETURN_HEADER_IN               = bapi_hdr
       BUSINESS_OBJECT               = 'BUS2102'
        CONVERT                        = 'X'
      IMPORTING
        SALESDOCUMENT                 = bapi_salesdoc
       RETURN                        = BAPI_RET
      TABLES
        RETURN                        = bapi_ret_tbl
        RETURN_ITEMS_IN                = bapi_itm
        RETURN_ITEMS_INX               = bapi_itm_out
        RETURN_PARTNERS                = bapi_prtnr
        RETURN_SCHEDULES_IN            = bapi_schd_lin
        RETURN_CONDITIONS_IN           = bapi_cond.  "pricing
      ORDER_TEXT                    = bapi_text.

  • ME21N Create Purchase Order with reference to previous Purchase Order

    Hello Expert,
    Previously have been using Purchase Info Records for reference when creating Purchase Orders using ME21N.  We then have deleted the Pricing Condition in the Purchase Info Record using ME12.  Now when we are trying to create a new Purchase Order with the same values (Vendor, Material, Plant and Storage Location), the transaction code ME21N automatically fetches the previous values of the Pricing Condition as if it was cached.  I remember of studying this in the MM academy but I am not sure how to disable it. 
    This error only happens when we are creating the first Purchase Order after the deletion, for the second Purchase Order, error will be prompted to the user saying that the Pricing Condition could not be found. 
    I would like to ask where in configuration can I delete this cache behaviour or is that any work around for this. 
    Thanks in advance.

    Hello Antony,
    I found the "Update Prices" function in the Conditions Tab of the Item Details helps to refresh the data and fetch the new information from the Purchase Info Record.  I would like to ask is there anyway to provoke this function automatically everytime when a user runs the transaction ME21N.
    Thanks in advance again.

  • Creation of inbound delivery with reference to a purchase order

    Hi
           Everyone on the Forum, I have an inbound delivery (ASN), z that programmatically
    (1) (2) I will develop, I found two modules function, BBP_INB_DELIVERY_CREATE and BBP_INB_DELIVERY_CREATE_31I. The two modules operate to create inbound delivery, only
    the first mark me an error and the second error don't mark me, but not validates me any data
    the purchase order. The error I marked in the function call function 'ME_CONFIRMATION_READ_AVIS'
    If I can help with this issue or tell me the difference between one and another.
    Thank you.

    if you want to have you can use the FM ALM_ME_GOODSMVT_CREATE
    hope it helps

  • Shipping Notification with reference to a Purchase Order

    Hello all,
    I want to know how to create a Shipping notification referring to a import purchase order.
    regards
    Ashish

    Hi
    Follow as per blw
    Config:
    Go to SPRO-MM-purchasing-Confirmation-setup confirmation control
    here select the 10 and check the check box Create inb delivery
    then select the line and click on the confirmation seq and make GR relevant, MRP relevant and GR assign (all three box checked)
    Process Flow: -
    1. ME21N - In PO, Confirmation Tab, select the confirmation control key as "Shipping Notification" or "Inbound Delivery"
    2. VL31N - Create Inbound Delivery w.r.t. PO
    3. MIGO - Goods Receipt > Inbound Delivery
    If you donu2019t select the conformation control key in the PO than system wont allow you to create the Inbound delivery against the PO.

  • Me21n PO creation with reference to a Sales Order

    Dear All,
    How can i create a new PO "ME21N with reference to the existing Sales Order?
    I tried to use a account assignement category, and then the Account Assignment tab is appeared in the item details, but the CO Area field is disable which disallow me to enter the CO area for the PO, can i know what is the reason?
    Thank you very much,
    Regards
    Chee Wee

    Dear Jurgen,
    Yes you are right.
    Actually we have a scenario that the Stock Material(Always keep stock) out of stock in the warehouse.
    In our case, we don't assign the "auto PO" item category for those Stock Material, and SD team also don't want to create a new item category for it.
    So on my side, i need to check if there is a way to create a PO which can enter the SO as reference to the existing SO?
    Thank you very much,
    Regards,
    Chee Wee

  • Create a Sales order with reference to another sales order  using BAPI

    Dear All,
    Can any one tell me what are all the parameters required to create a Sales order with reference to another sales order using BAPI_SALESORDER_CREATEFROMDAT2....
    Thanks in advance

    Hi Madhan
    Thanks a lot for your reply.
    However, I would like to know which parameters need to passed in this BAPI in case of SO creation with reference. I beleive there are only a few parameters that need to passed in ORDER_HEADER_IN, ORDER_ITEMS_IN, etc.
    Need to know exactly which are these parameters.
    Regards
    Mihir Shah.

  • ORDERS05 - Create a Return with reference to a Sales Order

    Hi all,
    I'm trying to create a return with reference to a sales order via IDOC ORDERS05. I'm indicating referenced Sales Order number into segment E1EDK02; indicating qualifier (QUALFR = 002) and Sales order number (BELNR). By this way, I create a Customer Return but without reference.
    Which fields or segment have to be filled in order to create it correctly?
    Thanks
    Marí

    Correct...
    You need something like:
    *Get the pricing cond number.
    select single knumv from vbak into cond
      where vbeln = '0000080347'.
    if sy-subrc = 0.
    Get the pricing record which are by line item.
      select * from konv into table konv_tbl where knumv = cond.
    Loop thru them one line at a time.
      loop at konv_tbl.
       bapi_cond-itm_number = '000010'.
        bapi_cond-cond_st_no = konv_tbl-stunr.
        bapi_cond-cond_count = konv_tbl-zaehk.
    CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
      EXPORTING
        RETURN_HEADER_IN               = bapi_hdr
       BUSINESS_OBJECT               = 'BUS2102'
        CONVERT                        = 'X'
      IMPORTING
        SALESDOCUMENT                 = bapi_salesdoc
       RETURN                        = BAPI_RET
      TABLES
        RETURN                        = bapi_ret_tbl
        RETURN_ITEMS_IN                = bapi_itm
        RETURN_ITEMS_INX               = bapi_itm_out
        RETURN_PARTNERS                = bapi_prtnr
        RETURN_SCHEDULES_IN            = bapi_schd_lin
        RETURN_CONDITIONS_IN           = bapi_cond.  "pricing
      ORDER_TEXT                    = bapi_text.

  • Create an order using BAPI with reference to another one.

    Hi everybody,
    I'm trying to create a new sales order with reference to another one (That's important because of the documents flow).
    I'm using 'BAPI_SALESORDER_CREATEFROMDAT2' but I couldn´t do it yet. I've read some ideas about this kind of creation in this forum; but I still haven´t found the solution yet.
    Some ideas about the BAPI parameters I nedd to complete?
    Thanks in advance!!
    Edited by: Ole ES on Sep 11, 2008 12:32 PM

    Hi,
    Are you sure you can create a sales order with reference to ANOTHER sales order? The reason I ask is that in the front end, sales orders are created with reference to either quotations or contracts. There are settings known as "copying control" that need to be maintained for this to show up as document flow.
    We have been working on a BAPI to create a sales order, but that is without reference to another document, and it works fine.
    Could you please elaborate?
    Cheers.

  • Creating a debit memo request with reference to an invoice

    Hi,
    An invoice shows wrong MWST value because of incorrect customer tax classification as Tax exempt. I corrected the cust tax classification to "Liable for Tax". Then I tried to create a debit memo request with reference to the incorrect invoice. Thats a requirement by the customer. Invoices with incorrect VAT are not to be cancelled. A specially created VAT only sales order (Debit memo request) is used to create a sales order with 0 net value and correct MWST . But while trying to create the debit memo request, the system picks up the same old condition record for the MWST. How to overcome this situation ?
    The copy control for the item category from billing doc to debit memo request is set to "B" that is  new pricing. I even tried to update pricing. But it does not work. Changing the Service rendered date or the pricing date to current date also does not help.
    Please help.
    Regards.

    This is working fine. What I did was
    1: create a new pricing procedure
    2: made the PR00 condition statistical
    3: using a routine calculate the MWST based on the PR00. But PR00 itself does not contribute to the net value. This part is working fine. I could create debit memos successfully.
    The problem is if we change either the customer or the material tax classification after creating the invoice, and then create a debit request with reference to the incorrect invoice, the system still considers the old tax classfication and therefore the old MWST rate. If I create a debit request without reference, the new rate is applicable.
    I hope I have made clear.
    Regards.

  • Create a Revenue Order with Reference to a Sales Order

    Hi Gurus,
      I have specific requirement of creating a Revenue Order ( ZCAR ) with Reference to a Sales Order. The Issue is when I create a Revenue Order from Sales Order by using the BAPI to Copy the data from Original Sales Order it will create copy the data which is there in Original Sales order. My Requirement is when I create the Revenue Order I should have Credit Line which is same as the Order Line from Orignal Sales order and also I need to have a debit line ( which will be a copy of Credit Line ) only difference is Item Categories will be different .
    Please tell me how can I add the debit line in this Scenario and which BAPI's should I use to do this.
    Thanks,
    Raj

    What is the IO you have assigned in the Sales Order please?
    Just check the Sales Order - Account assignement, so that you can able to change if there is a different IO.
    System won't pick up IO automayically until unless you secify in Sales order to done OKB9 settings.
    Chek the above
    Thanks

Maybe you are looking for