IDoc Packaging + Ack ALEAUD = bad behavior ?

Hi,
I'm in version PI 7.11 and I'm studying the IDoc packaging of EhP1 with Acknowledgment (ALEAUD).
My scenario is a basic one: File -> PI --> ECC (100 idocs). And then ECC returns Ack.
So for the returned Acknowledgment, I have that:
- on ECC, I did ALE config, and I run programs RBDSTATE / RSEOUT00 to create one IDoc ALEAUD (Ack).
- In PI, I use a sender CC (Idoc adapter) by using option "Idoc Packaging".
- In PI, I use a Sender Agreement with Idoc ECC's ALEAUD and this sender CC.
- In PI, I use program IDX_ALEREQUEST on ECC's ALEAUD idoc.
My problem is:
ECC send me ONE idoc ALEAUD which contains 100 segments corresponding to 100 Idocs received at the first step. BUT even if I used the "Idoc Packaging"... in IDX5 of PI, I have not one idoc ALEAUD, but I have 100 Idocs ALEAUD !
And so after that my mapping is run 100 times instead of one ! Image if I need to return an email... with this PI behaviour, I will send 100 "Ack" emails.
So does somebody know why IDoc Packaging does not work with ALEAUD whereas program IDX_ALEREQUEST is correctly used ?
Thanks
Mickael
Note: I don't want to have to create a BPM to collect my ALEAUD Idocs. That's too heavy...
And (for the moment), I don't want to create a specific ZALEAUD idoc...

Hi Prashant,
yes, I did not precise it, but of course IDXNOALE is used, else PI will generate an Ack of this ECC's ALEAUD... so a ack of a ack... but it's not really my problem.
what I say is:
- Request : PI -> 100 idocs MATMAS (for instance)
- Ack : ECC return to PI only one idoc ALEAUD with 100 segments "E1STATE" corresponding to the 100 idocs MATMAS.
- Ack : PI receive this only one ALEAUD... but in IDX5 and in SXI_MONITOR, we see in fact 100 IDocs ALEAUD with 1 segment E1STATE, instead of having only one idoc ALEAUD (like in ECC side) !
So I'm searching a way to keep in PI the only one Idoc ALEAUD sent by ECC, in order to be able (for instance) to send only one email (and not 100 emails like it's the case for the moment).
Regards
Mickael

Similar Messages

  • 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

  • Error while installing Grid Control 12c (ERROR STREAM: *sys-package-mgr*: skipping bad jar)

    Hi all,
       OS: OEL 6.3 64 bits
       DB: 11.2.0.3
       Grid: 12.1
       While installing Grid Control 12c, the following error appears to me:
    INFO: SaveInvWCCE JRE files in Scratch
    INFO: oracle.installer.mandatorySetup property is set to false, so skipping the execution of additional tools
    INFO: oracle.installer.installUpdates property is set to false, so skipping the checking of updates
    INFO: Config Initialize JRE files in Scratch
    INFO: no env vars set, no envVars.properties file is generated
    INFO: none of the components are configurable
    INFO: This is a shared oracle home or remote nodes are null. No copy required.
    INFO: Adding iterator oracle.sysman.oii.oiif.oiifw.OiifwRootShWCDE
    INFO: Updating the global context
    INFO: Path To 'globalcontext.xml' = /gridControl/WLS/jdk16/install/chainedInstall/globalcontext
    INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list
    INFO: Install Finished at: 2013-07-04_11-12-49-PM
    INFO: The ARU ID found in shiphomeproperties.xml file is 226
    INFO: ARUId present in shiphomeproperties.xml matches with the 64 bit OMS Platforms ARU ID 226, so -d64 is passed for wls install.
    INFO: Executing the command /gridControl/WLS/jdk16/jdk/bin/java   -d64  -Djava.io.tmpdir=/gridControl/WLS/.wlsinstall_temp -Xms128m -Xmx1024m  -jar /u01/binaries//wls/wls1035_generic.jar -mode=silent -silent_xml=/gridControl/WLS/.wlsinstall_temp/wls.xml -log=/u01/oraInventory/logs/installActions2013-07-04_11-07-45PM.log.wls  -log_priority=debug
    INFO: Extracting 0%....................................................................................................100%
    INFO: ERROR STREAM: *sys-package-mgr*: skipping bad jar, '/u01/binaries/wls/wls1035_generic.jar'
    INFO: #
    INFO: # A fatal error has been detected by the Java Runtime Environment:
    INFO: #
    INFO: #  SIGSEGV (0xb) at pc=0x0000003a23689cdc, pid=24834, tid=139710737405696
    INFO: #
    INFO: # JRE version: 6.0_24-b50
    INFO: # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
    INFO: # Problematic frame:
    INFO: # C  [libc.so.6+0x89cdc]
    INFO: #
    INFO: # An error report file with more information is saved as:
    INFO: # /tmp/hs_err_pid24834.log
    INFO: #
    INFO: # If you would like to submit a bug report, please visit:
    INFO: #   http://java.sun.com/webapps/bugreport/crash.jsp
    INFO: #
    INFO: Return value is 134
    INFO: POPUP ERROR:Installation of Oracle WebLogic Server has failed, check log files for more details.
       The line "skipping bad jar, '/u01/binaries/wls/wls1035_generic.jar'" is the one that's worring me. Can it be corrupt? Or it is something else?
       Thanks in advance.

    Its too early to conclude the issue is a bug with out looking into the logs. For the same reason i requested you to open an SR so that we can have a look at the logs and identify the cause.  If you are Oracle employee then you can share the VM details else we need logs to debug this further. If any one from your company can open an sr and share logs then that will be helpful. Can you also check if the shiphome that you downloaded is all correct and checksum/byte matches to what is mentioned on OTN.

  • 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

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

Maybe you are looking for