IDOCs Packaging ... What if one IDOC is in error in the packet ?

Hi all,
What will happend to the rest of the IDOC in the packet ?
Lets say, i packaged my IDOC in a bunch of 5.  The first 3 IDOCs, their payload are ok. However the 4th has a bad payload and it crash in the mapping section ...
Does the first 3 IDOC (and the 5th one) will be sent and the one in error (4th one) will remain (in XI for mapping error) ?
Thank.
michel osborne

Hi chandrakanth.k,
Thank for your response. I have seen these blogs. I am not using the BPM.
I am using the IDXPW + Messages filter (sxmsfilter) to packaged the IDOCs.
I have made some tests ... wird enough ...
test #1:
idoc (1) - error
idoc (2) - valid
idoc (3) - valid
.... etc ...
test #2:
idoc (1) - valid
idoc (2) - error
idoc (3) - valid
test #3:
idoc (1) – valid
idoc (2) – valid
idoc (3) - valid
idoc (4) - error
In the "test #1", idoc (2) & idoc (3) are processed correctly (idoc sent to the SAP ECC backend system). Idoc (1) is stuck in XI with errror (mapping) which is OK.
In the "test #2", work the same as in “test #1”, idoc(1) & idoc(3) hs been delivered to the SAP ECC backend system.
However, in the "test #3"all idoc (1, 2, 3,4) are stuck in XI ... idoc(4) in error (which is ok), idoc(1) – up to -  idoc(3) in sxmb_moni has the racing flag .... but not delivered to the SAP ECC backend system ... they have the status: Message Schedule for outbound side ....
It seem that each time the package end with and idoc in error, the entire “batch’ get stuck in XI ….
How can i get sent them (test case #3) !!?!?
Thank in advance !

Similar Messages

  • 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 from sender side Idocs

    Hey,
    Can anybody suggest me the best approach/practice to do the idoc packaging with PI 7.0 SP 15.
    -Esha

    Hi,
    Refer
    SAP Network Blog: XI/PI: sender IDOC adapter packaging ?
    The specified item was not found.
    Message Packaging with Process Integration Component of SAP NetWeaver 7.0 - Webinar Powerpoint
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40a10c62-d000-2a10-c1a6-dbb3ce727300
    Thanks
    Swarup

  • 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

  • Query on Idoc Packaging with PI7.1 EHP1

    HI PI Experts,
    I have a scenario where batch run triggers the 100's of Idocs in R3 in few milli seconds, which means all Idocs are triggered in one go From R3.
    Do we still need to set Check box for Collect Idocs in Partner Profile in R3 for Idoc Packaging ?
    I want to make out the difference in 2 configs for Idoc Packaging where
    A)  All Idocs are sent via Report run of RSEOUT00 at a go after collection.
    B) All Idocs are triggered at same time via Batch Run at same time.
    Assumption:
    PI is configured to use Sender Idoc Adapter with Idoc Package Size of 10.
    OR
    I frame my Query in other way"
    What does Collect Idoc and running Report RSEOUT00 achieve to make sure that Multiple IDOC Nodes come into 1 XML message? OR Its only PI Sender Idoc Adpater take care of it when multiple Idocs of same type comes through PI?
    Please reply .
    Regards,
    Anurag

    Hi Anurag,
    In the sender IDOC adapter if the packaging option is not activated, then the IDoc packages get split into single PI messages, one PI message per IDoc. IDoc sender functionality is enhanced to preserve and process IDoc packages without splitting the IDoc package into individual PI messages. I.e. single PI message contains multiple IDocs including control records. Where as running the report RSEOUT00 will just send all the IDOCs that are in waiting state to their respective destinations.
    For the sender IDoc adapter to be able to process packages, it should receive the IDocs in a group. I.e. in the sender partner profile the packaging option has to be activated. Though you've activated the packaging option in the sender partner profile, If you dont check collect option in sendet IDOC adapter then the IDOCs get splitted into individual PI messages.
    Regards,
    Priyanka

  • IDoc Package from XI to R/3

    Hello,
    Is it possible to send an IDoc package from XI to R/3?
    I saw the following some time back in a tuning guide (Feb 2005):
    "In SP11, a solution will be available for IDoc adapter outbound processing to collect IDoc-XML messages and transfer them as an IDoc package, as in the traditional IDoc world. The IDoc adapter is designed to be able to process IDoc-XML structures that represent IDoc packages. This enables IDoc-XML packages to be generated during mapping if the inbound data structure of a message already includes the package data. This structure can then be processed by the outbound IDoc adapter and sent as an IDoc package to the receiver application."
    Does anyone know if this got released?  Where is this set up in XI?  Tuning, IDoc adapter, mapping, BPM?
    What is meant by "... if the inbound data structure of a message already includes the package data"?  Is there a setting in the data type for this?
    Thanks,
    Lisa

    Alexander,
    If the data has gone out of XI successfully and IDOC has been recieved by R/3, you cannot track the same in XI.
    In R/3, you can look at the list of IDOCS using WE02 transaction. Please take a look at the status of the IDOC and it should tell you what could be the error.
    Regards
    Ravi

  • WE20 - Pack size not working/IDOC packaging not working - PI 7.1

    Hi all,
    My requirement is to collect idocs and send to PI at one point of time in a day.
    I kept Pack.Size = 100 in partner profile (WE20), in PI 7.1 - Sender Communication channel I assigned the same value 100 to pack size.
    Now the problem is when I create more than 10 idocs and trigger manually by rseout00. for example
    15 idocs are pushed to PI by executing RSEOUT00. In PI when I check IDX5 or SXMB_MONI, 2 message ID's are generated one with 10 idocs and the other with 5 idocs.
    It works fine meaning creates only one message id if the total count of IDOC's are 10 or <10.
    Any ideas/suggestions appreciated.
    Thanks,
    Krishna

    Yes Prateek,
    In Sender Communication channel - IDOC package size is assigned as '100' and only 10 idocs are collecting for one message id.
    I checked the assignment and it was correct. I changed the description, saved and activated Sender agreement & Sender Communication Channel.
    No luck.
    Regards,
    Krishna

  • 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

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

  • Solution Packager- Error in the process  (ODBC -2035)

    Dear Expert,
    I got below as error
    Solution SBO Packager 8.81 PL08 - There was an error during the creation of society,
    This entry already exists in the following tables (ODBC -2035)
    Thanks
    Kevin

    Hey,
    Did you get ny solution, because am facing same error.
    Please reply me
    Thanks
    Kevin

  • Solution Packager- Error in the process

    Solution SBO Packager 8.81 PL02 - There was an error during the creation of society,
    This entry already exists in the following tables (ODBC -2035)
    I was using the Packager of SBO and get this error when I load the package file to create a new base.
    I hope someone can help, because this version is released in May and we pass our version 8.8 to this new but before it goes live.
    Regards,
    Erika

    Hey,
    Did you get ny solution, because am facing same error.
    Please reply me
    Thanks
    Kevin

  • Error with the Package Request while uploading epub package onto ACS4.

    Hi,
    Error with the Package Request while uploading epub package onto ACS4.
    There was an error with the Package Request::<error xmlns="http://ns.adobe.com/adept" data="E_PACK_DATABASE http://localhost/packaging/Package Incorrect%20string%20value:%20'\x92Apran...'%20for%20column%20'creato r'%20at%20row%201"/>
    Cheers
    Vikas

    See http://forums.adobe.com/thread/771689?tstart=0

  • 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

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

Maybe you are looking for