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

Similar Messages

  • 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

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

    Hi
    I am aware that in Idoc packaging how Sender Idoc adapter packaging is done and also know that it is available from PI7.11
    I have 2 questions...
    1. Suppose there is a data issue with a single idoc ,,because of that entire package will fail...then it would call for finding the erroneous idoc ...correct the data and resend all the Idocs again..
      This problem can occur again and again...and because of this the entire package will be stopped..
    So is it a good option to not do packaging and send a single Idoc and insert it as a record in target database.
    2. In case i am doing idoc packaging the occurence of IDOC in mapping will still be 1..1.
        How do i manage my mapping such that each Idoc in the package should insert a separate record in the database table
    Hema

    >
    > 2. In case i am doing idoc packaging the occurence of IDOC in mapping will still be 1..1.
    >
    >     How do i manage my mapping such that each Idoc in the package should insert a separate record in the database table
    >
    Map IDoc to access tag, in this case one record for each IDoc will get inserted.

  • 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

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

  • Idoc to file scenario general query

    Hi All,
    I know about the basic settings needed for the Idoc to file scenario.
    My query is related the idoc /ALE settings.
    I have a scenatio wrking in my system where we have configured the port for B type partner and also the port as XML-HTTP
    I can not see any DM(BD64) created for it basically.I want to know that in what scenarios the BD64 configuration is required.
    Or it is the case that if we define the BD64 then we do not need to configure we20 and we21, it will be auto configured?
    Please let me know the use cases for these different configurations if any.
    Thanks in advance.
    Regards,
    Rahul Kulkarni

    Hi Rahul,
    BD64 uses mostly IDoc to IDoc scenarios because the IDoc consults the distribution model and determines whether any filter objects are specified for a receiver.
    WE20 and WE21 (Partner Profile,Port Definition) we have to define in any scenarios where ECC included.
    Thanks,
    Seshu.

  • 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

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

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

  • IDOCs Packaging ? Need some clarification ;-)

    Team,
    Simple scenario:
      =>   JMS (xml) --> ( … XI …  ) --> (IDOCs) --> SAP ECC.
    This is scenario working fine.
    However, If we have 10 IDOC, we have 10 LUW on the backend system (not good for the performance).
    To avoid these multiple luw, we are using the IDOC packaging approach (no ccBPM) the wizard (idxpw).
    So …
    1) XML messages are coming in XI
    2) Since we have a filter (sxmsfilter), messages are kept aside for a while
    3) Until a job (created using idxpw) wake up and start processing the messages
    Our questions:
    When does the “packaging” trick arrive ?  We do not see the messages in IDXP (with the package icon), but with the yellow dot
    thank for you help
    MO A+

    Hi XI Team,
    Have  a look at Sravya's blog
    /people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
    Usually IDOC packaging is created at the sender side as explained in the blog. Have never tried IDOC packaging at receiver end.
    In our case, we changed the IDOC XSD to unlimited and used it. It will create a single message in XI.
    But in R/3 it is not an IDOC package. It will be a collection of IDOC. Each will trigger a new LUW.
    Hope the weblog will give you some idea. If you are able to create an IDOC package at th R/3 do update us. I will give this scenario a try tomo. It is 12:20AM my time
    Good Luck
    Regards,
    Jaishankar

  • IDoc error In case of ERS procedure, please enter terms of payment

    Hi,
    I tried to use BAPI_PO_CREATE1 to post purchase order. However, I encountered this error.
    IDoc error In case of ERS procedure, please enter terms of payment
    I passed the payment term in IDOC PORDCH. Segment E1BPMEPOHEADER-PMTTRMS has value filled out. This value is passed into the BAPI correctly but for some reasons, it got cleared out in the BAPI. Any ideas or suggestions would be greatly appreciated.
    Thanks

    Check
    BAPI_PO_CREATE1 -  E 06 436 In case of account assignment

Maybe you are looking for

  • File is picked by XI but not placed in Receiver

    Hi All, Im working on file to file scenario, i hav done with the design and configuration.The problem is the file is been picked up by the server but it is not placing in the receiver folder.Im using NFS but no content conversion is been done. I have

  • Problem with payment and check

    HI   My problem is the following; there were a invoce that arrived and it was paid 50% in advanced. According to the invoice, it is supposed that in the Project Builder the complete quantity loaded to each project should be entered, and to the CIP.xx

  • Mouse wheel usability

    Is rubbish.  Cmon abode,  its not rocket science.  Or maybe I'm doing wrong - Is there any other way to scroll audio and video layers other than with the scrollbar? If not here are some no brainer suggestions: existing: scroll along timeline with mou

  • Using #import or #include

    In documentation:"Objective-C adds the #import directive, which does the same thing, except that it knows not to insert a file which has already been inserted." But I'm get a error, when try: // ClassA.h #import <Foundation/Foundation.h> int SOME_VAR

  • Application address book cancelled restart

    I'm having an issue where quiting mail causes it to quit, then relaunch within twenty seconds and when choosing the restart command to restart the computer, address book launches and appears to interact with mail and I get the following error message