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.

Similar Messages

  • Multiple files, same structure into one message without BPM

    Hi,
    Is it possible to read multiple files (each with single row) as one message without BPM by some configuration in channel?
    For example:
    input files placed simultaneously in input folder:
    file1: a,b,c
    file2: f,g,h
    file3: k,l,m
    after adapter picks files, xml message:
    <Message_type>
        <RecordSet>
            <file>
                 <A>a</A>
                 <B>b</B>
                 <C>c</C>
            </file>
            <file>
                 <A>f</A>
                 <B>g</B>
                 <C>h</C>
            </file>
            <file>
                 <A>k</A>
                 <B>l</B>
                 <C>m</C>
            </file>
         </RecordSet>
    </Message_type>

    Bond,
    Yes Bond. You can read the pattern what you have given.
    First Read the whole line in the file as one record. Now take the substring or write udf in mapping. This entirely depends upon your requirement.
    Regards,
    ---Satish

  • Collect Asynchronous XI messages without BPM

    Hi,
    we are sending asynchronous Xi messages from ERP to PI and then sending a file through FTP for each message.
    We would like to group (collect) the messages in XI or ERP and send them all as 1 file at a specific time.
    Is this possible without BPM (I've seen the classic BPM way to do this but try to avoid BPM) What are the options ? Can this just be done by configuration ?
    We are using PI 7.1
    Thank you.

    Hi guys,
    I`m facing a similar issue in a project, where several e.g. 7 large messages, normal msg size 10-15mb, but one normally is about 100mb,  are transfered to PI via ABAP proxy and have to be merged in one single file using the file adapter.
    QoS at the moment is EO.
    Because of the performance issues I want to avoid ccBPM.
    I think the append mode could be a way to solve this issue. But how could you determine that all messages have been processed and added to the file, so that the receiver could fetch the complete file and process it?
    Is it useful to build up an unique filename like "XYZ_DATE.txt" so that all messages of one day are collected in the same file, but there is still the issue to recognize when the last message is added to the file and the file is completed.
    QoS EOIO is needed to achieve that?
    Any suggestions welcomed, thanks in advance.
    Regards,
    Jochen

  • Splitting a Idoc message without BPM

    Hi ,
    I have seen several posts on this topic splitting Messages with/without BPM. But I think I did not get the currect answer so far. Here is my scenario:
    We are using PI/XI 7.0 Sp 09, Idoc-XI-WM (third-party WMS systems)
    SAP(Idoc) -
    > XI (httpa dapter)-------> 1. Http server (WMs 1 - BS1)
    > 2. Http server (WMs 2 - BS2)
    > 3. Http Server (WMs 3 - BS3)
    I have SAP ECC sender System and 3 receivers-WMs, 3 different Warehouse Management systems running at different warehouse locations and each warehouse is like a different system which has different IP address and etc so we defined each WMs is new Business System in the SLD.
    We have a purchase Order Idoc coming from SAP ECC to XI with multiple line items, here each item may belong to one of the above 3 warehouse locations(BS) so based on the certain logic I have to split the incoming 1 PO up to 3 POs and send each PO to each warehouse location with different http adapter.
    ECC- IDoc  -
    >(Idoc xml using Idoc adapter) XI (splitted Idoc xlm(s) using Http adapter)---->WMS
    Please give your valuable inputs, I am already working on withBPM scenario but please suggest if have any good solutions with or without BPM.
    Thanks,
    Laxman Molugu

    Laxman,
    Multi-Mapping without BPM is possible from SP14. Go through this url which will help you:
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Check this threads which will also give you some idea:
    Process Integration (PI) & SOA Middleware
    Message Split
    ---Satish

  • IDOC to WS Synchronous Scenario Without BPM

    Hi Experts,
    I am dealing with Idoc to WS synchronous scenario. Can this be done without BPM??
    ALEAUD can make IDOC to handle WS response??
    Please suggest.
    Regards,
    Sushama

    Please suggest since BPM involves performance issue
    BPM surely has performance issue...only when there are a lot of steps/ logic implemented in it and when the processing load is too much for the XI/ PI server to handle.
    The BPM design in your case will be just of following steps: Receive --> SyncSend --> AsyncSend .... excluding Transformation...and a BPM with these steps wont cause a big harm to processing of other messages.
    Regards,
    Abhishek.

  • Can we capture HTTP response for async message without BPM?

    We are in the process of migrating an XI 2.0 scenario to XI 3.0.
    The scenario is as follows in XI 2.0 - SAP sends an IDoc to XI which is mapped to an HTTP request and sent to an endpoint.  The HTTP response is captured and shown in SXMB_MONI.
    When we migrate this scenario to XI 3.0, we do not see the HTTP response in MONI.  It looks like since the incoming message (IDoc) is triggering an asynchronous message flow, the HTTP receiver is ignoring the HTTP response payload if it sees a 200 OK status code.  Ideally, we would like for the HTTP response to be captured in MONI just as in XI 2.0.
    Is there a way to capture the HTTP response without using a BPM to make the HTTP synchronous call?  It appears that there is nothing in the HTTP receiver communication channel that we can change (to change it from asynchronous to synchronous).
    Thanks for your help,
    Jay Malla
    SAP XI Consultant
    Licensed To Code

    It looks like the problem I am having might be due to a bug in SP15.  It looks like i should see the HTTP response in MONI by default.  Some other people had this problem with SP 15.  Here is the posting:
    Re: SXMB_MONI does not show payload after upgrade to SP15
    Regards,
    Jay

  • Idoc to Webservice to Idoc scenario- is this possible without BPM?

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    Appreciate your quick response
    Regards
    Satya

    Hi Satya,
    >>1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge?
    You need BPM
    2. Is there a Async to Sync bridge in BPM?
    You dont need a "bridge", just take a synchronous send step
    3. How do I use this bridge in my scenario and customize it?
    Map the IDoc to request container and the response container to the second IDoc.
    Your need 4 container, receive step, transformation, send step (synchronous), transformation, send step (asyncronous)
    Regards,
    Udo

  • One src message to multiple IDocs without BPM?

    Hi guys!
    Is it possible to cerate multiple IDocs from one source incoming message without BPM?
    I tried the scenario, but I get following error:
    <SAP:Code area="OUTBINDING">CO_TXT_MMF_ENGINETYPE</SAP:Code>
    <SAP:Stack>Messages in multi-message format can only be sent to one Adapter Engine</SAP:Stack>
    Any ideas?
    Thanx a lot!
    Olian

    Hi
    Sorry my earlier link was with BPM.
    refer to this blog by Michal
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Regards,
    Kumar

  • Idoc to soap sync without bpm. is it possible? Helping me..

    Hi Experts,
    i have a small clarification Idoc to soap sync interface in sap pi 7.0. i created IDoc to Soap sync using BPM but some times the signals are stuck due to load issue in swpr, while reprocess those signals all going successfully to the receiver. So We are trying to eliminate BPM.
    I just wanted to know Idoc to Soap sync scenario without BPM is possible or not in SAP PI 7.0?
    if it is possible kindly send me the links
    Regards,
    Kiran polani

    Hi Kiran,
    Could you please let us know the exact requirement. How do you want to send the response back to IDOC?
    ASync - Sync Bridge with IDOC sender is not possible in PI 7.0.
    If It is something like IDOC --> SOAP --> IDOC , And If the SOAP request is small then you can use SOAP Lookup in IDOC to IDOC Scenario.
    In The mapping You can do a lookup and get the response from SOAP(Webservice) and map that to your Target IDOC.
    This is one possible way for you without BPM in PI7.0.
    Please let me know if you need more details about this.
    Thanks
    Jyothi A

  • Several Idocs as single msg sent to XI

    Hello,
    I have a scenario where I want to receive a colection of orders05 as a single msg. in XI. That means I want to have a msg. like:
    <orders05>
    <idoc>...order 1 </idoc>
    <idoc>...order 2 </idoc>
    <idoc>...order 3 </idoc>
    </orders05>
    Normaly this can be done by using idoc aggregation in R3. But when we tried this we receive a couple of single Idoc. I know it can be done with a BPM collect but is this also possible without BPM.
    Regards Bernd

    HI Jami,
    I think, Collection of Idocs is not possible without BPM. But there is a IDOC Package concept.
    Just look into this-/people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
    Even Idoc split is also not possible without BPM., Current SP supports Multimapping in XI, only for J2EE based Adapter Engines.
    Regards,
    Moorthy

  • IDoc Collection in BPM and Without BPM

    Hi All
    I'm much confused on IDoc collection for which i require your expertise to clear my doubts. My primary question is based on the context "Multimapping doest work with idocs".
    consider the case ->  collect files-idoc scenario. <b>Using BPM</b> i need to have
    a multimapping scenario. In the <b>transformation step</b> we will have a <b>container</b> element where <b><u>mutiline</u></b> is enabled so that the collected files are <b>transformed into one abs interface</b>. my dopubt arises here when i consider this scenario <b>without bpm</b> that is N:1 mapping (no collection). in this case why this <b>multimapping works in bpm process</b> and <b>not incase of non-bpm scenarios</b>? is it because in bpm the mapping happens in BPE?
    pls clarify.
    thks
    Prabhu

    <i>>>>>In an N:1 scenario without BPM, how could you send more than one message to your multi-mapping? You can't.</i>
    yes we cant as this validation is not supported at abap stack level and N:1 is possibkle without BPM (or i'm missing something here). but this same step with bpm get executed succceffuly. whats the logic behind it
    Message was edited by:
            Prabhu  S

  • Help on - Multiple IDOC to single flatfile (without BPM)

    I got a business need, that the ORDERS05 IDOC's should be collected on hourly basis and single flatfile should be generated for each and every hour. This scenario can be easily handled through BPM but I need the problem to be solved without BPM.
    Please help me to overcome this.

    hi uv,
    in addition u can have a look ..
    Introduction to IDOC-XI-File scenario
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    ALE configuration for pushing IDOC from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    IDOC Status
    http://www.erpgenie.com/sap/sapedi/idoc_statuses.htm
    Configuration steps required for posting IDocs
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    any case u need with BPM...
    IDOC (Multiple Types) Collection in BPM
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    regards
    biplab

  • 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

  • Message Split -- File to Idoc Scenario  -  ( Without BPM )

    I have multiple records coming to XI in a File and I have to create Multiple Idocs to R/3.
    Due to Complexity of mapping I'm splitting Maaping step into 2 message Mappings.
    A-->B
    B-->C
    In the 2nd Mapping step  I'm doing message Split meaning for each Source record I'm creating multiple Idocs ( To be precise each record on the source becomes 4 idocs in the Target.
    2nd Mapping step is as follows
    Source 1..1
      Sourcerecord 0.. Unbounded
        field1  0..1
        field2  0..1
        filed3  0..1
    Target
    Message 1
        Idoc   1.. Unbounded
          Idoc Structure..
    Message 2
          Idoc   1.. Unbounded
    Message 3
          Idoc   1.. Unbounded
    Message 4
          Idoc   1.. Unbounded
    So based on some criteria each record of Source will be mapped to 4 Messages (  1 each under each Message )
    Is it possible to do this without BPM?. Iam sending all these Idocs to same R/3 System.
    Thanks for any help..RK

    Hi,
    See the blog
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    <i>Basicly we have 2 ways of handling such scenarios:
    - we can use a block step and send multiple IDOCs from our BPM
    - we can also do a little trick and send multiple IDOCs from the XI without a BPM
    The first approach is a standard XI approach. It involves the use of a BPM
    so the speed of this transfer many not be very good in case you'd like to send
    hundreds or thousands of IDOCs in just one call.
    The second approach uses a little trick that was mentioned several times
    on the XI Froum by a number of XI developers but is still not very clear to the XI newbies.
    It allows us to send multiple IDOCs without the use of a BPM. Most probably this will be your choice
    if you'd like to use such 1:N (IDOCs) scenarios effectively.</i>
    Please see the bwlow threads also..
    IDOC Splitting
    File To IDOC Thru XI
    Multi-Mappings in BPM (XI 3.0)
    Please let me know , your prob..is solcev or not..
    Regards
    Chilla..

  • How to send status message in SOAP to IDOC scenerio without BPM

    Hi,
    I have a SOAP to IDOC scenerio in which we require to send the status message back to user from XI that " IDOC has been sent successfully to SAP system"
    We do not want to use BPM bacause of performance issues.
    Can you please help me how to achieve this synchronous response without BPM.
    Note: We require the status message from XI that the IDOC has been successfully posted to WESAP system

    Idoc only support async behaviour. U can't get the Idoc response as per ur requirement without BPM.
    Better to go for abap proxy or RFC.
    Or u may get the ack till XI.
    Regards,
    Prateek

Maybe you are looking for