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

Similar Messages

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

  • How to receive bundled iDocs in PI and build web service call based on them

    Hi experts
    I have a challenge where PI 7.1 receives 1000 bundled iDocs of the same type and from these PI must generate 3 target messages (SOAP requests). The records in the iDocs must be mapped to one of 3 different target messages depending on the iDoc header value. The 3 target messages must be sent in a web service request to the same web service. The web service will thus be called 3 times, one for each request message.
    Will it be possible to handle this using n:m mapping as described in help.sap.com (and then just using 1 source message in the mapping as the iDocs are of the same type) or is a java mapping required and if so, what are the pointers?
    BR Mikael

    >I just realized that I have to call 3 different operations on the same webservice
    if you design different soap recv channels, then you can specify action value as specfic to each operation in each soap receiver cc.   If you use same channel for all of them then you might have to use dynamic configuration to populate different  operation as action in the communication channel.

  • In Idoc bundling ...message mapping not found

    Hi XI Friends..
    In my File to Idoc scenario..i want to send multiple IDOCs from the XI without a BPM .
    I am following blog by Michal.
    <a href="///people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change:///people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    I have xsd for source ..so i created one external definition .and message interface for outbound.
    following the above blog by michal..
    i imported  idoc ..and i exported that idoc into xsd and i changed the occurance of idoc to unbounded and again imported as external definition.
    i created  the message mapping between these two external definitions.and tested ..
    As in michal 's blog..
    In Interface mapping..i given source and target interface as standard idoc.and clicked on Read interface then i am not finding  the message mapping created in previous step..
    i refreshed cache also..
    please guide me.....
    regards
    ram

    Hi bavesh...
    thank you so much for very your quick responses..
    i got xsd as source..based on xsd i created external definition for source xsd  and  i created outbound interface based on source external deifinition <b>MI_OUT_WearUnits</b>.
    and i imported Idoc and exported as xsd and changed occurance to unbounded and again imported as external definition.
    i did mapping between these two external definitions.
    and i selected standard idoc for source and target interface for interface mapping  and given message mapping of previous step.
    In ID
    sender agreement :
                    sender service :BS_external
                    sender interface :<b>MI_OUT_WearUnits</b>
    receiver agreement:
                  receiver service :R/3
                  receiver interface :  standard Idoc
    Interface determination:
    sender service :BS_external
    sender interface :<b>MI_OUT_WearUnits</b>
    reciever service :R/3
    and clicked create
    inbound interface : Standard IDOc
    i am not getting Interface mapping which i created in IR.
    i tried Enhance interface determination also..
    please guide me....
    waiting for your help.
    regards
    ram

  • IDOC bundling number of idocs in one message

    Hi
    I am using IDOC bundling where I have one message with around 33,000 idocs inbound to PI. Can i break the number of idocs per message so that I can have 5,000 idocs in each message. Is there a paremeter that needs to be changed create a recordset of 5,000 idocs per message or less?
    Also Can I do IDOC packaging when sending the above 33,000 IDOCs to SAP ?
    Please advise.
    Thanks,
    Teresa

    Hi Raj,
    My connectivity is JDBC - PI - SAP.
    I execute a stored procedure to pick up line items and do graphical mapping to conver to IDOCS. According to you the best way is to pick less line items at a time and conver to IDOCs?
    Can i do IDOC packaging at sender side in my scneario though i am already doing IDOC bundling?
    Thanks,
    Teresa

  • Idoc Bundling

    Hi,
    I'm working on a scenario for File to Idoc. Here, I need to send a separate Idoc to SAP for each Item segment. I have used the Idoc bundling technique here..But still its not working. XI still processing only one Idoc with all the Items in it. Did I miss anything here?
    INput Structure:
    MT_Input
    xxxxxRecord
    xxxxxxxxHeader 1..1
    xxxxxxxxxxxxxxxxH1
    xxxxxxxxxxxxxxxxH2
    xxxxxxxxxxxxxxxxH3
    xxxxxxxxItem 1..Unbounded
    xxxxxxxxxxxxxxxxI1
    xxxxxxxxxxxxxxxxI2
    xxxxxxxxxxxxxxxxI3
    -Esha

    Hey,
    Thanks Ram..You are answer partially helped me..
    To achieve the same..I have done two changes in my mapping;
    1. IDoc mapped to ITEM
    2. I need for every change in value of I2 from source, need a separate Idoc. So I have mapped the ZYYYY like below and its worked for me.
    I2(with context Record)->removeContexts> SplitByValue(EachValue)-->ZYYYY
    Thanks for the support guyz.
    -Esha.

  • Outbound Idoc bundling Approach

    Hi All,
    I have a scenario, where in SAP will send the Idoc bundle to PI( will bundle on an interval of 30 minutes), have gone through below blog on SDN.
    IDoc Package processing using sender IDoc adapter in PI EhP1
    so I will use the Idoc sender adapter in PI to receive the Idocs.
    The Idoc which I am using is a standard Idoc, DELVRY05. One of my team mate has told me that, if you do Idoc bundling for a Idoc type in SAP system.then that Idoc bundling will be applicable to all the interfaces in my PI development box which will be using the same Idoc type.
    Is this correct? Will it effect the other interfaces,or is there any disadvantages of this.
    Please provide your inputs.
    Thanks,
    Ruchi

    Hi,
    that could affect other interfaces only if your other interfaces use the same Idoc ( complete same name): Message Type + Idoc Type + Idoc Extension, e.g DESADV.DELVRY05.
    Have a look on tx WE20, the collect option is for this triplet. (picture in SDN blog does not see the Message Type, but it well on this triplet)
    So if you have other DELVRY05 interfaces, and if you use at least a different Message Type (like ZDESADV.DELVRY05), they will not be affected by this collect in ECC (written for DESADV.DELVRY05) . Same thing with the idoc packaging made in PI, as the sender CC is used for a specific sender agreement (sender + complte Idoc name).
    regards.
    Mickael

  • Need help on IDoc for Picking, Packing and PGI against the Sale order

    Hi All,
    I am new to this IDoc stuffs. Below is the scenario for which I would like to know the details of the IDoc...
    Business Case:
    1. Storage location is a HU Managed but not WM managed.
    2. This storage locations is managed by a third party
    3. Outbound delivery document against the SO will be created by our personnels in SAP for this storage location.
    4. Picking, Packing and PGI needs to happen/post via Idoc. (By packing here, i refer to assign the HUs that are already created for the materials and is available in the storage location and not repacking)
    Is there any standard IDoc that can be used here to Pick, Pack and post PGI. We would like to have picking and packing in a first idoc and PGI on the second idoc.
    Thanks,
    Prashant

    Hi Typewriter,
    Thanks for your reply on this post..
    The business process is as below (it was changed recently to have the creation of OBD, pick HUS and then post GI via single IDOC)
    1. We have a storage loc in our enterprise structure that is HU managed but not WM managed.
    2. This storage loc is being maintained by a third party.
    3. SO will be created to be shipped out of this plant/sloc.
    3. The stocks at this storage loc will be Special stock "E" against the sales order. And the stocks will be Packed in HUs.
    4. The third party is informed to deliver the stocks (HUs - that do have the special stock number which internally refers to the the SO number and the line item number) directly to ship to party address in SO.
    5. The 3rd party will physically ship the HUs to customer and send in the details that they have shipped goods against the sales order.
    6. The details sent by the 3rd party will be received in SAP to create OBD for the sales order, Pick, Pack and post GI. This can happen via a single IDOC..
    I am now planning to create a custom IDOC type referring to the standard IDOC type DELVRY03 and message type DESADV and to use a custom BAPI/FM.
    Do you think I am using the right ones?
    Thanks,
    Prashant Kumar

  • IDOC - XI - IDOC scenario. I can't import XSD to Data Type

    Helo!
    I have some problem with creating data tape. I have to create data type similar to IDOC structure which i imported from SAP system. Similar becouse in this DT I need to add some more elements. Becouse the IDOC structure is large I wont to import IDOC structure to this DT automaticly. I try to eksport XSD structure of my IDOC and then import to data type but i can read the monit:
    The tag <element> is not allowed at <<xsd:schema><xsd:element><xsd:element>>.
    I'm beginer in XSD so I don't now how to change this file.
    Can somebody help me on that or explain whot I can do to make this DT.
    Thanks for answer!

    Hi,
    U can import the IDoc XSD to External defination and use it in your Message Mapping and Interfacing Mapping.
    There is no need to create a data type of message type for IDoc.
    External Defination
    <b>External Definition</b> enables you to import a local WSDL, XSD, or DTD file to the Integration Repository and specify which parts of the schema to be used as a description for a message.
    U can use this ED as
    1.Inbound/Outbound in the Message Interface.
    2.Source/Target structure for the Message Mapping.
    In a scenario If there is a necessitity for changing the Occurance of some segment of the IDOC steps u perform is.
    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.
    Regards
    Santhosh
    <a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
    Use a Good Subject Line, One Question Per Posting - Award Points

  • Idoc to idoc in bpm

    hi experts,
        i am getting problem in idoc to idoc scenarios in confriguration part,how many businees system  i have to used in this scenarios.if any examples are there please help me.

    Hi 
    u can go for IDOC tunneling and packaging
    see the below link
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Check this blog by Michal,
    /people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get
    Tunneling
    Re: Need help please......:IDOC TO IDOC
    Re: configuration steps for receiving idoc in xi from r/3

  • Doubt on IDOC TO  IDOC communication

    Hi Experts,
    I have a doubt on IDOC to IDOC communication:
    Plz clarify it
    1. what is the need of passing same IDOC from one system to other system through XI while communicating between two systems,it can be done by using ABAP also ?
    2.what is the advantage of passing like this through XI compared to ABAP?
                           Plz clarify good answers will be rewarded .
                                                                                    Regards,
                                                                                    Vinod.

    Hi,
    See when you are dealing with Only IDOC to IDOC Communication means there is no need of XI here.
    You can go with ALE also here.
    Situations to go to XI.
    1) when you have the Different field mappings
    2) When you are having the multiple receivers
    3) when you are dealing with Bundling & Transformations
    Reward Ponts If Helpful
    Regards
    Giri

  • 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

  • Idoc-XI-Idoc Scenario

    Dear All,
    I am working on Idoc-XI-Idoc scenario in which I am getting ORDRSP Idoc in input. In one of its segment I am getting value as either A or B. If value is coming as A in input then in the output we want PORDCR101 Idoc but if we have B as value in the source idoc then we should have multiple PORDCR102 Idocs ie for each line item there will be different idocs.
    Please guide me on how we can implement BPM in this scenario as required two MM i have created and they are working fine.
    Regards,
    NJ

    Hi,
    If value is coming as A in input then in the output we want PORDCR101 Idoc but if we
    have B as value in the source idoc then we should have multiple PORDCR102 Idocs ie for
    each line item there will be different idocs.
    For Source = A:
    SourceField----
                          -----equalS ----ifwithoutElse ----then Constant(blank) ---> PORDCR101
    Constant(A)---
    Assuming that A in input then in the output we want PORDCR101 Idoc means that you need only one occurence of the IDOC
    For Source = B:
    SourceField----
                          -----equalS ----ifwithoutElse ----then LineItem ---> PORDCR102
    Constant(B)---
    Regards,
    ABhishek.

  • IDOC-Xi-IDOC: CRM - XI -R/3 (No service for system SAPOCC, client ** in ID)

    Hi all
    I am doing a scenario IDOC - Xi - IDOC where CRM sends an IDOC to R/3 via PI.
    I have configured everything in OCC (CRM system), PI and BSC (R/3 system) but when I test it with the transaction WE19 in OCC nothing happens in PI or BSC.
    All i can see if a message in SM58 transaction in OCC.
    Function Module - IDOC_INBOUND_ASYNCHRONOUS
    Target System - XI.
    Status Text - No service for system SAPOCC, client *** in Integration Directory.
    Could anyone tell me what is the problem.
    Your help will be very much appreciated
    Regards
    Naina

    Error message: No service for system SAPCRD client 201 in the integration directory
    Cause: There is no service without party in PI server that represents OCC server with client details.
    Solution:
    We send IDocs from system OCC to PI. In the control record (Segment EDIDC40) of the IDoc, the SNDPOR (SenderPort) field contains the value "SAPCRD". The client of the sending system is determined by the MANDT field of the control record. The system ID and client are then used to determine a service without party of the type (business-system/business-service)
    In System Landscape Directory (SLD) create a technical system for OCC system and assign a client for the same. Don't forget to assign an "ALE logical system" to the technical system created. Create a business system for this technical system. Then Business System can be imported under service without party/update the details existing in PI.
    Edited by: Rodrigo Alejandro Pertierra on Jun 23, 2010 10:28 AM

  • Issue in IDOC-XI-IDOC scenario

    Hi,
    We are facing a strange issue in an IDOC-XI-IDOC scenario. We are using a SAX parser to parse the code here.
    The error we are getting in 'sxmb_moni' is
    <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/abc/def/dev/sapxi/clfmas/Idoc2IdocMapperCLFMAS</SAP:P1>
      <SAP:P2>java.lang.RuntimeException</SAP:P2>
      <SAP:P3>For input string: ""</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>During the application mapping com/abc/def/dev/sapxi/clfmas/Idoc2IdocMapperCLFMAS a java.lang.RuntimeException was thrown: For input string: &quot;&quot;</SAP:Stack>
    The strange thing is, when I restart the message, it gets processed successfully. Also, when I copy the payload, and test the same on a different environment, it gets processed successfully.
    Would really appreciate some pointers here!
    cheers,
    Prashanth

    Hi,
    This related to mapping error check it once again.Check in Interface mapping Test tab.see the result.check the sxmb_moni and get the source of mapping come back to interfcae mapping and test .
    See the below links
    Hi I got EXCEPTION_DURING_EXECUTE in RWB->Message Monitoring
    I am getting MAPPING  EXCEPTION_DURING_EXECUTE
    EXCEPTION_DURING_EXECUTE- Error in Mapping. Doubt about IE and AE
    EXCEPTION_DURING_EXECUTE
    Mapping problem - EXCEPTION_DURING_EXECUTE
    ERR: EXCEPTION_DURING_EXECUTE while using FILE CONTENT CONVERSION
    Regards
    Chilla..

Maybe you are looking for

  • OneDrive for Business sync client with Office 2007

    We have 700 people organisation using Sharepoint 2013. One of the key features for us is the OneDrive for business that allows us to sync document libraries. BUT there seems to be a big problem with Office 2007 clients, after installing the separate

  • Having the same web part twice on a page - how to distinguish parameters

    Hello, I've made a web that takes a set of custom properties . If I put the web part twice  on the same pages, all the web parts are using the same custom parameters.  I understand that the culprit is in line: public static string strList, but I wond

  • Display a text as blinking in classical report

    Hi experts, I've to display a text as blinking in classical report output. Is this possible? If possible, how to do this? Need your help. With regards, Goutam

  • Canon 6D importing at custom white balance

    I'm using Lightroom 5 and edit images from several different cameras including a Canon 60D, Canon 6D and 4 different Nikons. All of the images import as expected with the exception of my Canon 6D which automatically import at a custom white balance o

  • A smple code help needed

    I Have a little problem i want to push a button in creator that execute the following SQL code INSERT INTO NAMES2(NAME,ID) SELECT NAME,ID FROM NAMES WHERE ID = '1' ; this sql code take a row from a table to another table and so on i need that happen