Sales Order Item to create a Purchase Order

Hi,
Iu2019m not SD consultant but I would like to create a sales order and originate a PO for that sales order item.
Which item category should I select and after that I just have to create the PO, the cost of this PO are also allocated to this sales order correrct?
Thanks,
Bo 75.

Hi,
Assuming all the basic settings are configured
Step1: Run T Code VA01 and input the u201Cdocument typeu201D as OR along with your sales area. Then enter your business partner number along with the material number and quantity. Save the order.
Step2: T Code VA03 input the order number which you have created. Select the line item and (menu bar) Goto u2013 Items u2013 Schedule lines. You will find the u201Cpurchase requisitionu201D for that item just copy the number.
Note: If you unable to see the u201Cpurchase requ201D in the sales order then make sure you need to change the Item category group of a material in MM02 as BANC in Sales: sales org 2 tab.
Step3: Run T Code ME21N under the item paste the u201Cpurchase requisitionu201D number generated at sales order level and hit enter that will automatically give all the details, save. You can save the Purchase order.
This scenario will only help to create purchase order until I know why you want to create a purchase order I canu2019t proceed further.

Similar Messages

  • Sales order items refers to different purchase order items

    Hello SAP Experts,
    I have a requirement where sales order items are referring to different purchase order items. For eg. Item 1 from SO exist in PO no. 11 where as item 2 from SO exist in PO 12. Transaction MIRO allows to post items belonging to different purchase orders, but we have to do invoice verification using IDOCs. In EDI process, it is taking PO number from the SO header and not from the SO items.
    Can anyone suggest how to get PO number from the SO item and not from the SO header.
    Thanks.

    Not possible to create sales order with reference to PO.
    but if to capture cost, you can consider adding cost to customer's invoice.
    e.g.
    SO -> PO -Inb/IR -> GR -> OB -> Inv(Add here)
    to add in that invoice, its either manual or through automatic condition.

  • Create additional field in sales order item and copy to purchase order item

    Dear SAP Gurus,
    I am hoping that someone could help me by providing me with how to implement the following 2 requirements in the SD order and in the purchase order.
    1. I am wanting to add a custom field to the SD sales order item copying a value from the vendor customer master.
    2. I then want to add a custom field to the purchase order item and copy the value from my custom field in 1. to this new custom field..
    Can you please advise how I would go about implementing the above requirements?  I am assuming that there are exits to allow me to implement these 2 requirements.
    Many thanks
    Henry

    Hi,
    For the first requirement you can use the USEREXIT_MOVE_FIELD_TO_VBAP in report MV45AFZZ.
    For the second, as I think that you will create a RFQ you can try to use the enhancement MEREQ001.
    Regards,
    Eduardo

  • Sales Order - Using Item Category 'TAB' - Individual Purchase Order

    All,
    I am configuring for the first time utilizing Sales Document Item category "TAB" - Individual Purchase Order.  I have a few questions:
    Is there a best practice configuration guide specific for this process?  I have found the 'third party' document/best practice, but nothing so far  on "individual purchase order from sales order'. 
    Is there a way to default Purchase Order Type "UB" stock transfer from the Purchase Requisition NB?  I thought this could be done based on the schedule line "CB" configuration, changing the 'item category' to 7 stock transfer, then this would carry into the mapping for purchase requisition type NB/item category stock transfer to purchase order type UB/item category stock transfer.  However, when I set '7' on the schedule line CB, I then receive a hard error when creating my purchase req to set the supplying plant.  I have more than one supplying plant, so I'm not sure if setting the '7' is the right setting for this process.  From what I've been able to find for documentation, the item category of the schedule line should be set to '0' standard.
    When I perform the post Goods Issue 601 of Special Stock "E" - to the customer (once the stock has been received into the right plant), the system is not creating an Accounting/FI Document to relieve the inventory and charge cost of goods sold.  I have reviewed automatic account assignment entries and these appear correct for 601 E.  Are there special settings for special stock "E" that I need to consider. 
    If you cannot answer all of these questions, but can answer one of them, I am most interested in teh last question above. 
    Regards,
    Sandra Miner

    Hi Reazuddin,
    What I don't understand is why:
    if I don't create PO --> I can create Outobund Delivery in Individual Purchase Order but if I create PO (not MIGO) I cannot create OBD in IPO.  (Note: in both cases I agree PGI is not possible)
    The flowchart is: Sale Order (IPO) --> Purchase Requisition --> Purchase Order (PO) --> MIGO (inbound delivery) --> MIRO (Vendor invoice verification) --> Outbound delivery ( delivery [OBD] + picking + posting[PGI]) --> Sales Invoice
    As per your comments:
    System will not stop you to create delivery, though you customize delivery item cat: as Check min qtty "0" - error message. because system checks for PGI qtty, but not the delivery qtty.
    But then in the case I create Sale order (IPO) + PO (without MIGO) --> the system should not stop me executing Outbound Delivery. It should stop me only if I execute Posting goods issue. But actually in this case, the system is stopping me at outbound delivery.
    I agree with Posting Goods Issue behaviour. It is logical in the following cases:
    Only Sale order (IPO) created --> PGI is not possible
    Sale Order (IPO) created + PO created --> PGI is not possible
    Sale Order (IPO) created + PO created + MIGO executed (inbound) --> PGI is possible.
    Thank you very much for your feedback.
    Regards,
    Alberto Ramos.

  • Report on hwo have created the purchase order

    We have any report in mm which can provide purchase order & who have created that purchase order.
    For example I want to see purchase orders for period 01.10.2011 - 30.11.2011 for plant 1000.
    Thanks,
    Kiran

    Hi
    check report ME2N
    here select dynamic selection at header level then select header and then selected created by and created On
    and give selection parameter there
    Regards
    kailas ugale

  • How to configure Sales order item text copy to Purchase requisition item

    Hi,
    How to configure sales order item text copy to Purchase requisition text then copy to PO item text.
    Regards
    Jack

    Hi Rajesha,
    Thanks for your reply, some of the items in sales order are procured externally by us and our customer maintains text related to price and specification in the item details of the sales order, MRP creates planned order for these materials and these planned orders are always converted in pur requisition, we want that text from the sales order item details should be copied in to the purchase requisitions converted from planned orders.
    is there any user exit which can be called at the time of saving a purchase req or user exit for converting planned order in to pur req.?
    if there is any such exit available, then I think I can read the pegged requirement of the planned order where sales order item will be found then read the text in the item then copy this text in pur req then save pur req may work.
    but this will be a bulky development, please let me know if we can shorten the development.
    Thanks again
    Anand

  • Allow to create a purchase order with purchase requisiton item deleted

    Dear all,
    I have a question about creation purchase order process.
    Firstly, I have a purchase requisition with 2 items, first of them is deleted.
    If I try to create a purchase order thru transaction ME57N with the previous purchase requisition, I can only create it with one item (the one wich is not deleted)
    However, if I try to create the purchase order thru transaction ME21N, with purchase requisition as reference, I can create the PO with item that was deleted in PR.
    I don't understand why system allows to create a purchase order with an item that previously was deleted in PR.
    Does anyone have a explanation about this issue?
    Many thanks in advance
    Best Regards.

    Hi,
    In the document overview of ME21N you get all the items of the purchase
    requisitions, no matter if they are deleted or not.
    When you convert the deleted item into a Purchase Order you get message
    06 050 stating that this item is deleted in the purchase requisition.
    This message can be defined as an error message in the customizing
    transaction OME0. This way, it will not be possible to order an item
    which is deleted in the referenced purchase requisition.
    BR
    Nadia Orlandi

  • Create a purchase order linked to sale order with DI

    Hello all,
    I tried to create a purchase order based on a sale order with the DI but I get an error message "the business partner selected in base document is different than the target document"
    As you understand, this is normal to have a different business partner. So my question is : is it possible to create with the DI a purchase order linked to a sale order or is this a missing functionality ?
    Thank you
    Sebastien

    Hi sébastien,
       oDoc.Lines.ItemCode = "A00001"
        oDoc.Lines.Quantity = 1
        oDoc.Lines.BaseType = 17
        oDoc.Lines.BaseEntry = 213
    A Purchase document's BaseType can only be a Purchase document itself.
    A Sales document's BaseType can only be a Sales documento itself.
    To create a Purchase Order based on a Sales Order you must go through each row of the Sales Order and copy the values (ItemCode, Quantity, Discounts, VatGroup, etc.) to the Purchase Order.  And remember the VATCode used in a Sales document cannot be the same as the one used in a Purchase document.
    Best Regards,
    Vítor Vieira

  • 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.

  • Creating a Purchase Order, is there any help out there?

    I am creating a purchase order for our sales team that can be utilized on iOS. I have two issues:
    1) Some of our sales will be exempt and will need to be toggled off. How do you go about doing this while not destroying the end total?
    2) Our sales tax varies due to county's jurisdiction. Is there a way to change that once the form is ready to be filled out?
    Thanks Guys
    Below is how my form is being set up, mind you this is an import from excel.

    I don't see a way for you to currently specify that an item is exempt...
    Maybe add another column with check-boxes for the exempt status. However,
    implementing this in the calculation will require a custom-made script.
    As for the sales tax, you can place that in a text field as well and use it
    in your calculation directly. It's even possible to set it up so that a
    selection in a county drop-down will automatically populate the Sales Tax
    field with the correct value.

  • Item texts copied from purchase order to delivery

    Hi Sales Gurus,
    I am facing the following issue.
    In the intercompany process we create the delivery based on purchased order.
    Our need is to copy the item texts of the purchase order to the item texts of the delivery.
    How can i do that?
    Thank you
    João Fernandes

    João,
    Transaction VOTXN, Delivery, Item.
    Then assign a specific text procedure and Access Sequence with the appropriate text ids.
    Regards,
    (Boa tarde)
    Sérgio

  • Sales Order quantity Must not exceed Purchase order quantity

    Dear Experts,
    My requirement is when i am creating a Purchase order giving referenece as Sales Order .. system must not allow the user to enter  more than Sales order quantity.
    Ex : Sales Order 1234
            Material : AAAA
            Quantity : 100
    while creating a Purchase order for Mat AAAA giving  reference of Sales order i.e 1234 and quantity 150 system must not allow user to enter more than sales order quantity . If user wants to create PO for 150 he must have to ammend the sales order from 100 to 150  is it possible.
    Kindly do the needful
    Regards
    abhi

    Dear Abhinav,
    First of all, Purchase Order will get created with reference to Purchase requisition (T. Code: VOV7 --> Item Cat.: TAS --> Tab: Transaction Flow --> Field: Automatic PO Creation), and not with reference to Sales Order.
    This is Purchase requisition, which gets created with reference to Sales Order; based upon settings in:
    T. Code: VOV6 --> Schd. Line Cat.: CS
    Order Type            NB    Purchase Requisition
    Item Category         5     Third-party
    Acct Assgt Cat.       X     All aux.acct.assgts.
    Now, coming to your requirement (based up on my inputs),
    My requirement is when i am creating a Purchase order giving referenece as Sales Order .. system must not allow the user to enter more than Sales order quantity.
    To Restrict Purchase requisition quantity in PO, then in T. Code: OMCQ
    Or, Path: SPRO > img > MM > Purchasing > Environment Data > Define Attributes of System Messages
    Here make following messages as Error;
    06 076 Materials of requisition & item & alr. ordered in full
    06 254 Order quantity greater than requisition quantity
    Now,  in Purchase Requisition, if it is created for 100 qty (with ref. to Sales Order) and if you adopt the same in Purchase Order and try to change the qty to 150, then system will not allow you change and throws the error.
    Best Regards,
    Amit

  • Creating a purchase order in web dynpro for java.........

    hello all,
    i am new to web dynpro for java.i have already done an application
    "Creating a Web Dynpro Application Accessing ABAP Functions" this application
    have good document on sdn.
    this application is working fine .
    Now i got an requiremnt for creating a purchase order in web dynpro for java.
    in normal report when i call  the bapi the parameter are the header, headerx,item, itemx is an internal table.
    CALL FUNCTION 'BAPI_PO_CREATE1'
      EXPORTING
        POHEADER                     = HEADER
        POHEADERX                    = HEADERX
      POADDRVENDOR                 =
      TESTRUN                      =
    IMPORTING
      EXPPURCHASEORDER             =
      EXPHEADER                    =
      EXPPOEXPIMPHEADER            =
    TABLES
       RETURN                       = RETURN
       POITEM                       = ITEM
       POITEMX                      = ITEMX.
    i just want to know how can i fill these internal table in web dynpro
    for java to create an application accessing "Bapi_po_create" .
    Thanks

    Hi Gopal,
    I'm not sure what is your issue, it seems you're not really understanding how the Model structure works in WDP.
    I'll assume few things here, like you know how to Import the Model into the WDP, and you know a little bit about what Java Classes will represent this Model in the Project.
    Try these steps:
    1. Import your Model into the Project;
    2. Open your Component Modeler, create a Data Link between your Model / Component (Or Custom Controller, as you prefer)
      - You can also use the "Apply Template -> Service Controler"
    3. Map the Input of your Model as the Main Node, check the Input Tables (you prob. will have two, POITEM = ITEM - POITEMX = ITEMX)
    4. Also, check the Return box, since this is BAPI return (You can use to display Backend messages)
    Now you have the Model mapped into your Controller, you need to develop the Java function to execute it.
    1. Create a new Input class, like
    BAPI_PO_CREATE1_Input purchaseOrderCreateInput = new BAPI_PO_CREATE1_Input();
    2. Bind your Input Node, in the Controller, with your Input Class;
    wdContext.nodeBAPI_PO_CREATE1().bind(purchaseOrderCreateInput);
    3. Set any Import parameters you need:
    purchaseOrderCreateInput.setEXPPURCHASEORDER(XXXX);
    4. To Add references to the Table, you will perform something like:
    First, you need to know what "Structure" you need to add (POItem Structure) - You have a Java class that represents that Structure..
    POITEM_Element poItemElement = new POITEM_Element();
    poItemElement.setPROPERTY();   /// Set your Properties
    purchaseOrderCreateInput.getPOITEM().add(poItemElement);
    5. Execute your Input,
    purchaseOrderCreateInput .execute();
    Hope it helps,
    Regards,
    Daniel

  • Error while creating a Purchase Order

    Hi Friends,
    I am new to SAP MM. I am getting a problem while creating a purchase order. I created Purchase Info Record, Source List, but while creating Purchase Order, price is not picking from the purchase order. I am getting an error i.e. Net Value must be greater than 0. I checked all the settings, but getting same error.
    Could you please solve this

    Hi,
    Give some price at the item level for the item in the PO.
    And check the Pricing procedure in PO
    Hope it helps you.
    Thanks.

  • Creating a Purchase Order

    Hi there,
    i need to create an purchase order, heres my code:
    Private Sub Gerarcompra()
            Dim i As Integer
            Dim RetVal As Long
            Dim ErrCode As Long
            Dim ErrMsg As String
            ErrMsg = "Ocorreu um erro..."
            Dim vDrafts As SAPbobsCOM.Documents
            vDrafts = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)     
            oForm = SBO_Application.Forms.Item("analprocform")
            oMatrix = oForm.Items.Item("MatrixProc").Specific
            For i = 1 To oMatrix.RowCount
                oCheck = oMatrix.Columns.Item("select").Cells.Item(i).Specific
                If oCheck.Checked = True Then
                    'Set values to the fields
                    vDrafts.CardCode = "V8000"
                    vDrafts.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
                    vDrafts.DocDate = System.DateTime.Now
                    'Invoice Lines - Set values to the first line
                    oEditText = oMatrix.Columns.Item("NArtigo").Cells.Item(i).Specific
                    vDrafts.Lines.ItemCode = oEditText.Value
                    vDrafts.Lines.ItemDescription = ""
                    oEditText = oMatrix.Columns.Item("Quantidade").Cells.Item(i).Specific
                    vDrafts.Lines.Quantity = Double.Parse(oEditText.Value)
                    oEditText = oMatrix.Columns.Item("Preco").Cells.Item(i).Specific
                    vDrafts.Lines.UnitPrice = Double.Parse(oEditText.Value)
                    vDrafts.Lines.Add()
                End If
            Next
            'Add the Invoice
            RetVal = vDrafts.Add
            'Check the result
            If RetVal <> 0 Then
                oCompany.GetLastError(ErrCode, ErrMsg)
                MsgBox(ErrCode & " " & ErrMsg)
            End If
        End Sub
    But in the end i got an error: "Nº Article missing...".
    Thank you all for your support.
    Luis Barros

    change the code as
    Private Sub Gerarcompra()
    Dim i As Integer
    Dim RetVal As Long
    Dim ErrCode As Long
    Dim ErrMsg As String
    ErrMsg = "Ocorreu um erro..."
    Dim vDrafts As SAPbobsCOM.Documents
    vDrafts = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
    oForm = SBO_Application.Forms.Item("analprocform")
    oMatrix = oForm.Items.Item("MatrixProc").Specific
    dim x as integer
    x = 0
    For i = 1 To oMatrix.RowCount
    oCheck = oMatrix.Columns.Item("select").Cells.Item(i).Specific
    If oCheck.Checked = True Then
    x = x + 1
    if x > 1 then
    vDrafts.Lines.Add()
    end if
    'Set values to the fields
    vDrafts.CardCode = "V8000"
    vDrafts.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
    vDrafts.DocDate = System.DateTime.Now
    'Invoice Lines - Set values to the first line
    oEditText = oMatrix.Columns.Item("NArtigo").Cells.Item(i).Specific
    vDrafts.Lines.ItemCode = oEditText.Value
    vDrafts.Lines.ItemDescription = ""
    oEditText = oMatrix.Columns.Item("Quantidade").Cells.Item(i).Specific
    vDrafts.Lines.Quantity = Double.Parse(oEditText.Value)
    oEditText = oMatrix.Columns.Item("Preco").Cells.Item(i).Specific
    vDrafts.Lines.UnitPrice = Double.Parse(oEditText.Value)
    End If
    Next
    'Add the Invoice
    RetVal = vDrafts.Add
    'Check the result
    If RetVal 0 Then
    oCompany.GetLastError(ErrCode, ErrMsg)
    MsgBox(ErrCode & " " & ErrMsg)
    End If
    End Sub

Maybe you are looking for

  • HT204053 Why iCloud is forcing AppleID with email adress, when Apple ID never required it?

    First and Foremost, I used to be a Apple Hater in the 1990s. Then, I discovered that they built great products and I should give them a try. Now, my wife and I possess 3 iPhones, 1 iPad, 1 iTouch and our newborn already has 1 iPod Nano I've had an Ap

  • Abap Mailer report

    Hi all, Is it possible to send the information stored in internal table in a general email body text. Information must appear in the tabular form. Secondly,  I do not want to sent this information as an attachment. If any one knew abt this then let m

  • Updating ipod without itunes

    i'm away from my computer and a friend of mine and i switched mp3 players (he really wanted to see videos...he was amazed) and i heard a song on his dell DJ that was AWESOME and i want to just add that one song, i can get the song and have my cable t

  • On Insert Trigger Query

    Hi All, I have a procedure which inserts records in table A . Without changing the procedure I want to check if new record inserted by procedure is existing in table B. If exists in table B skip the record. Can somebody please advise me the best prac

  • Portal API documentation

    Do you know where can I get from some documentation (as a file, not online) about Portal Java API (Classes, objects, such things). For example I want to create my own search portlet, but I haven't information about how to access the portal objects (p