Bundling of Idocs

hi all,
i need to configure a scenario as:
SAP system sends IDOC to XI.
Depending on the value of 1 particular Feild BPM will collect IDOCs in seperate messages and send them to File.
plz help.
Thanks.
Azfar sadiq

Hi
Refer these blogs.
The specified item was not found.
Collecting IDocs without using BPM
Collecting and Bundling vendor records from different multiple interfaces (file system,Peoplesoft ) and sending to SAP-R/3 system.  part-1
Collecting and Bundling vendor records from different multiple interfaces (file system,Peoplesoft ) and sending to SAP-R/3 system.  part-2
Regards,
Surya

Similar Messages

  • Bundling ORDERS05 IDOC

    Hi all,
    We have a problem with bundling the IDOCS in Message Mapping. We have a requirement to convert more than one ORDERS05 IDOCS to one ‘flat’ XML file.
    When the IDOC has the following data, the mapping works well:
    Input IDOC:
    IDOC 1:                   
    ORDERS05
    - E1EDP01          
    ---  POSEX 0010
    - E1EDP01          
    ---  POSEX     0020
    - E1CUCFG          
    ---  POSEX     0010     
    E1CUVAL     10-1
    E1CUVAL     10-2
    - E1CUCFG
    ---  POSEX     0020
    E1CUVAL     20-1
    E1CUVAL     20-2
    IDOC 2:     
    ORDERS05
    - E1EDP01          
    ---  POSEX     0010
    - E1EDP01          
    ---  POSEX     0020
    - E1CUCFG          
    ---  POSEX     0010     
    E1CUVAL     10-1
    E1CUVAL     10-2
    - E1CUCFG
    ---  POSEX     0020
    E1CUVAL     20-1
    E1CUVAL     20-2
    Output Message:
    IDOC 1:----
    IDOC 2:
    Position number:      0010----
    Position number:      0010
    Configuration1:     10-1----
    Configuration1:     10-1
    Configuration2:     10-2----
    Configuration2:     10-2
    Position number:      0020----
    Position number:      0020
    Configuration1:     20-1----
    Configuration1:     20-1
    Configuration2:     20-2----
    Configuration2:     20-2
    However when you miss one E1CUCFG node, you will get a confusing result: 
    Input IDOC:
    IDOC 1:     
    ORDERS05
    - E1EDP01          
    ---  POSEX     0010
    - E1EDP01          
    ---  POSEX     0020
    - E1CUCFG
    ---  POSEX     0020
    E1CUVAL     20-1
    E1CUVAL     20-2
    IDOC 2:     
    ORDERS05
    - E1EDP01          
    ---  POSEX     0010
    - E1EDP01          
    ---  POSEX     0020
    - E1CUCFG          
    ---  POSEX     0010     
    E1CUVAL     10-1
    E1CUVAL     10-2
    - E1CUCFG
    ---  POSEX     0020
    E1CUVAL     20-1
    E1CUVAL     20-2
    Output Message:
    IDOC 1:----
    IDOC 2:
    Position number:      0010----
    Position number:      0010
    Configuration1:     20-1----
    Configuration1:     20-1
    Configuration2:     20-2----
    Configuration2:     20-2
    Position number:      0020----
    Position number:      0020
    Configuration1:     10-1----
    Configuration1:     10-1
    Configuration2:     10-2----
    Configuration2:     10-2
    We have tried standard functions like: useOneAsMany, CreateIf, if, ifWithoutElse, collapseContext, etc. in the graphical mapping tool but it doesn’t work.
    Could you please take a look at this problem?
    Appreciate any help on this,
    Kind regards
    Kamran Vakili

    Ive solved this problem

  • Bundling the idoc

    Hi friends,
    Please mail me any scenario with screen shots on ...
    1)   Bundling of IDoc and splitting the message in different Idoc
    2)sync scenario BPM is used, also to throw alert 
    on some conditions BPM
    I would be thankful to you ,if you could pass me this .
    With regards,
    [email protected]

    HI Satya
    YOu Can find lots of blogs and queries on this.. Please check the SDN Forums
    Here are some of the Blogs
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible - Spliting IDOCs
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function - BPM Scenario with alerts
    have u read this forum thread .Shows some relativeness to ur scenario
    Webservice -> RFC 
    Regarding Alerts
      Re: Alerts  
    Posted: Apr 19, 2007 3:25 PM    in response to: nitesh joshi       Reply      E-mail this post 
    Hi,
    See the below links
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 -- ccms alerts - 1
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 -- ccms alerts -- 2
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 -- ccms alerts --- 3
    Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    blogs for alerts
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=alerts&cat=sdn_weblog
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/34193cb4f5131de10000000a11405a/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8a/3e2d4105f8d92be10000000a1550b0/content.htm
    Also check in SDN .. You can find more
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • Bundling of idocs using BPM

    Hi
    If you are using BPM to bundle the idocs and send them in file format to target system.............. here we can think of 3 different options on which we can bundle
    1. Payload based
    2. Message based
    3. Time based.
    Could you plz confirm me if we can achieve all these 3 options even without BPM in the application system ?? If we can achieve this in the applicaiton system itself ........are there any situations in which we are foced to use BPM for this particular scenario (Bundling of idocs)
    Thanks
    Kumar

    Hi Kumar,
    Very simple example which  I had faced....
    If you bundle idocs are application level..i.e. by setting XML port to collect idocs you will have multiple Control records i.e. control record for every idoc where as if you bundle them using BPM you can have only one control record. ( which we need most of the time while bundling idocs.)
    Also in BPM you can set correlation on payload data. You can have multiple condition here...but at application level you do not get that control. Basically I think you get a control over Payload in BPM and you can play as you want.
    Again even at application level if you try to bundle large number of idocs it will give you memory dump ( in sap)..
    But bundling idocs at application level is faster process than BPM.
    Nilesh

  • Difference between IDOC Bundling and IDOC Packaging

    Hi,
    Can anybody please explain the difference between IDOC bundling and IDOC packaging?
    Thanks,
    Loveena.

    Hi,
    IDoc Bundling is the changing the occurance of IDoc.
    In a scenario If there is a necessitity for changing the Occurance of some segment of the IDOC u have to perform this steps
    1.Import the IDoc to XI.
    2.Export the IDoc(i.e XSD format) and save it to the local machine.
    3.Make changes to the IDoc structure by modifying the XSD file in the local machine.
    4.Save it as an XSD file Itself.
    5.Import the XSD file in the IR under the External Defination.
    6.Use this XSD in your Message Interface/Mapping which is same as IDoc structure but with some changes that u have made.
    Go Thru this Blog <a href="/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change Bundling - Trick without BPM</a> BY Michal Krawczyk where the Occurance of the IDoc is changed to 1...Unbounded from 1...999999999 by using the XSD.
    IDoc Packing is collecting of IDoc
    <a href="/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm of Multiple type IDOCs in BPM</a> BY Pooja
    Regards
    Santhosh
    Remember to set the thread to solved when you have received a solution
    [url=Use a Good Subject Line, One Question Per Posting - Award Points;  Use a Good Subject Line, One Question Per Posting - Award Points[/url]

  • Bundling of IDOCs using BPM.PLS Help .Its very very URGENT

    Hi all,
    I have a IDOC to file scenario in which I have to bundle some number of INVOIC02 IDOCs.
    For this I have an IDOC whosw occurance is 1...1.
    I have an XSD for the same IDOC whose max occurance is 1.....9999999999.
    Si I have created one mapping for these two(i.e IDOC with max occurs 1 and IDOC with max occurs 9999999999.)
    I created one more mapping  for IDOC XSD and the target file structure.
    For this scenario how many abstract interfaces and interface mappings do I need to create?
    Can anybody explain the BPM flow in detail in this case?
    Thanks in advance.

    Hi  Rambabu Mujja  ,
    The following websites wil solve u'r problem:
    A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    IDOCs (Multiple Types) Collection in BPM
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • IDOC bundling & IDOC packing

    Can you explain with examples for IDOC bundling & IDOC packing

    Hi
    IDoc bundling is like sending multiple IDoc ...
    Ex Scenario: U have file containing Multiple Sales order and for every sales order u are generating an IDoc so in the mapping u change the occurance of IDoc. Consider that the occurance of IDoc is 1-1 and now by exporting the IDoc and making changes to the occurance as 1- unbounded in the XSD. Now by importing this xsd we can send multiple IDoc this is IDoc bundling.
    IDOC Packaging on outbound side
    IDoc Packing is someting Viceversa to IDoc Bundling.
    Ex Scenario: Multiple IDoc each containing a Sales Order is sent to XI and we want a single file to be containg all the IDoc sales order details. So we collect all the IDoc sent by R/3 for a perticular time or condition and do a mapping to generate a single file.
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    > 3) IDoc Bundling,
    /people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Please provide points if helpful
    SD

  • Idoc bundling, packaging

    Hello,
    i'm new in sap, but i want to send som orders and invoics (idocs) via rfc call to the sap system. If i send the idoc once. there is no problem. but i want to send 100 or more orders with one idoc to sap. so i have to bundle the idocs to one big idoc.
    Is that possible ?
    i hope i find some answeres to solve  the problem.
    thank you !
    regards,
    mike

    Hi Mike,
    Yes, is possible. You need to create one custom idoc, with this structure. Also, you will need to modify the function that creates the idocs and the one that process them. Is quite a development, but most of it is only looping through the data to build the idoc, calling n times the outbound standard function, and also looping to process the idocs, calling the standard inbound function.
    Regards,
    Iván.

  • IDOC to XI  Third-party

    Scenario :  IDOC to XI to Thirdparty.  ASYNCHRONUS.
    Keeping the above scenario I know that we can achieve this without a BPM, but having the BPM serves the following important points from my experience
    1) Exceptions, Alert and Cancel Process can be executed thru the BPM
    2) If we want to Bundle the IDOCs then BPM can take care.
    3) Initially, if we dont use the BPM and in the later stage if we want to use the BPM, then we need to reconstruct the Directory components fully. So, when we develop this interface, construct with the BPM, that will receive the IDOCs from R/3, do the Message Transformation and then send to the Third Party.
    Am I in the correct direction? Whether it will affect the Performance ?If you have any additionl points please educate me . Thanks

    hi,
    there are so many ways of improving the BPM's
    performance...
    the best way is to set up the test scanatio as soon as possible and then use a test tool
    (like loadrunner from mercury) and start testing
    and optimizing
    that's the proper way of doing such scenarios
    if you follow this guideline I'm sure
    you won't be surprised with the performance
    on the production server
    you can also create test scrips (catt)
    you don't have to use third party tools
    but with many third party tools it may be much easier
    to achive
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • What is the difference beween idoc package and idoc collection

    Hi friends,
        i am unable to understand difference betwen Idoc package and Idoc cillection.
        Please give me clear clarification.
    Thanks and regards
    Bhanu

    Hi Bhanu,
    Apart from the replies above, in case you're looking for an answer from ECC perspective, here are some inputs: (ECC is considered as sender here)
    1. IDoc Collection:
       This will collect the IDocs and will not immediately send it to the target system after they are created. Program RSEOUT00 can be later scheduled for these collected IDocs to deliver them to the target. You can treat this as a park and process approach which proves useful in several business scenarios.
    This standard link gives more insight:
    SAP Library - IDoc Interface/ALE
    2. IDoc Packaging:
        This defines the number of IDocs to be packed and sent in 1 RFC call (tRFC). If you set is as 20, then 20 IDocs will be sent in 1 tRFC request. This doesn't connote whether the IDocs will be triggered immediately or later, this just talks about the bundling of IDocs per RFC call.
    Hope this helps.
    Regards,
    Abhishek

  • File to multiple idoc, Raising alerts , not using ccBPM

    Hi experts,
    I have file to multiple idoc scenario.sturcture of the incoming file like given below..
    Header
    line item
    line item
    header
    line item
    line item
    there is a field Company COde in Header.If that company code is not Equal to "L" then dont map that header and line items with target
    now we have to raise an alert notification mail saying that "company code is wrong." we have to send a single mail for this scenario if this condition is true even many times.
    i am not using ccBPM in the scenario.
    how can we achieve this functionality??
    Thanks in advance.
    Thanks,
    Rohit

    Refer this blog to bundle multiple idocs.
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    After you create the custom idoc interface using the above blog,
    map the root node of the idoc interface based on your condition.
    put a if condition to pass a constant to the root node for the idoc.
    as an else condition, raise an exception using a udf.
    Create a generic alert for runtime errors in mapping, which send mails whenever there is a failure in the mapping.
    http://help.sap.com/saphelp_erp2004/helpdata/en/80/942f3ffed33d67e10000000a114084/content.htm
    Regards,
    Ravi

  • Inbound Idoc customer number conversion

    I am new to EDI and have a question to ask you both about inbound IDOC's. We have customers sending remittance advices through EDI. The customer numbers in them are their own customer numbers. In SAP, we maintain different customer numbers. Where do the mapping of the customer numbers take place -- In the EDI subsytem itself or in SAP? If in SAP, can you let me know the procedure to do this.
    Any help will be appreciated and points awarded.
    Thanks,
    Nile.

    Hey Fren,
    1. Data Mapping
    Within the framework of SAP EDI, the conversion of a business document in IDoc format to an EDI standard format (and vice versa) is the most important task performed by a subsystem. This process is resource intensive and, hence, is better done at the subsystem level than within SAP. The following conversions and translations are carried out by the subsystem.
    Creating a control record for each inbound IDoc.
    An inbound IDoc must have a control record. The EDI subsystem builds the control record using the information stored in its local repository or from the SAP repository.
    Removing the control record during the outbound process.
    The control record in the IDoc file is used by the subsystem for housekeeping functions, such as locating the trading partner profile. The data on the control record is not needed for translating the content of the EDI documents.
    Translating data from IDoc format to EDI format.
    For an outbound transaction, the EDI subsystem converts data in the IDoc format to a suitable EDI format.
    Translating data from EDI format to IDoc format.
    For an inbound transaction, the EDI subsystem converts data in the standard EDI format to IDoc format.
    Bundling and unbundling IDocs.
    If several IDocs are passed to the EDI subsystem in one file, the subsystem separates them into individual documents. Similarly, on the inbound process the subsystem can bundle multiple IDocs into a single file to improve performance.
    2 Maintaining the Partner Profile
    A partner is defined as the business partner with whom you conduct business and exchange EDI documents. These partners are not necessarily the same as the partners in the partner profile of SAP. However, the concept is quite similar. In SAP, the partner profile maintains parameters specific to the IDoc process, and in the subsystem the partner profile maintains parameters specific to the EDI process. Some typical attributes in a partner profile are
    · A unique partner number
    · The partner type (Customer, Vendor)
    · The standard used (EDIFACT, ANSI X12, and so on)
    · The version of the EDI standard
    · The EDI message exchanged (850, 860, ORDERS, ORDCHG)
    · A functional acknowledgment flag
    3 Triggering the Inbound Process
    After receiving an inbound EDI transmission and creating an IDoc file, the subsystem is often responsible for triggering the inbound process. SAP provides a program named startrfc to start any RFC−enabled function module from the operating system level. For the EDI process, the subsystem uses the startrfc program to
    trigger the function module EDI_DATA_INCOMING. Chapter 6, "Configuring Basic EDI Components," provides the complete details and parameters of the startrfc progam.
    4 Reporting Process Status to SAP
    In an outbound process, after an IDoc has been transferred from SAP to the subsystem, SAP loses control over the process. However, SAP maintains visibility into the process by requiring the subsystem to report on the status of the process. SAP provides a file interface for the subsystem to send a status report at every milestone.
    I hope you got some idea from this process.....
    <REMOVED BY MODERATOR>
    Warm Regards,
    Abhi...
    Edited by: Alvaro Tejada Galindo on Apr 25, 2008 4:36 PM

  • Taking Idocs from different systems

    Hi Experts,
    I have done a scenario for CREMDM and DEBMDM where i had to get Idocs from R/3 system and send them to MDM using XI.
    Now, i have to do a scenario where i have to take Idocs from two different systems and send them to a single MDM system. What changes do I need to make apart from those in SLD if the fields in the latter case are same as those in the former?

    Hi,
       Sorry, i am unable to get what do u want.
      Any how,based on my understanding i will provide some inputs.
    1. please make sure the proper filed as correlation,
        based on corelation only we can able to bundle the idoc's
        (when we use the BPM).
       check the following scenario to bundle the idoc's.(not exact to u r requiremnet), but smilarity is there.
      i,e SAP Basis component ->http://sap.com/xi/XI/System/Patterns->BpmPatternCollectTime ( integration scenario)....
    regards
    mahesh.

  • Special IDoc-To-IDoc scenario ...

    Hello guys,
    could you advice to me how to implement following scenario?
    We have system A, SAP XI and system B. A lot of IDocs come from system A to XI and we need to forward them to system B. But system B is not available all the time. I know the XI can re-send the message after system B will be available but we afraid of overloading of system B. Therefore we would like to create new queue especially for messages from system A and schedule some job that would be executed every X minutes and that would take the oldest message from the queue and try to send it to system B.
    Is it possible to do it? How can I create new queue for particular messages and how to implement the job?
    Thanks in advance for every advice!
    Regards,
    Zbynek

    Hi
    I think you can use BPM and bundle the IDOC to meet the requirement. Now looking at the requirement.
    When the system is up you dont have issue to pass IDOC to the system B. fine Now when the system is down using BPM you can wait.
    Along with this. You can bundle IDOC coming from the sender system when the system B is down and can send after the wait.
    Now bundle of IDOC can be of your choice. You can bundle 10, 20, 100 based on your wait time. Now this bundle can be implemented as a queue. When you pass the bundle of IDOC to a queue say 100 IDOC another queue in previous step can continue to receive in.
    Refer
    XI: IDOC bundling - the "trick" with the occurance change
    The specified item was not found.
    Complete reference for IDOC queuing and monitoring
    Complete reference for IDOC queuing and monitoring
    Delivery Modes in BPM.
    Delivery Modes in BPM.
    Thanks
    Gaurav

  • BPM Scenario: Message has error status on outbound side

    Hi All,
            I am doing one BPM scenario. In my scenario i am collecting 12 different type of idocs in BPM and bundling these idocs and sending these to the 12 different files.
            If i send 12 idocs from the R/3 then my scenario is working perfectly fine. If i send less than the 12 idocs that time i am getting the error message as "Message has error status on outbound side" with red flag.
               Can you please explain what minght be the problem. I have already checked in SM58,SMQ1 and SMQ2.
    Thanks & Regards,
    Purushotham

    Hi Nutan,
            I hv configured my scenario as follows
    1. Start
    2. Block ( Deadline and Control step for cancell the process)
       3. Fork(Necessary branches 12)
          4. Loop(12 loops)
              Under loop
              a. Receive Step
              b. Container Operation( For count)
              c. Container Operation(For append)
    5. Fork( Necessary branches 12)
        6. Transformation
        7. Send
    8 Stop
    This is my scenario. In the first Fork step i am checking end condition as total  number of idocs is reached then i am sending all the data to the target system. If the idocs are not reaching with in 1 hour then i am cancelling the process.
            Now can you please tell me what is the problem.
    Thanks & Regards,
    Purushotham

Maybe you are looking for