VMI scenario: purchase order number created by supplier

Hi,
in a VMI scenario is there a way to let the supplier create the purchase order number which is then sent in the ORDRSP IDoc to the customer? And in the customer system the purchase order number from the ORDRSP is used when the purchase order is created from the ORDRSP IDoc.
Is this possible? What needs to be done for it? Any ideas?
Regards,
Robert

Hi Anand,
I'm sorry but I didn't understand it.
The vendor creates a sales order in his system and sends the order rensponse (IDoc ORDRSP) to the customer system. There a purchase order will be created out of the ORDRSP. That's the standard process. But as far as I know in the purchase order there will be no external purchase order number used from the vendor system but a purchase order number from the customer system instead. This purchase order number from the customer system could be sent to the vendor system in an ORDCHG IDoc if needed. I want to know whether or not it's possible to send an external purchase order number from the vendor system to the customer system and create a purchase order with this external purchase order number.
Regards,
Robert

Similar Messages

  • VMI scenario: purchase order confirmation send to vendor

    Hello Dear Sappers,
    I'm using message type ORDRSP (Idoc ORDERS05) for inbound idoc  for Vendor Managed Inventory, and it works. Then, once the PO is created in our SAP, the system automatically send a PO confimattion message to our vendor through message variant VMI in the partner profile for the EDI message category ORDCHG.
    The system, once the PO is created, send an automatically ORDCHG Idoc to the vendor. The problem is that the system send the PO confirmation before the PO is release/aproved. That is a problem. My requeriment is to send the PO confirmation Idoc to the vendor after the PO is release.
    This is my configuration:
    Partner profile:
    When a message of the ORDRSP type is processed, a purchase order is created for the vendor who sent the purchase order confirmation.
    When a message of the ORDRSP type is processed, a purchase order is created for the vendor who sent the purchase order confirmation.
    Partner no.          VENDOR_AG
    Description:          VENDOR AG
    Partner Type:     LI
    Message Type:     ORDRSP
    Message Code:     VMI
    Process Code:     ORDV
    Processing:          Trigger immediately
    Send Purchase Order confirmation number to VENDOR AG:
    Partner no.          VENDOR_AG
    Description:          VENDOR AG
    Partner Type:     LI
    Partner Function     VN
    Message Type:     ORDCHG
    Idoc Type:          ORDERS05
    Message Code:     VMI
    Receiver Port:     CI.SPARES
    Pack Size:          1
    Output Mode:     Transfer Idoc immediately
    Message Control     Application: EF; Message type ZPOC; Process code ME11 and Change message indicator set.
    I created the Output Type ZPOC but when I tried to added manually to the PO "Maintain outgoing EDI-connection data for partner VENDOR_AG.
    However the strange thing is that the system send the PO confimation IDoc ORDCHG anyway (without any Output Type). But send the Idoc inmediatly the PO is created (not yet release).
    My question here is: how can I only send to the vendor the IDoc ORDCHG only when the PO is release?
    Thanks a lot to all
    Fred

    Hi,
    This problem was solved. I had to remove the message variant VMI from the partner profile. Keep the message type ORDCHG but without VMI variant. And with that way, the system do not send the Idoc after the PO is created. SAP send the Idoc after the PO is release and do it by Output Type determination.
    The key was to remove the message variant! Unbelievable!
    Thanks to all.
    Fred.-

  • How to create Purchase Order using  sub-ordinate Purchase order number?

    Hi,
    I m in ETL product have to extract SAP datas into Access.
    I noticed that in the Demo DataBase of OEC Computers,the Purchase Order is created with sub-ordinate purchase order number.But i am trying to create the same in SAP B1 manually,but i can't create child Purchase Order .
    <b>How to create child Purchase Order?</b>
    Please help me to create the same
    regards
    Sooriyakala.P

    Hi,
    I m in ETL product have to extract SAP datas into Access.
    I noticed that in the Demo DataBase of OEC Computers,the Purchase Order is created with sub-ordinate purchase order number.But i am trying to create the same in SAP B1 manually,but i can't create child Purchase Order .
    <b>How to create child Purchase Order?</b>
    Please help me to create the same
    regards
    Sooriyakala.P

  • Purchase order(PO)  created SRM Rfx Document number

    Hi
    we created PO at ERP from SRM Rfx Response.
    I could find Purchase order numbe stored in EKKO table. But where can i find related SRM RFX response number.
    Its not stored history in ERP tables? i could not find the source object type and object number in EKKO or EKPO table.
    Pls advice how to find it.
    Regards
    Chandra

    Hi
    we created PO at ERP from SRM Rfx Response.
    I could find Purchase order numbe stored in EKKO table. But where can i find related SRM RFX response number.
    Its not stored history in ERP tables? i could not find the source object type and object number in EKKO or EKPO table.
    Pls advice how to find it.
    Regards
    Chandra

  • Can 2 invoice number be created with the same Purchase Order number

    HI,
    I have created one invoice number with a Purchase order number 4500020000. Now is it possible to create a another invoice number with the Same PO

    In me23n transaction go to Invoice tab(In items), there will be a check box for <b>Final Invoice</b>. If it is checked, full amount is invoiced.
    The same can be checked in table EKPO.
    Field EREKZ = 'X' means final invoice done.
    another method is:
    foe each item:
    go to table EKPO and see the quantity.
    then go to table ekbe and get all the invoiced quantity by passing VGABE = '2'. for the PO item.
    add all the records with SHKZG = 'H' and subtract the total of all SHKZG = 'S' records.
    If this quantity is equal to the ekpo quantity, then there is no more quantity to be invoiced.
    Get the PO Item quantities
      SELECT EBELN
             EBELP
             MENGE
        FROM EKPO
        INTO TABLE IT_EKPO
       WHERE EBELN IN R_EBELN.
    Get the Invoice Receipt Documents for the POs
        SELECT EBELN
               EBELP
               BEWTP
               MENGE
               GJAHR
               BELNR
               BUZEI
               SHKZG
          FROM EKBE
          INTO TABLE IT_EKBE
          FOR ALL ENTRIES IN IT_EKPO
         WHERE EBELN = IT_EKPO-EBELN
           AND EBELP = IT_EKPO-EBELP
           AND VGABE = C_VGABE_2.
    logic to check if the IR Quantity equals the PO Quantity for each Item
      LOOP AT IT_EKPO.
        CLEAR V_BPMNG.
    For each line item, calculate the total Invoiced Quanity
        LOOP AT IT_EKBE WHERE EBELN = IT_EKPO-EBELN
                          AND EBELP = IT_EKPO-EBELP.
    Change the sign of the quantity for debit
          IF IT_EKBE-SHKZG = C_SHKZG_H.
            IT_EKBE-MENGE = -1 * IT_EKBE-MENGE.
          ENDIF.
          V_BPMNG = V_BPMNG + IT_EKBE-MENGE.
        ENDLOOP.
    If the PO Item Quantity is equal to IR Quantity
        IF IT_EKPO-MENGE = V_BPMNG.   "ARAO
    write:/ 'No more quantity to be invoiced'.
        ENDIF.
      ENDLOOP.
    Regards,
    ravi
    Message was edited by: Ravi Kanth Talagana

  • Purchase Order : function to determine the purchase order number

    Hi,
    I'm working on data migration to create purchase order. I must use the internally range number. Does anybody knows which function must i use to create the purchase order number before calling the bapi bapi_po_create ?
    with regards
    Jean-Luc Ledoux

    Hi,
    The BAPI is designed to generate the next free number that is defined by the company and allocate it in series.
    This is taken care internally.
    explain the scenario like as from what data ur creating the PO and wht exactly do u mean by having ur own internal number range.....
    No body will have 2 number ranges to define PO....
    if ur uploading data from legacy system then u can have 2 fields called as old purchase order number and purchase order number in new erp system.
    if this is ur scenario ask how the functional mapping is done in the company to accomadate legacy purchase order numbers.
    Regards,
    Jayaram Maganti

  • Customer purchase order number at schedule line level in scheduling agreeme

    Hi,
    We have one typical requirement from scheduling agreement functionality. The scenario is we receive the schedule lines from Idocs from customer with purchase order number for each schedule line. We need to print that PO number on packing slip and ASN. How do we capture the schedule line po number in SAP SA?
    Please share your ideas on this.
    Regards, Lakshmikanth

    Hi Chandrasekhar,
    Thanks for your reply, here we create one delivery for each schedule line quantity, we need to copy the respective purchase order number into delivery. There is no Corelation between schedule line number and additional data field, so we can not use very freely.  Do we have any other option?
    Regards, Lakshmikanth

  • Purchase order number for each postings with FBL3N

    Hello
    With tcode FBL3N, I need to get all the postings on expenses accounts. Additionally it is possible to get more information on the postings from the orginal paper invoice. It shall be also more convenient to get the purchase order number walk trhough SAP with it. Then is it possible to get the purchase order number for each postings with FBL3N?
    thanks for inputs
    sb

    Hello,
    Could you please add field BSEG-EBELN as a special field in FBL3N (from
    menu path Settings -> Special fields).
    Then, select the Purchase order field again from "Change Layout"
    (Ctrl+F8). Now this field is available for display variants, it has the
    technical name 1-U_EBELN and the description 'Purchase Document'.
    The other field has the same description but as technical name
    '1-EBELN'. When you create a display variant be aware that you select
    1-U_EBELN and not 1-EBELN.
    *******Please also refer to attached notes 215798 and 984305.
    Best regards, Hana

  • CREATION OF SET FOR PURCHASE ORDER NUMBER

    Dear Sirs,
    I want to create a basic set containing all purchase order number, even though i am using table MSEG and field EBELN, i am not getting and values in it. how to create a basic set containing all the available PO numbers, which can be used in FI validation.
    Give me the full setting to create a above mentioned set.
    Thanks and Regards

    i didn't get what u are saying please elobrate. let me put forth my issue clearly.
    my client want to check where there is any PO available are not, for payments exceeding 1,00,000/-
    So i am cofiguring a validation, for which i want to keep the  "set of PO numbers" in "CHECK" part of the validation. which i am unable to do. when ever i try to select the set it is saying no valid object found.
    SO please help me with ur expert knowledge in this regards
    Thanks & Regards

  • Update Purchase order number in Sales order item level from inbound ORDCHG iDoc

    Hi Gurus,
    I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
    Which exit I need to use?  where to update?  Can you please help.
    Thank you in advance.
    Regards,
    San

    Finally Resolved the problem by writing 2 exits.
    one exit 'EXIT_SAPLVEDB_007'  for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX.  if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
    2nd exit for updating the purchase order number. 
    I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
    when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number.  so to update ship-to party's purchase order number it is going to that screen. 
    so I have used that thing to update purchase order number in sold-to party's purchase order number.
    so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata.  Then it is worked.
    This is the solution I found in my time.
    Any way it is solved.  Hope it will be helpful for others who will get this problem.

  • How to provide relation b/w sales order number &  purchase order number

    hi.....
    i created one report  based on sales order number and displayed by alv grid then by selecting one sales record  using bdc i created purchase order number ,then i have to display that purchase order in alv again,hoe to provide relation b/w sales order and purchase order

    This is what VA05 Does
    SELECT bstkd 
                   vbeln  "Sale order Number
                   posnr
              FROM m_vmvaa
              INTO TABLE i_m_vmvaa
              FOR ALL ENTRIES IN i_bstkd
              WHERE bstkd = i_bstkd-bstkd.   "Your PO Number

  • "In FBL5N unable to view purchase order number and the sales order number"

    Hi,
    Below mentioned is the problem we are facing,
    In the Customer Line Item Display (FBL5N) it is vital for us to be able to view the customer's purchase order number as well as the sales order number for each billing document listed by customer.
    We need to be able to extract this information for each customer and import to an excel spread sheet for analysis, specifically for our larger customers that have over 500 plus lines.
    Kindly advise how to go about the same.
    Regards
    Harish

    Dear,
    Please also check note 152335. There, you will find a more detailed            
    explanation of the issue.                                                                               
    The only way to see some information regarding related PO-es in a Vendor       
    line items is a workaround. For example, it is possible to create              
    a substitution in order to fill in one of not currently used fields            
    like Reference, Text, etc.    
    I hope this helps You.
    mauri

  • Purchase order number in FBL5N

    Hello,
    We need to display the purchase order number in the layout for transaction FBL5N.
    But the issue is that the Purchasing Doc.documnet field seems to be empty in most of the invoices.but if we check the billing data for the same invoice (VF03), here we can se that the PO data tab is having purchase order number. but it is not displayed in the inovice.
    What could be the possible reason for this
    Now what we would like to know is that do how can we populate the purchase order number displayed in billing document in the invoice document.
    BR,
    Zulfikar

    Hello
    In FNL5N, try to create a variant for report display options.
    You could select the fields to form part of the report for output options.
    Save the variant , execute, check.
    If the PO number itself is not available in the list, then you need to worry, as it could lead to some USER exit, or some other enhancement. But, I think it is available.
    Check the Sort key too. There could be a PO listing option.
    Reg
    Suresh

  • Purchase order number not update in purchase requisition status tab

    Purchase order is created for purchase requisition. The purchase requisition is triggered through process order. When I checked purchase requisition details in ME53N status tab, status is not edited and purchase order number also not present.
    Kindly let me know the possible reason for this.
    Appreciate your help..
    Thanks,
    SAP PQ

    If the PO had been created without reference to the PR, it will not be updated in the PR.
    If it has been created with reference to the PR, then the PR number gets updated in the PR status.

  • Problem in Shipment purchase order number

    Hello Experts,
    At time of shipment count number(VI02), purchase order and service entry is created automatically. But whenever created new shipment count same purchase order number is updated ie sequentially not taking, but service entry has not problem.
    Pls tell why this problem is occured.

    Hi,
    It depends on customizing settings for the PO for shipment costing. You can set a period for validity of the PO. In standard it is set to a month (I believe). It will split up per forwarding agent.
    Quote of help.sap:
    The purchase order can be valid for the following periods:
    Day
    Week
    Month
    In Customizing the purchasing organization, the purchasing group and the plant must be assigned to the corresponding transportation planning point and the shipment cost type. You make these settings in the IMG. Choose Logistics Execution ® Transportation ® Shipment costs ® Settlement ® Assign purchasing data.
    End quote.
    MdZ

Maybe you are looking for