Idoc Packing

Hi experts.
We have a SOAP --> IDOC escenario.
The problem is that the message received in SOAP Adapter sometimes is huge so I have to create loads of idocs. In this situation I have a  problem when idocs are sent to SAP Backend System because of an overlflow in lock table (The idocs remains in PI in tx SM58 with error status) so I'd like to pack the idocs and sent them little by little to SAP Backend System to avoid this overflow.
For instance if a create a 30MB package with N idocs I'd like to send them to SAP Backend in smaller packages in serveral times instead in once.
I've seen blogs to collect a group of idocs to send in one packege but not this.
Could I achive this? How?
Thanks a lot.

Thanks everybody but that's not what I'm looking for.
The issue is:
After mapping I have a package that contains N idocs. Could I send this N idocs to ERP System in N smallerpackages avoiding in this way to make only one RFC call?
I know how to collect idocs without BPM to send to ERP with packing but not the inverse and I dont know if that could be done (Im working with 7.0. In 7.1 I know that it can be done).
Any idea?
If I had a File_to_Idoc scenario I wouldn't have this problem because I could manage the size of the package in the sender file adapter.....
Regards and thank you so much.
Edited by: Christian  Abad Chico on Mar 16, 2011 5:04 PM

Similar Messages

  • Idoc packing in sap pi 7.3

    Hi Gurus
    i have check the check box with multiple idocs insinle message  in sender idoc adpter  which is running on java stack.
    is idoc packing is supported in sap pi 7.3 in idoc_aae running on java stack.
    if it is working on java stack please help me.

    Hi,
    What is the error that you're getting...You can use Idoc packaging in java idoc adapter(IDOC_AAE). If you check multiple idocs in single XI message (IDOC xml) checkbox in the  Idoc sender communication channel, packaging will be activated.
    Please refer this
    http://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/4096a6b3-3dc3-2d10-bf87-f63d5340a916
    Configuring PI 7.30 Java IDoc Adapter
    Regards,
    Priyanka

  • IDoc packing with PI 7.1 EHP1

    Hello,
    how does IDoc packing (EHP1) work within a IDoc sender channel? Has anybody already tried it? Can I simply recieve "collected" IDoc from ECC (e.g. invoic IDocs) which are not splitted by IDoc adapter? So that I do not have to use a collect BPM any more?
    Thanks!
    Christoph

    > that means I have to "create" an IDoc sender channel to receive IDocs from ECC? How can I define whether IDocs should be received via this IDoc sender channel or via the "standard" IDoc adapter?
    >
    Yes, you do have to create an IDOC sender channel.  The IDOC packaging option in the CC distinguishs a standard idoc channel from idoc channel with packaging.
    > How to define the IDoc package size when I don't know how many IDocs will be sent from ECC to PI?
    I would recommend you to watch the below video from the timeslot 00:45, you will  http://www.sdn.sap.com/irj/scn/events?rid=/library/uuid/40a412a0-9501-2c10-cb83-f124e23d5373&overridelayout=true
    Pooja

  • 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

  • IDOC Packing : Doubt

    Hi Guys,
    I refered IDOC packing blog in Sender ECC system i entered Transaction WE20
    Outbound Options --> Output Processing ---> (Transfer Idoc Immed / Collect IDOCs)
    Presently am using --> Transfer Idoc Imme --> Pack Size comes by default (1)
                               ----> Collect IDOCs ---> Pack Size can be change
    I hope above config should be done for Packing , correct me.
    Also i hope by doing above would increase my performance but do the record get's transfered immediately,
    Am  bit confused can any one alobrate the above and correct me if any out of path
    Thanks in advance
    Regards
    Srinivas

    > Presently am using --> Transfer Idoc Imme --> Pack Size comes by default (1)
    >
    >                            ----> Collect IDOCs ---> Pack Size can be change
    >
    Yes you can define your own packet size
    > I hope above config should be done for Packing , correct me.
    >
    You are Correct.
    > Also i hope by doing above would increase my performance but do the record get's transfered immediately,
    As soon as the packet size will be reached it will get transfered. Let's say if you defined packet size as 500, so as soon as 500 idocs will be collected, it will be get transfered.
    Regards,
    Sarvesh

  • OSS note 778805 to correct IDOC packed HU wrong weight

    Std system behavior does not validate gross weight-net wt-tare (GRBEW-NTGEW-TARAG) received by IDOC.
    OSS note 778805 modification changes this, but how? Does it recalc gross wt based on net and tare? Reluctant to implement even in DEV without better understanding.

    Bom dia Marc de Ruijter,
    Não dá para ler sua thread, mas imagino que seu validador esteja desligado.
    No GRC vá em SPRO --> SAP GRC Nota Fiscal Electronica --> Configure System Response for Each Tax Number (CNPJ)
    Para ligar/desligar o Validador basta clicar no check box na coluna Validation.
    Observação: Para correto funcionamento do GRC deve-se sempre utilizar o validador ligado.
    Após isto refaça seu teste, é provável que você receba um erro de validação para a NF-e. Veja em GRC Web monitor -> NFe Detailed View -> Validation History.
    Atenciosamente,
    Fernando Da Ró

  • IDOC Receiver problem with 7.11 and ECC6

    Hello,
    we have a IDOC_2_IDOC scenario on old XI system which worked fine.
    We are moving now to PI7.11 and get the problem, that all IDOCs in the receiving ECC6 system
    go to status 51 "No status record was passed to ALE by the application"
    It seems to be a problem of processing of too many IDOCs at the same time,
    because if there is enought ime between the IDOCs the the procsing in ECC6 works.
    Only if too many IDOCs are sent from PI to ECC6 then I get this error.
    I have checked aRFC and tRFC options in SM59 but there is no difference.
    IDOC packing is not activated on sending system and on PI.
    At the moment the scenario should work as is worked on 7.0......
    Any ideas which setting is different or where to look?
    best regards
    Werner

    Hello,
    which ALE settings do you mean???
    on PI or receiving ECC6
    PI:
    here we only use SM59, IDX1, IDX2.... for IDOC adapter
    ECC6: only partner profile INBOUND PARAMETER
    On the sending R/3 system I can not change something.....and there was no change.
    best regards
    Werner

  • IDoc waiting in XI monitoring

    Hi,
    I am working on a idco to file scnario. I have an issue here.
    I trigger an idoc ,from the erp and in the XI monitoring (SXMB_MONI) , the status of the IDOC is LOG VERSION .
    Then i trigger nine more idocs from ERP. ONce the 10th idoc reaches the XI , the procesiing of all the 10 idocs take place.
    This is kind of collective processing .
    How can i deactivate this .? So that single processing of idoc shd be possible.

    Hi,
    like mentioned by Boopathi and Riyaz it could also be the Idoc packing in idxpw.
    Here is a blog about it:
    XI:Idoc Message Packages
    But this should normally only the case if it was configured before.
    Regards
    Patrick

  • RBDAPP01 going into SLEEP Mode and Idocs still in 64 status

    Hey all,
          I have a Inbound Idoc interface which is being processed using RBDAPP01 Program. The Issue I am facing is that the job running the rbdapp01 program goes into sleep mode even though there are idocs present in 64 status. I tried to debug the work process using SM66 but it does not open any debugging window although it says debugging started. If I cancel the Job and run it again it processes those Idocs Any input on how one can resolve this issue?
    Thanks.

    Hi Aparna,
    Here is extract from SAP material on running RBDAPP01 transaction and possible reasons for delay in processing. HOpe this can help you.
    To automate the treatment of IDocs, you must run the ABAP program RBDAPP01 (transaction BD20) in job. This program has a very good option for parallel processing which can reduce a lot the time required for treatment. However use it carefully and make sure you set a packetsize high enough to avoid that your SAP system be overwhelm by demands for available dialog tasks (don't forget one dialog task is monopolized per IDocs packed to treat).
    Best Regards,
    Krishna

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

  • Time controlled processing

    Hello All.
    My process consists in creating a text file contaning information of many idoc generated on R3 side.
    I know SAP R3 can send idoc in packs but I don't want my messages to be too big => Thus, Idoc Pack size won't be higher than 100.
    Every day, I will send my packs of idoc to XI in order to create the outbound file.
    With one pack of Idoc no pb but how can I do to create only one file when I would have more than one pack
    I want to know if it is possible without using BPM to build one file at a determined,scheduled moment with all received and not already processed idocs and how ?
    I found in documentations the possibility to maintain filters for time controlled processing (SXMB_ADM).
    Do someone have links about it or explain me the global steps to do what I want.
    Thanks very much

    hi,
    I'm not sure if you understood it correctly
    IDOC packects from R3 are not received as packets in XI
    they are received as one by one...
    so you need a BPM to collect them (to any number you want) anyway
    and BPM gives you many possibilities of telling
    when to stop and then when to create the file...
    Regards,
    michal

  • Receiver determination when merging messages from different senders

    Hi BPM/XI experts.
    In my BPM scenario, I am combining 2 messages from different sender/interface/namespace. How should receiver/interface determination be configured in this case since in the ID both these configuration objects take exactly 1 sender interface?
    Thanks.
    Carlos
    <Moderator note: moved to more appropriate XI forum>
    Edited by: Mike Pokraka on Jul 22, 2008 10:30 PM

    Hi,
    Refer these blogs
    Walkthrough with BPM - walkthrough of bpm
    Delivery Modes in BPM. - delivery modes of bpm
    Model-Driven Development in the Enterprise - development in Enterprises
    The specified item was not found. - sender idoc packing
    Regards,
    Suryanarayana

  • Scenarios and Usage

    Hi Guys !!
    I am looking  for some insight on the  following topics and would want to know the ideal scenaios when they are required and what exactly do they mean .i am confused what exactly is meant by the  following terms :
    1)Enhanced Receiver Determination,
    2) Enhanced Interface Determination,
    3) IDoc Bundling,
    4) Batch files scripting in Adapter configuration
    useful links and documentation will be appreciated and suitably  rewarded
    thanks

    You use an enhanced receiver determination to have a mapping program determine the receivers of the message dynamically at runtime. Instead of creating the receivers in the receiver determination manually, you assign a mapping to the receiver determination and this returns a list of receivers at runtime.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm
    Enhanced (Mapping-Based) Interface Determination
    In an enhanced interface determination you do not enter the inbound interfaces manually, but instead first select a multi-mapping. You get the inbound interfaces from the target interfaces of the multi-mapping. The inbound interfaces are determined at runtime during the mapping step.
    You typically use an enhanced interface determination if the source message has an element with occurrence 0 ... unbounded (for multiple items of a data record) and you want multiple messages (for the individual items) to be generated at runtime.
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm
    Please Check
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm
    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

  • XI getting slow after process very large message.

    Hi All,
    I had load data more than 50 MB after that I cannot access any function from browser(RWB,message monitoring,..) but in ABAP side that still work fine. I guess that j2ee engine still process the message that is a reason. So how I can stop the process when I load the the large files. I already try delete queue,delete workitem from SWWL,cancel the message. But nothing happen XI still very slow.
    Do I have to only start/stop J2EE engine?
    Could you please to advice?
    Thanks
    Park

    HI Park Saeiam  ,
    in adition to Marcos
    If the "browser" functions are not working it is possible that the java part of the XI just crashed and you have to restart the J2EE engine. your message may show error HTTP STATUS CODE 401 authorization error
    this error generally occurs when java part of the XI crashes and server is unable to recognise  your browser and your credentials.
    In that case you need to restart J2EE engine and also you need to manually restart all asynchronous messages which will come in error due to restarting of J2EE engine.
    I advise you not to create such huge messages.
    also you may try to send this kind of huge message through IDOC package
    IDocs are normally sent in packages between systems. You configure this within the IDoc configura-tion partner profile by specifying processing mode Collect IDocs and transfer. IDocs are then proc-essed by report RSEOUT00 in the sender system. During inbound processing in the IDoc adapter of the Integration Server, this IDoc package is split up into single XI messages. Therefore, an IDoc pack-age cannot be processed as one unit within XI. This also has an impact on performance.
    In SP11, a solution will be available for IDoc adapter outbound processing to collect IDoc-XML mes-sages 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 pack-ages.
    for more help you can refer SAP XI TUNING GUIDE
    Thanks
    sandeep sharma
    PS: if helpful Reward points

  • 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

Maybe you are looking for