Collecting IDOCs in BPM

Hello BPM experts,
I needed some help with one of the scenarios with BPM.
We are sending outbound IDOCs from ECC to PI (v7.0 SP14)
Step 1 - Process kicks off from ECC.
     1.There are multiple partners in WE20(Configured in WE20) which sends out IDOCs through the single tRFC port(WE21).
Step 2- XI starts to collect the IDOCs from these different partners in ECC(Configured in           WE20) using a wait step in ccBPM.
Step 3-By using correlation,the collected IDOCs recieved from different partners are translated and send to File adapter in seperate files.
Note:For example if there are 10 partners in WE20 which sends to 1000 IDOCs,these transactions grouped and translated into 10 files and finally transmitted to partner using file adapter.
We tested the scenarios and it is working fine,In production we faced an issue with BPM processing larger number of messages.SAP asked to apply note 1147377 to resolve this issue with bigger load.
My concern here is if the mapping for a particular partner fails,will this cause an issue to the rest of 9 partners ? Please give me your suggetions.

Hi,
It is wrong forum, please ask your questions to form : Process Integration (PI) & SOA Middleware
Regards,

Similar Messages

  • Idoc to file scenario - collect idocs

    Hi experts,
    I need help regarding collecting the idocs as per the reciver id available in idoc.
    After collecting these idocs at XI, the data of all idocs should be transferred in one text file.
    How I can do this ?
    Give me complete solution with example scenario ?
    Please do not give any example in standards scenarios as given in SAP BASIS Patterns.
    Regards,
    Study SAP

    Hi,
    Plz do refer the following links:
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM
    /people/daniel.graversen/blog/2006/09/07/using-a-bpm-to-collect-messages-for-a-set-interval-of-time
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b
    Also this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Regards,
    Vinod.
    Edited by: Vinod Reddy on Jun 26, 2008 9:23 AM

  • Collect IDocs to Single Request message without BPM

    Hi Experts,
    My scenario is IDoc to SOAP.
    PI receives multiple IDoc with same message type. ECC pushed bundled IDOcs to PI via HTTP port.
    Ex: <CLFMAS>
               <IDOC1>
               <IDOC2>
               <IDOC3>
    The receiver is SOAP channel.
    I would like to achieve mentioned output structure without BPM.
    Input Structure:
    <CLFMAS>1..1
         <IDOC1> 1..999999
            <Employee>1..1
                   <EmpID1>1..1
                    <Location>0..999
                        <JAPAN>0..1
                    <Location>
                        <FRANCE>
                    <Location>
                        <BRAZIL>
         </IDOC1>
          <IDOC2>
            <Employee>
                   <EmpID2>
                    <Location>
                        <BRAZIL>
                    <Location>
                        <JAPAN>
                    <Location>
                        <USA>
            </IDOC2>
    </CLFMAS>
    Output structure:
    <RequestMessage>1..1
         <GroupListType>1..1
                 <GroupList>0..Unbounded
                      <JAPAN>1..1
                       <EmpID1>0..Unbounded
                       <EmpID2>   
                  <GroupList>
                      <BRAZIL>
                       <EmpID1>
                       <EmpID2>   
         </GroupListType>
    </RequestMessage>
    Pointers will be very helpful.
    Thanks
    Ray..
    Edited by: RayPIUS on Oct 16, 2011 6:21 AM

    HI,
      -> you  go with IDOC packaging concept.  we have three approaches collecting idocs,
           1. by using tRFC port
               we need create rfc destination(SM59) and port of tRFC(WE21) and ccreate partner profile(WE20), in partner profile we have to specify the packet size.
                then coming to PI in ID we need to create sender communication channel for IDOC there we have to provide packet size.
      2.by using XMLFILE PORT
        Please refer this blog it will help you
        Collecting IDocs without using BPM  
    3.by using XML HTTP PORT
      please go through this blog i hope this will help you
    ->  IN PI we have message packaging concept.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b54994-f569-2a10-ad8f-cf5c68a9447c?quicklink=index&overridelayout=true
    regards,
    ganesh.

  • Collecting Idocs without using BPM

    Hi Experts,
    I am working on a sceanrio, where Idocs are coming from sap and we need to generate a single Flat file out of them.
    For this scenario first we need to collect the Idocs and then process them to make a single file output.
    To achieve the same I am using the BPM to first collect the Idocs and make a packet out of them and then processs it to generate a single flat file.
    Can someone please suggest me that, How can we  achieve the same without the BPM.
    If yes, how can we do that?
    Thanks in advance.
    Regards
    Pradeep

    Pradeep ,
    Option 1 : /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    here you collect them as a file and file is picked up and sent to the target
    Option 2 :
    in WE20 in ERP set idoc package to 50
    in XI sender idoc channel - package to 50
    XI will receive 50 IDOCs at once...
    (courtesy Michal....till then i thought there is no sender idoc adapter )
    Option 3 : collect using BPM.
    Option 4 : This is what i woould suggest....no need of collecting you can send one idoc at a time generate the file.....why do u want to collect?
    Edited by: Tarang Shah on Mar 20, 2009 7:38 AM

  • Collection of IDOCs using BPM

    Hi Experts,
    I am trying collection of IDOCs by using BPM.
    I ran into problems and In moni,  the error is
    <SAP:Code area="BPE_ADAPTER">SYSTEM_FAILURE_INTERNAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>An internal error has occurred</SAP:Stack>
    Details of above error in trace is : 
    <Trace level="1" type="T">--start sender interface action determination</Trace>
      <Trace level="1" type="T">select interface BLAORD.BLAORD03*</Trace>
      <Trace level="1" type="T">select interface namespace urn:sap-com:document:sap:idoc:messages</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--start receiver interface action determination</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface UpdatedContracts_abs_idocs*</Trace>
      <Trace level="1" type="T">select interface namespace http://com/UpdatedContracts/</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      <Trace level="1" type="B" name="CL_IDX_IDOC_RESOURCE-GETBLOBDATA" />
      <Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
      <Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>
    Here i am trying to collect IDOCs for 5 minutes and i need to send them in XML format. Here i have mapping logic and that logic is working perfectly.
    What i am dong is
    1. I am sending IDOCs from R3 system to BPM in XI. ( Here to push IDOCs from R3 system to BPM, do we need to do extra ALE settings. Actually With out BPM simple IDOC to File is working fine, With BPM only i am having error. )
    2. How to reslove above problem. AS per my understanding everthing is fine.
    Thanks,
    Subbu

    Hi Rama Subbarao,
        Error: Check with your loop condition and process steps.
           Collecting of IDOCS using BPM is good, If u want to send the 100 IDOCS per one hour with single BPM it will takes times , Some performs issues and hardware issues are raising.
    Suppose if u send 1000 Idocs per one hour it will takes much time.
    Other Process:
      The collecting of IDOCS it will be downloaded into FILE System.Once IDOCS is downloaded into FILE, it will be not changed the IDOCS.
    Using FILE Adapter we send the flatfiles data from FILE System to XI. if  u using this process performance wise its very good.
    Regards,
    Sateesh N

  • Collect Messages using BPM

    Hi all,
            Am doing a collect message pattern using BPM. After collecting messages wen mapping is called its throwing exception. CAn you help me out in this. I ll explain.
    the input i give is :
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    i sent thid message 5 times to BPM (using collect pattern).
    the stop message is of the format
    <Stop>
       <ID> A</ID>
    </Stop>
    wen i send this the collect block is exited and the flow comes  to a transformation step which does a n:1 mapping
    ie. in my mapping i add the source message type and changed its occurence to unbounded in messages Similarly in IM also i changed the occurence of source MI to unbounded. wen i test the message mapping with this
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    as input it gives the exception. But if i gve like this ten its showing successful.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    </ns0:Message1>
    </ns0:Messages>
    But how can wedo that as transforamtion happens in BPM. PLease help me out in this

    Hi,
    Check these links
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/76/5d373f5e550456e10000000a114084/frameset.htm
    Regards,
    Kumar

  • Multiple files to idoc without bpm

    Hi
    I have gone through the previous threads and came to know that n:1 is not possible without bpm. But in case of idocs you can collect them in r/3 system itself using RSEOUT00 program. But if my scenario is like.......you have 10 files which are coming through ftp and we have  to send the idoc to the target system. Is there any way to do this scenario without bpm ??
    Thanks
    kumar

    Hi palnati !
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible 
    Multiple IDocs without BPM(occurance change)
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    In case you have multiple IDoc types ref:
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Have a look at this blog.. Might be helps to you..
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2748. [original link is broken] [original link is broken] [original link is broken]
    Pls reward if useful

  • IDOC to BPM to File

    Hi Gurus,
      I have a scenario where by i will need to collect idocs from an R3 system, perform a transformation and output the results into a flat file.
      I looked at various blogs but am still pretty confused.
      For my scenario, do i need to configure a receiver determination to pass the idocs into BPM?
        ( If the answer is no, how does the idoc get pass into the BPM? )
      or do i just need 1 receiver determination to output my result from the BPM into a flat file?
    Thanks in advance.

    Hi,
      At the moment i have 2 receiver determination
      1. from R3 Outbound async to abstract async of BPM
      2. from BPM abstract async to inbound async
      1 receiver agreement
      BPM to a service with a file adapter
      I've also configured another simple scenario without BPM, just sending a IDOC from R/3 to XI with a simple transformation and exporting the output into a flat file. Its working fine and im able to see the XML messages in SXMB_MONI.
    However, for the BPM, when i try to click on the process view via SXMB_MONI, it says no message found. I'm suspecting that somehow the idoc is not even passed to the BPM but i am unable to see where have i gone wrong.
    Any help will be much appreciated.
    THanks in advance.

  • How to Collect IDOCS before sending to 3rd party

    Hi All,
    I am sending out PO's using ORDERS idoc from SAP to 3rd party.
    In my scenario I need to group the similar IDOC data into a single file before sending it out to the 3rd party using XI. So in Partner profile I have choosen 'Collect IDOC' option and given the count as 10.
    Once IDOCS were generated they were in Status '30'. So I then ran RSEOUT00 to flush the PO idocs to XI. It did flush them out but as individual IDOCS.
    I had the impression that 'Collect IDOC' files the selected IDOCS into a SINGLE file/IDOC and then sends it out. Was I right in assuming that collect IDOCS merges all idocs into 1 file/idoc or is it wrong.
    If it does not, is there a way how I can merge all these IDOCS into a single file before sending to 3rd party ?
    Thanks
    Shirin

    Hi Shirin,
    For IDoc packages see -
    XI:Idoc Message Packages
    The specified item was not found.
    For IDoc Bundling see - The specified item was not found.
    Also, to see BPM Collect patterns, you can navigate to the SWCV named SAP BASIS in your IR. Under namespace http://sap.com/xi/XI/System/Patterns you will find the integration process called BpmPatternCollectPayload. There are many examples in this namespace.
    If you are new to BPM, see this - [Step by Step Guide to BPM|http://www.riyaz.net/blog/index.php/2008/04/16/a-step-by-step-guide-to-bpm-asynch-sync-bridge/].
    Hope this helps.
    Regards,
    Riyaz

  • Bundling of idocs using BPM

    Hi
    If you are using BPM to bundle the idocs and send them in file format to target system.............. here we can think of 3 different options on which we can bundle
    1. Payload based
    2. Message based
    3. Time based.
    Could you plz confirm me if we can achieve all these 3 options even without BPM in the application system ?? If we can achieve this in the applicaiton system itself ........are there any situations in which we are foced to use BPM for this particular scenario (Bundling of idocs)
    Thanks
    Kumar

    Hi Kumar,
    Very simple example which  I had faced....
    If you bundle idocs are application level..i.e. by setting XML port to collect idocs you will have multiple Control records i.e. control record for every idoc where as if you bundle them using BPM you can have only one control record. ( which we need most of the time while bundling idocs.)
    Also in BPM you can set correlation on payload data. You can have multiple condition here...but at application level you do not get that control. Basically I think you get a control over Payload in BPM and you can play as you want.
    Again even at application level if you try to bundle large number of idocs it will give you memory dump ( in sap)..
    But bundling idocs at application level is faster process than BPM.
    Nilesh

  • Collect Idocs

    Hi,
    How to collect Idocs(invoice) that generated for one day for one particular customer?
    Thanks & Regards,
    Pragathi.

    Pragati,
    One option would be create partner profile for each customer and collect it using the file port.
    Other option would be to use BPM.
    I would suggest to go with the first route if you dont have more customers.
    Regards,
    ---Satish

  • Collect idocs and send to receiver?

    Hello All,
    Can any one send document or blogs related to the collecting all the IDOCs and at the end of the i need to send it to receiver side.
    Thanks and Regards,
    Chinna

    Hi ,
    Check out these blogs:
    IDOC Collection
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    /people/michal.krawczyk2/blog/2009/05/21/xipi-collecting-idocs--possible-ways-with-pros-and-cons--5-ways
    Idoc collection w/o BPM
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    /people/michal.krawczyk2/blog/2007/12/02/xipi-sender-idoc-adapter-packaging
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b
    Regards,
    Sarvesh Desai

  • IDOC not coming in status 30 for collecting idocs

    Hi All,
    We have a requirement in which we need to collect idocs and send together.
    To achieve I am making Collect idocs in Partner profiles so that it goes in status 30 and hence I can run program RSEOUT00 to make it status 03 and hence write in file as a group of idocs.
    Now inspite of making collect idocs in partner profile, its not coming in status 30 but directly coming in status 03.
    Please let me know what may be the reason for the same.
    Thanks,
    Vivek

    Hi vivek,
    If you have set the Collect Idoc option in partner profile then the IDOC's will be collected , irrespective of kind of port you are using and the packet size doesn't matter in this case.
    It seems to me that the program RSEOUT00 is already scheduled in your system.
    Can you check in SM37 , by putting the program RSEOUT00 and check if any user has scheduled the program.
    Hope this helps.
    Harry

  • Partner profile settings - Trigger Immediate or Collect Idocs ??

    Hi All,
    We have EDI Setup between SAP and a EDI system and Idocs flowing with port type TCP/IP connection.
    we are facing issue at some times where in the Idoc is created and is in status 03 / 12 (trfc queue is cleared) but not found in the EDI system.
    what I have observed is the issue has occurred for only few vendors where partner profile setting in trigger immediately
    and it has not occurred t for every Idoc created, only some Idocs were missing in EDI system.
    issue was not present in case  where partner profile setting in collect Idocs.
    So it that do we have a best practice to set partner profile to collect Idocs (packet size ~ 20) when sending to EDI subsystem?

    Hi,
    It seems the issue is not because of your partner profile setting since your status of the IDOC is 03 0r 12.
    Output mode 'Transfer Idoc Immediate': Single Idoc is transfered immediately to the EDI system when the output triggered
    'Collect Idoc': Idocs generated for the particular message type will be collected in a single file and are triggered to  EDI system at a scheduled time. Here no of Idocs sent in a file will be decied based on packet size.
    It may be problem with your network connectivity.If are using a EDI substem then you use file port not trfc port.
    Check how the EDI sytem is reading the Idoc files which are created in R/3 OS level is it through FTP???
    Regards
    Praveen

  • Error receiving IDOC in BPM

    hi all
    I'm doing a BPM scenario in which i want to receive an IDOC.
    The scenario goes like this:
    an IDOC is sent from source(from SWCV1) and an interface mapping(done in SWCV2) is done before the IDOC is received in the BPM.I have made an abstract async interface(done is SWCV2) for the IDOC which receives the IDOC in BPM.
    The source is sending the IDOC successfully and the Interface mapping also happens properly.
    My problem is that the IDOC is not entering the BPM.'Permanent error in BPE inbound processing' is shown.
    Simulate message delivery shows:Result of simulation: Message starts a new process
    I have no clue what the error is.Please help.

    Hi,
    You can go to the message in SXMB_MONI and from there go to engine column of the displayed message. In case of BPM, you will have PE there instead of IE or AE. Now click on PE and it will take you to the actual BPM. There you can drill down and try to figure out if the BPM instance has started correctly or what exactly the error is.
    Thanks and Regards,
    Sarath.

Maybe you are looking for

  • How to print a special color in a report.

    Hello, I'm new with BI Publisher I'm working on some reports and the user request me to print a particular color on a cell if the cell has a special condition Example: If the cell comes with 1 print green to that particular cell If the cell comes wit

  • Does anyone know the answer?!?!?!

    Why the heck is it so **bleep** impossible to route my signal in cubase le using the 1212m so i can hear the *&^#*&@!^(#& VST effect on the track I'm recording????? (While I'm recording it) What *&^@&^#*@ good is it to have amplitube if i can't even

  • Java doesn't work correctly

    With Safari 3.1.1 et FireFox 5.0 on the web often connections using Java do not work , and i get the message : UnsatisfiedLinkError: GetProxyConfigURL I can't found "ProxyConfigURL" on the web, and after I have reinstalled Java, it's the same message

  • Sp_replmonitorhelppublication in a SSIS package

    Hi The SSIS package has a step where it calls for a DB snapshot replication (SQL Agent Job) to start after it has updated the database on server A. I want SSIS to wait till this snapshot generation and subscription has finished before going to the ne

  • Wiki "remember password" feature broken after clean install

    I did a clean install, then restored the collaboration folder from an asr backup. Only problem is, if clients check the "remember password" box (in the wiki login - not a browser feature), then get the following error: The page at <my url here> says: