Multiple purchase orders with items in one IDOC

Hello Team
Now i got a the below requirement. please check and suggest me accordingly.
1. In my souce system (ie legacy system) i have  a table which is having PO related header and item data. now i need to post that data into SAP by using IDOC. so now i need to create a IDOC in middleware system with PO related data. Here my question is for how many POs i can create 1 idoc, i mean i want to know what is the maximum PO's i can put in 1 IDOC. parallely i want to see the performance issue also. so please suggest me on what is the maximum no of POs with item data i can put in 1 idoc and suggest me what is the preffered limit based on performance issues.
2. Suppose if i put 10 POs in 1 idoc, out of which there is issue with PO data for 1 PO in that idoc. so i want to know whether the idoc will process or not. if process how many PO's it will process. is it like 9 POs it will process and 1 PO it wont process. please clarify.
Regards
Raj

Hi Nagaraju,
As others suggested you can use 1 idoc per po. So for each header and its items in XI a message will be created.
Else
With select statement you can select all the POs and change the occurrence of idoc from 1..1 to 1..unbounded. Now also one message will be created in xi, (within the message you will have multiple idocs) but when posting in sap each one post as a seperate idoc. Here the advantage is you have one message where as in another you have multiple messages. But the disadvantage is trouble shooting might have some issues and if it is more than 1000 idocs the performance may take a hit. Here 1000 is just an example.
Regards,
---Satish

Similar Messages

  • How can I create multiple sales orders with reference to one contract?

    Hello Gurus,
    Can you please how can I create multiple sales orders with reference to one contract?
    thanks!
    Rakesh

    hi
    Lets consider example
    In your contract for line item 1 you have entered qty 100
    You careated sales order with 70 quantity, and now you want to creat another sales order for 30
    For this first you need to check what is your item category in contract (VA42)
    Goto VOV7
    SPRO - IMG  - Sales and distribution - Sales - Sales document item - Define item categories - Go to change mode
    Make the completion rule = B Item is completed after full quantity has been referenced

  • MD04: Unable to see Purchase Orders with Item Category S

    Hi,
    Whenever we create Purchase Orders with Item Category S (3rd party), they are not visible in MD04 Stock Requirements list.
    Is there anyway we can get the Item category S Orders to be displayed in the MD04 list?

    Hi,
    I am unable to see Third party POs with open quantity also.
    If I create a PO with blank item category (i,e to stock, it will show in MD04)
    but if i create PO with item category S (it does not show in MD04)
    Can you suggest how we can get item category S POs to be displayed in MD04

  • QN reference to purchase order with item task

    Intention: Wanted to run a report to have the following information:
    - QN number
    - Item task
    - Reference document: Purchase order
    Is there any way to run such report? Have tried QM13 but it does not contains purchase order

    SAP has provided two type of report for QN.
    one at header level (QM11) & second is item level (QM13).
    QM11  contain Ref. document & PO number but not task information. QM13 contain task info but not PO number.
    SO to fulfill your req. go with custom one. copy QM13 & add PO number & other header info if required.
    Hope this help.
    Thanks!!!

  • Project Commitment Cost not visible for Purchase Orders with Item Categry Q

    Hello All
    I have a problem. My project commitment cost is not visible for PO's with Item Category Q. I assume that as the stock can be issued against any WBS elements I might not be able to see the cost against a single WBS element. But the cost should get recorded against the project right? If so where can I see it?
    Request your help with this problem
    Regards
    Renjith

    Hello
    Could you please explain how to maintain that?
    Best Regards
    Renjith

  • Third-party Purchase Order with Item Cat. : S

    Hi,
      I want to know about third party Po ? is there any customization required for this type of PO,  what are the cases wehe we can use the Third party PO  what is main difference between Normal PO and Po with Thiedt part Item category.
    regards,
      zafar

    Dear,
    You dont need to have any specific config only need to mainatin in Material Master view for ITEM CATEGORY GROUP sa BANC, which will propose ITEM CATEGORY in Sales Order as TAS,which automatically generate a Purchse No. and against this purchase requsition u will create P.O. and will do MIRO and after MIRO u can bill this to customer and it will be ORDER RELATED BILLING as in Third party once u raise the P.O. the vendor deliver goods directly to ur Customer against P.O..
    Futher need clarification revert back to me.
    Regards
    AJIT K SINGH
    HAPPY TO HELP U

  • Purchase order with multiple items

    Dear Gurus,
    I would like to know the possibility of:
    1- Creating a purchase order with more than one vehicle (same model [material] and same characteristics)
    2- Creating a purchase order with more than one vehicle (same model [material] and different characteristics)
    Regards,
    MaX

    Hi MaX,
    as you mention characteristics, I assume this is about variant configuration and vehicles in VMS, right?
    In case of VMS (Vehicle Management System), the answers are ...
    1.) yes, it's possible
    2.) yes, it's possible
    You can either configure the vehicles prior to ordering them and you can also change the vehicle configuration of each vehicle selected for the purchase order action (e. g. ORD1) one by one.
    Kind regards,
        Steffen

  • How to Create Purchase Order with Co Product greater than Consumption

    Hi All,
    I'm new to SAP. Can any one please help with the steps to create PO with Co Product greater than Consumption.
    Thanks in Advance.    

    Hi Srinivasu,
    If you are talking about handling by-products during subcontracting follow the following steps.
    Create Purchase order with item category "L". In the components tab maintain by-product in negative quantity. If you are not sure about the actual quantity, enter theoretical quantity ( Actual quantity can be adjusted in Subsequent adjustment in Goods receipt).
    Hope this helps you.
    If this has not helped you, please elaborate your requirement.
    Thanks
    Vasuki B S

  • One inspection lot for multiple materials of purchase order line items

    Hi All,
    My client requirement is one inspection lot for multiple materials of purchase order line items.
    Please share your thoughts.
    Thanks in advance for early reply.
    Regards,
    Jishu

    I totally agree with Amol.
    I don't think I would touch that development nor would I ever tell a client it could reliably be done through development.
    Knowing what I know about the table structures, I don't think you could create any development for this that could use a significant amount of the existing tables and functionality.  I think you'd have to create all your own Z tables and basically rebuild the functionality.  Tying it back in with SAP data will be difficult.
    You're even looking at all custom screens for your results recording and UD as well.  And if you have follow-on functions like batch classification requirements, batch determination, COA publication, results copy functions, use of DMR and sampling procedures, physical samples, quality notifications, etc. etc.. you could be looking a whole lot of development.
    Craig

  • Multiple purchase orders in a file - Multiple IDOC'S based on lineitem

    Hello All,
    I have a typical requirement where as there needs to be "separate IDOCs for different material with distribution channel X and Y".
    The input is a file with multiple purchase oders inorder to generate multiple IDOCs..
    As a prerequisite I made changes in occurrence of target structure IDOC from 1..1  to 1..unbounded.
    I came to know from some sources that it can be achieved  through Java mapping but i am not aware of JAVA.
    Can anybody has the detailed Java mapping code?
    It would be great if anybody help me out from this issue .
    Thanks in advance.
    Best regards
    Hari

    Hi Raj,
    Thanks for your reply.
    May be we can achieve it using graphical mapping but its a edifact file   with multiple purchase orders.
    Internally we have some conditions like for every repetirion of the segment UNH new idoc number needs to generate
    i.e. UNH -
    >IDOC
    along with line item requirement.
    In this case need to handle logic at the top level as well as line item level or can club both.
    If possible can you please let me know what have you done in your case so that i can compare mine.
    Thanks once again.
    Hari

  • HT1040 Is there a way to place an order with more than one item at a time? For example I am going to make a few books and have them all shipped to me.  Do I have to order and pay shipping for each one individually?

    Is there a way to place an order with more than one item at a time?  for example I am making a few books and having them all shipped to me.  Do I have to order each one separately and pay shipping each time?

    You have to order each book separately, if the books are different. Only multiple copies of the same book can be ordered in the same order, see here
    Regards
    Léonie

  • Want to create a multiple Purchase Order using one file source

    I'm want to create a multiple purchase order using one source file. I want to read the file source create LINES in a purchase order and when the Vendor code changes I want to Add the purchase order and then create a new purchase order and Add LINES and so on.
    Right now I get  Item.no is missing [POR1.ItemCode][Line 2]

    Here is a code sample
        Private Sub testcode()
            Dim strOrdplanFile As String
            Dim oLineRec As SAPbobsCOM.Recordset
            Dim strLine As String = ""
            Dim ItemName As String
            Dim Quantity As String
            Dim RequiredDate As String
            Dim SupplierType As String
            Dim ShipTo As String
            Dim Vendor As String
            Dim oPurchaseOrder As SAPbobsCOM.Documents
            Dim bAddPOrder As Boolean = True
            Dim bPurchase As Boolean = False
            Dim sSQL As String
            Dim iReads As Integer = 1
            Dim iCurrentPurchaseNumber As Integer = 0
            Dim bErrors As Boolean = False
            Dim retCode As Double
            oPurchaseOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
            strOrdplanFile = strFolderLocation & "ORDPLAN.TXT"
            If File.Exists(strOrdplanFile) And FileLen(strOrdplanFile) > 0 Then
                Dim sr As New StreamReader(strOrdplanFile)
                strLine = sr.ReadLine()
                txtPurRec.String = "0"
                oFormStatus.Update()
                Try
                    Do
                        Vendor = strLine.Substring(0, 8).Trim()
                        ShipTo = strLine.Substring(12, 8).Trim()
                        SupplierType = strLine.Substring(26, 1)
                        ItemName = strLine.Substring(27, 20).Trim()
                        Quantity = strLine.Substring(94, 8)
                        RequiredDate = strLine.Substring(206, 9)
                        oLineRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                        sSQL = "SELECT PrcrmntMtd, CardCode FROM OITM WHERE ItemCode = '" & ItemName & "'"
                        oLineRec.DoQuery(sSQL)
                        If oLineRec.RecordCount() > 0 Then ' if it exists add the record
                            If oLineRec.Fields.Item(0).Value.ToString = "B" Then
                                If (bAddPOrder) Then
                                    oPurchaseOrder.CardCode = Vendor
                                    oPurchaseOrder.DocDueDate = RequiredDate
                                    'Add first item to the purchase order
                                    oPurchaseOrder.Lines.ItemCode = ItemName
                                    oPurchaseOrder.Lines.WarehouseCode = ShipTo
                                    oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
                                    oPurchaseOrder.Lines.Add()
                                    bAddPOrder = False
                                    bPurchase = True
                                    iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
                                    txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
                                    oFormStatus.Update()
                                Else
                                    'compare CardCode to make sure Vendor hasn't change
                                    If (oPurchaseOrder.CardCode.CompareTo(Vendor) = 0) Then
                                        'Add item to the purchase order
                                        oPurchaseOrder.Lines.ItemCode = ItemName
                                        oPurchaseOrder.Lines.WarehouseCode = ShipTo
                                        oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
                                        oPurchaseOrder.Lines.Add()
                                    Else
                                        'vender code changed
                                        retCode = oPurchaseOrder.Add()
                                        If (retCode <> 0) Then
                                            SBO_Application.MessageBox(oCompany.GetLastErrorDescription(), 1, "OK", "", "")
                                        End If
                                        oPurchaseOrder.CardCode = Vendor
                                        oPurchaseOrder.DocDueDate = RequiredDate
                                        'Add first item to the purchase order
                                        oPurchaseOrder.Lines.ItemCode = ItemName
                                        oPurchaseOrder.Lines.WarehouseCode = ShipTo
                                        oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
                                        oPurchaseOrder.Lines.Add()
                                        bAddPOrder = False
                                        bPurchase = True
                                        iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
                                        txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
                                        oFormStatus.Update()
                                    End If
                                    iReads = iReads + 1
                                End If 'new
                                strLine = sr.ReadLine()
                            End If
                        End If
                    Loop Until sr.EndOfStream
                Catch ex As Exception
                    MsgBox(ex.Message, MsgBoxStyle.Information)
                End Try
                If (bPurchase) Then
                    lRetCode = oPurchaseOrder.Add()
                End If
                sr.Close()
                swLogFile.WriteLine("Purchase orders stored : " & iCurrentPurchaseNumber)
                oPurchaseOrder = Nothing
            End If
        End Sub

  • 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

  • COPA - Multiple Sales Order with one wbs element.  COPA does not reference

    COPA - Multiple Sales Order with one wbs element.  COPA does not reference of reference of sales order.
    Hi All
    Currently we are in process of implementation of project related to Club Service for one of the client.
    Concept of this project is - there is "X" company engaged in supporting the different shared services for their client e.g. Client IBM - Shared Support Services of IBM is
    u2022     IDM
    u2022     Software Installation
    u2022     Help Desk
    u2022     Maintenance
    Co.. "X' is performing these services for IBM.    So for Co. "X" - IBM is one engagement. Like this way Co. X is performing such activities for many companies e.g. microsoft, HP, ABN AMRO etc.
    Objective - Get the consolidate report from COPA (Customer wise/services wise/sales order wise e.g. IBM/HelpDesk/10002/10).
    We propose a solution to create a project for each engagement and with WBS element. Each WBS element of different services e.g.
    Project IBM Inc.  100.100
    WBS Element    100.100.IDM 
    WBS Element    100.100.SoftIns
    WBS Element    100.100.HelpDesk
    WBS Element    100.100.Maintainance
    For this engagement (IBM), we are creating a sales order with line items (for services) and account assignment is WBS element.  In a sales order, there may be two lines for one services.   In a particular period, there are many such sales orders for this engagement... Milestone billing/period billing is used depending upon the services rendered.
    Now Cost Object will be WBS Element. So cost and revenue will posted to WBS and from this it goes to COPA.  In a month of May 2009 two - sales order is booked with three different line items with account assignment is WBS element.
    Sales Order Line Item No.....Item                  Account Assignment                      Revenue
    10000          100     IDM      100.100.IDM              1000
    10000          200     HELPDESK      100.100.HelpDesk              2000
    10000          100     Maintenance      100.100.Maintainance         3000
    Another Sales order booked with two different line items
    10000          100      IDM     100.100.IDM          3000
    10000          200      HELPDESK     100.100.HelpDesk          4000
    Cost will be booked directly against WBS element.
    In sales order level, there is no profitability segment, as cost object is WBS element.
    Billing, revenue will be posted directly to wbs element, from this revenue and cost of sales goes to COPA.
    Now in COPA,
    1.There is only one line for WBS element ex. 100.100.IDM with revenue 4000 (combing both the sales order)
    2.There is only one line for WBS element ex. 100.100.HelpDesk with revenue 6000 (combing both the sales order)
    3.There is only one line for WBS element ex. 100.100.Maintainance with revenue 4000
    In above case 1 & 2 we will not have reference of sales order and sales order line item in COPA table. There is only one line for this.  So we can not have reporting to sales order level.
    Is there any way by this the reference of sales order and sales order line will come in COPA for case 1 & 2.
    Please help in this issue.
    Regards
    Abhay Dev
    Ph:- 91-22-67782229
    Cell:- 91-9819175185

    Hi,
    For these case (multiple materials with different characteristics); have you consider going to next level of WBS Elements. Meaning; lets say currently you are assigning WBS "Engineering (which is a level 2 WBS)" to all the items in SO. Instead under "Engineering" create 2 or 3 level 3 WBS Elements as E1, E2 etc and assign them 1:1 to your sales order line items. This would eliminate the exit as welll as complex development option. And also will let you get all the data in COPA and in turn you can pull to BW as well for reporting. Just a thought.
    Regards
    Sreekanth

  • Purchase requisition with Item Category – L creation via Maintenance orders (Plant Maintenance)

    Hi Guru’s,
    I have a scenario where purchase requisition with Item Category – L (subcontract External) for Repair items (Storeroom Process) need to get generated with Item category-L.This requirement is to MAP in my system.
    I am aware that purchase requisition can be created with reference to maintenance orders.
    Can anybody through some light on the integration between PM and MM.
    If creation of purchase requisition is possible via maintenance orders then please explain me with detailed steps both configurations and master data so that I can able to replicate the same as per business requirement.
    I look forward to the expert’s response.
    Regards,
    Kumar

    Hi Kumar.S
    You have to installed DIMP 6.0, and activated the business function Refurbishment and Subcontracting (LOG_EAM_ROTSUB) and Serial Numbers in Purchasing (LOG_MM_SERNO) .
    Please check the below link:
    http://scn.sap.com/thread/1956895
    Hope it will help you to resolve your issue.
    Regards,
    Ritesh

Maybe you are looking for