IDOC Package

Hi Guys,
I have the following scenario WS->XI->IDOC but in this scenario there will be several calls from WS and we want to send an IDOC Package.
I have seen some blogs regarding the collector pattern on BPM but in some of them I have seen that there is a performance issue with this solution.
I saw also the  Srayva's Blog XI:IDOC Message Package but the scenario is IDOC-XI-File and I was wondering if I can apply this solution to my scenario? or do you know more solutions?
Thanks
Omar Hernandez

hi,
if you call WS several times you need to use collect pattern
you can find more about IDOC bundling in my book:
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
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>

Similar Messages

  • IDoc Packaging in IDoc 2 IDoc Scenario

    Hi every one,
    Can anyone please throw some light on the following:
    Use of Idoc packaging in an Idoc2Idoc scenario. I dont have any clue about this.
    Reg,

    This should be rather straight forward, if you are using XI to pass IDocs from system to system then you actually don't really have to do any mapping.  There are some other good discussions on this topic:
    idoc to idoc
    IDOC packaging
    Re: IDOC to IDOC Scenario
    This is a good document on the topic:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    You can import the IDoc data types and go about creating the rest of your scenario, usnig the IDoc adapters and ALE
    I would definitely also check out this document on configuring the IDoc adapter:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098

  • URGENT- IDoc Packaging - Que- Michal blog

    Hi,
    I was following Micahl's blog - for idoc packaging -
    /people/michal.krawczyk2/blog/2007/12/02/xipi-sender-idoc-adapter-packaging
    But there is another blog, which also by Michal.
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change ,
    which is also mentioned in OSS note: Note 814393 - Multiple IDoc instances in an XI message.
    Do I need to do both of them to achieve the Idoc Packaging.
    I also noticed that in the first blog, it is about pushing Idocs out of R/3 system and in the second blog it is the other way round.
    Can any one please clarify.
    reg

    with the first blog, how does sxmb_moni screen looks like - R3 system, XI. On XI it should not make any diff as XI is still splitting the packages.
    Yes you are right...On R3 system, if packaging is done, then you will find all IDOCs as single message. As you said on XI it will not make any difference.
    With the 2nd blog, XI would show single message for each package, but with more instances of the Idoc payload. (As shown in the first blog - look at the 2nd pic). Which means that you saving the queues but the payload size is more here in this case.
    Yes..It show single message with more instance of IDOCs. You are right about saving the queues and payload size is also more

  • Deactivate Idoc packaging in PI 7.1

    Hi,
    We know that Packaging by default enabled in PI 7.1 but we want to turn off this feature for Idoc processing. Could you please help me in turning off this feature? Thank you very much in advance.

    From 7.1 forth, the IDOC packaging is the same as the regular packaging. So, to disable for IDOC scenarios, please go to the SXMS_BCM transaction and set the interfaces that shouldn't have packaging to "NO". This should disable the packaging for specific scenarios.

  • IDOC packaging/No packaging - need either/or depending on receiver

    Hello IDOC adapter gurus,
    We have an existing scenario with IDOC packaging, in which the message goes to multiple receivers . The client wants to OMIT idoc packaging for a single one of the receivers. Since the packaging is done in the sender adapter, how can I accomplish this in XI? A separate Partner Profile is already set up for this receiver in the sending system, so that side is not a problem.
    One idea I'm exploring would be to create a new sender comm channel without packaging and a new Sender Agreement with Virtual Receiver and select the receiver in question, however I can't find enough documentation on the VR feature. Would that work? Any other ideas?
    Thanks in advance.
    Carlos

    >
    Carlos Herrera wrote:
    > Hi Ravikanth,
    >
    > Yes, I intend to do that, but the question is, will that be enough since it will still go through the comm channel that has idoc packaging configured? In other words, will the comm channel package size act as a "max size" or "min size"?
    >
    > Thanks.
    > Carlos
    if it is configured to be not do the collect at the partner profile end, you dont have to worry.
    the IDoc adapter will not do any collect even if the package size is set.

  • PI 7.1 EHP1 : IDoc packaging

    Guys
    I am currently on PI 7.1 EHP1 , Trying to do Idoc packaging for one scenario , I am not sure what size I have to put in the tab
    ( IDoc package size ) in sender IDoc channel . I  also donot know the frequency of IDocs . I saw one video in it it was told that the package size shouldnot exceed 2MB size .
    Please help in this regard
    Regards
    Ninad

    Hi Ninad,
    I had used IDOC packaging in one of my scenario, which is very similar to yours. I dont know how many idoc are coming from source system. I put 100 in the IDOC package size parameter. when you put 100 in this parameter it will create a file wil maximum 100 idocs if your system is sending more than 100 than it will create send file
    For example from source system you are getting 150 idocs so 2 files will be created
    file1 conatins 100 idocs, file2 contains 50 idocs
    Regards,
    Shradha

  • PI Message Packaging / Idoc packaging

    Hi experts,
    i heard message packaging in PI was kind of new. Is there a difference between message packaging and idoc packaging ?
    Do you know any blogs or links about how to set it up ?
    Kind regards,
    Jamal

    Hi,
    first there was only IDoc packaging -> now you have message packaging (what includes IDoc packaging).
    This will give you a good overview:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40a10c62-d000-2a10-c1a6-dbb3ce727300
    Here is an example configuration:
    /people/william.li/blog/2008/03/07/step-by-step-guide-in-processing-high-volume-messages-using-pi-71s-message-packaging
    And here is one more useful documentation:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b54994-f569-2a10-ad8f-cf5c68a9447c
    Regards
    Patrick

  • Idoc Acknowledgements and Idoc Packaging

    All,
    I am implementing a requirement wherein we need to post 2 different types of Idoc's from our BPM.  The Business requirements is such that until the Idoc 1 is not processed by the R3 system, the Idoc 2 should not be posted from XI as there is dependency in the data.
    This can be addressed using  Application Acknowledgements. The solution to this is to use the send step in my BPM with application acknowlegement. Until the application acknowledgement is not received for the first send step , the next send  step will not be processed and so things will / should work fine.
    The problem comes in the fact that the Idoc's being sent out of XI use Idoc Packaging, ie., the First Send Step uses Idoc Packaging to post multiple Idoc's to the target system.  A question that arises due to Idoc packaging and Idoc ack's are,
    <i><b>How will the Idoc Ack's be sent back to XI?</b></i>
    I have read through the online help and it states that every ALE AUDIT Idoc can contain the status of maximum 500 Idoc's. Now, in  my  case , when using my Idoc packaging, if the number of Idoc's are greater than 500, how will the Application Acknowledgement for the Idoc's work?  Will I still get a single acknowlegement in my BPM or will I get multiple acknowledgements? Will Send Step with Application acknowledgement still hold good?
    Any ideas, thoughts / experiences on using idoc ack's with idoc packaging?
    Regards
    Bhavesh

    If I undestatood correcty you have 2 send step, the first send a message containing multiple IDoc (IDoc Packaging). In this first send step you set the application Acknowledgements.
    I think that this is not managed from the BPM, bacause the acknowledgements will come someone positive and someone negative, and so when the first send step will be completed ?
    I think that the solution must to be changed a little bit, or removing the IDoc Packaging, or removing the wait of Acknowledgements.
    Also take in mind that if you use a BPM with many possible correlation (Acknowledgements) you will have bed performances.
    Regards,
    Sandro

  • 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

  • Idoc packaging for Receiver Idoc adapter in 7.11

    We are using PI 7.11. And, I have a File to Idoc scenario. I am trying to find an Idoc packaging option for Receiver Idoc adapter. Any suggestions on how to do configure thi scenario?
    Thanks
    abhinaya4321
    Edited by: abhinaya4321 on Dec 3, 2011 12:15 PM

    hi,
    We are using PI 7.11. And, I have a File to Idoc scenario. I am trying to find an Idoc packaging option for Receiver Idoc adapter. Any suggestions on how to do configure ?
    that is possible with message packaging concept it is suitable for you requirement
    go through below links:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b54994-f569-2a10-ad8f-cf5c68a9447c.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b54994-f569-2a10-ad8f-cf5c68a9447c?QuickLink=index&overridelayout=true
    thanks,

  • IDOC and IDOC Package

    Hi Experts,
    I'm refering the following web blog /people/prasadbabu.nemalikanti3/blog/2006/02/24/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-1 and a bit confused. My questions are.
    Q1. in section 6. the author is saying "CREMAS.CREMAS03 can be used as a single IDoc and not as a package"  wht does an IDOC package represents and why he is using IDOC Package instead of Std. IDOC i.e., CREMAS03.
    Q2. wht is the purpose of step 7.
    Q3. in step 9. under 9.1  the mapping is created between File message type and CREMAS03 instead of CREMAS03_package.
    Q4. in 9.2 "Interface mapping between File Interface and abstract interface of File".  why  mapping is required between file interface and abstract interface of file?
    Q5. in 9.5 "Message mapping between Original IDoc and CREMAS_package, make it as multi mapping" why this mapping is required?
    Regards
    Faisal

    Hi Abdil,
    IDoc Message Packages
    Use
    This function enables you to activate IDoc message packages quickly and efficiently. You use IDoc message packages to process and send messages from the IDoc adapter as packages rather than individually.
    Integration
    You can define filters for selecting messages for message packages and jobs for processing these packages by using event-driven message processing.
    Prerequisites
    In the menu Exchange Infrastructure ® Administration you have called the transaction IDoc Message Packages (IDXPW) and are on the Activation of IDoc Message Packages initial screen.
    Features
    You use this function to specify a message and do the following:
    ·        Test whether filters are already defined to filter this message at runtime
    ·        Test which of the defined filters actually filters this message at runtime
    ·        Define and activate a filter if none exists for this message
    The message that you specify must be a message that has been processed successfully by the receiver IDoc adapter.
    Activities
    To activate an IDoc message package, you must first specify the ID of a message. You have the following options:
    ·        Enter a known message ID manually.
    ·        Use the input help to select a message ID.
    The entered or selected message is used as a template for activating a message package.
    To check whether a filter has already been defined for the message, choose Filter Test. If a filter exists, the entire filter data is displayed in a separate window. If multiple filters exist, the data is displayed for the filter that actually filters the message at runtime.
    To continue with the activation of the message package, exit the filter display and choose ENTER on the initial screen. The system displays the following:
    ·        If a filter has already been defined for the specified message (one package activated), the remaining fields are filled with the values of this filter. You can now only edit the values in the following fields:
    ¡        Maximum Package Size
    ¡        Job Period
    ¡        Period Unit
    ¡        Start Immediatelycheckbox
    ·        If only parts of a filter have been defined for the specified message, the corresponding fields are filled with the defined values and the remaining fields contain default values, which you can accept or change.
    ·        If no filters have been defined for the specified message, you can edit all fields.
    Make your entries and changes and choose Execute.
    This activates the package for the specified message and schedules the specified job automatically. The current filter data is displayed in a separate window.
    Go through this link...
    http://help.sap.com/saphelp_nw04/helpdata/en/c1/bab13bb3acd607e10000000a11402f/content.htm
    Thanks,
    Satya Kumar
    Reward if it is useful

  • Query realted to IDOC packaging in case of  IDOC-SAPPI- FILE scenario

    Hi,
    I have requirement related to IDOC packaging, i.e. SAP ECC -SAP PI - FTP server.
    I have done the following settings:
    1) In WE20, I put the partner profile settings to collect mode.
    2) I am using RSEOUT00 to trigger the collected IDOCs for example 2 idocs together.
    3) In SAP PI, I have done the following settings
    a) I added the the parameter in sxmb-adm, RUNTIME , PACKAGING & Value 1
    b) I have used IDXPW t-code to activate the message packages for IDOC
    c) I run the job through sxmb_adm t-code, configure event driven message filtering
    d) I exported the xsd of ORDERS05 and changed occurence of source structure to 0 to Unbounded and imported it in Integration Repository.
    e) I am not using mapping & interface mapping as I just want to post the IDOC structure as it to the receiving FTP server. Therefore when I changed the occurence of ORDERS05 xsd to 0 to unbounded my idea was that in the outbound message interface it will be reflected which will be ultimately reflected in Integration directory.
    Problem Details:
    When I test for the 2 PO idoc from SAP ECC, it generates 2 messages in SAP PI and also 2 files in FTP server but actually it should generate one output file containing both the IDOC details.
    Note: I am just trying to merge 2 idocs of PO as IDOC package into one output message.
    Can anybody what configuration settings I am missing for the packaging.
    Thanks & Regards
    Prabhat

    Hi Prabhat,
    If you are using PI 7.0 EHp1 or PI 7.1 Ehp1, you can configure packaging parameter and create single file for multiple idocs without using BPM.
    In other case, you have to use BPM.
    But recommended approach would be to create XML file port on SAP ECC and create IDOC XML file.
    You must have set collect IDOCs option in partner profile.
    Now you can execute RSEOUT00 report program and specify IDOC type and number IDOCs to be collected.
    This configuration will generate IDOC XML file for number IDOCs you specified in RSEOUT00 report program.
    In PI you can use File adapter to pick the file.
    Here is the nice blog explaining entire process:
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    Best Regards,
    Divyesh

  • IDOC Packaging Problem

    Hello all,
    I have below scenario,
    collect multiple IDOCs and process them in single file. I did all the configuration for message Packaging. The messages are getting executed after the specified interval but not in single message they processed seperatly and and creating file per IDOC.
    Is there any one came across this scenario. please help me out in this. What is going wrong in this?

    Hi,
    >>>Actully, i am using below configuration, does anyone know if this configuration will work for IDOC packaging.
    no, the blog you mention has nothing to do with IDOC packaging into one file
    only this one works:
    /people/shabarish.vijayakumar/blog/2010/01/22/idoc-packaging--sap-pi-71-ehp1-and-above
    but as I already mentioned it I guess you're not reading my answers
    Regards,
    Michal Krawczyk

  • IDoc packaging

    Hi,
    If there are 5 IDocs in an IDoc and any one of them is failed,then will the entire IDoc package will fail or something else?
    Can you please tell me about such aspects of IDoc packaging?
    Thanks,
    Gayatri

    Hi,
    If there are 5 IDocs in an IDoc and any one of them is failed,then will the entire IDoc package will fail or something else?
    one idoc is failed in packet, the toatal packet will be failed.
    please gothrough below blogs,
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00cb6c77-74f0-2c10-82a5-9ec2a7a5a391
    http://sapxitutorials.blogspot.com/2011/04/idoc-packaging-sap-pi-71-ehp1-and-above.html
    regards,
    ganesh.

  • IDOC Packaging issue

    Hi,
    We have a requirement to create a single file for all the IDOC process in one day.
    We are in PI 7.1 and not having EhP1 so canu2019t create sender IDOC channel for packaging.
    We have another approach of using file port as describe by Stefan  blog .
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    but we donu2019t want to use FILE port approach as well.
    Can we some other way of IDOC packaging at PI?
    Regards,
    Navneet

    Hi Ravi,
    Thanks for reply.
    We already had a discussion on this approach. which required client approval and we are not sure that it will get approved or not.
    Thatu2019s why we thought of trying alternative approach if possible.
    Any suggestion Guys...
    Regards, Navneet
    Edited by: navneet sumit on Jul 26, 2011 10:25 AM

  • IDOC Packaging on outbound side

    Can we do IDOC packaging on Outboud side of IDOC Adapter ?

    hi,
    no, IDOC packaging is not possible on the outbound side
    you can use collect patter to collect idocs and send them
    in one call like I desribed in one weblog:
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    but this is not IDOC packaging (event driven)
    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>

Maybe you are looking for