2 IDocs n:1 to BPM

Hi, I have a scenario, where 2 IDocs are comming from SAP at the same time (may be 1 or 2 sec differene). 1 master data and another one is dependent IDoc.
My basic doubt is... shall I put wait step in BPM, eventhough those are comming in same time to PI?
If I put wait step... I think the minimum wait time is 1 min, is there any other way to minimize the wait time? because the next IDoc will reach the IP with in 1 to 2 seconds difference...
Or any other method to get 2 different IDocs to BPM and correlate?
Thanks for Ur time guys...

"Exception TimeOut never been thrown".
You seem to have defined an Exception by name TimeOut in the BPM.
Now you have not assigned relevant Exception Handler to this exception and hence you are getting this warning message.
So just assign a proper handler to the handler and then this warning message will disappear.
If you are using any Block step then first define the Exception handler in the properties window of the Block and then use this particular Handler in the Exception branch.
Are you using a Time-dependent loop to collect the IDOC messages?....may be you can check the design here:
http://help.sap.com/saphelp_nwpi71/helpdata/EN/08/16163ff8519a06e10000000a114084/frameset.htm
The same will be available in IR/ ESR also.
Regards,
Abhishek.

Similar Messages

  • Multiple IDocs to File using BPM

    Hi All,
    I have configured a scenario of multiple IDocs to file using BPM.  In this scenario while I am triggering IDoc from R/3 system it is sent to the external program.    I am getting in the status record of WE05 as IDoc is sent to an external system with status code 03. But I am unable to view the same message in moni of the XI system.
    Also I have checked the ALE settings on both the sender and receiver side and it is fine.
    Also in SM58 nothing is there in queue.
    Can anyone solve this issue of mine?
    Cheers,
    Neethu.

    Hi,
    in many cases it's a problem with the RFC connection. You should try an authorization test in SM59 of the R/3 system.
    This might also be useful:
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/frameset.htm
    Regards
    Patrick

  • IDoc to Soap, with BPM - Permanent error in BPE inbound processing

    Hi Experts,
    IDoc to Soap, with BPM - > Permanent error in BPE inbound processing
    How to rectify this any issue???
    Thanks-
    sk

    Hi,
    The inbound processing encountered a permanent error and the queue therefore stopped.
    The error message "Permanent error in BPE inbound processing" may be caused by the following:
    - At the start or when you process a process instance, the inbound processing encounters an exception that was not handled. This exception is triggered, for example, by a transformation step, a synchronous send step or a control step but it was not caught in an exception handler branch. If the exception that was not handled occurs in the first transaction of the started process instance, the system does not write the process instance to the database but it sets the queue that has this error message to the error status.
    Refer to the help in Note 1082099
    - The inbound processing triggers this error if the correlation evaluation shows that a message should be delivered to a process instance that has the status "error". Since delivery to process instances that contain errors is not permitted, the queue is stopped.
    Use the simulation of the message delivery in the detail view of the relevant queue LUW to determine the relevant process instance for the affected message and use transaction SXMB_MONI_BPE "Continue Process Following Error" (or transaction SWF_XI_SWPR) to continue. If you cannot continue the process instance, check whether you can logically delete the instance. In this case, use the method that is described in Note 807906 to logically delete a process instance.
    Check whether your system contains other process instances that have errors in order to detect similar problems. Use transaction SXMB_MONI_BPE "Continue Process Following Error" or transaction SWF_XI_SWPR.
    Use the report RSWF_CRL_MAINTAIN to check all of the correlation instances in question or the relevant process instances that you can reach using "Display Work Item".
    - Messages that cannot be delivered because no correlation instance can be found may lead to the error that is mentioned here. Check whether the causes that are outlined in Note 1094028 affect your case.
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward points if helpful.

  • Idoc Bundelling with out BPM

    I have taken below Micheals BLOG as reference to do this. But still am ending up with lot of confusions and errors.
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    My scenario:
    Sender : ECC 6.0 (Idocs)
    Receiver : MDM system (as a file)
    I have all the DT, MT, MM etc imported from MDM system into XI under a separate SCV.
    Please advise me a step by step procedure on doing this scenario using the above MDM structures available in XI.
    Thanks
    Siva

    Hi
    if u want to do the idoc bundeling without the BPM then u can collect all the idoc a file from the R/3 system and the u can do the simple file to file scenario.
    to collect idoc in the R/3 system do the followin steps.
    1.Use transaction WE21 and create an XML file port in the R/3 system. Apply here function module for creating the file name. You can use a standard module to do the same.
    2.Using  WE20 to create the partner profile and  assign the outbound IDOC message  type in the outbound parameters.. This partner will be the R/3 server itself since the xml file will be uploaded on the R/3 Server . For this message type give the XML port created in the above step as the receiver port and select the option collect IDOCs as output mode. Give the basic IDOC type.
    3. trigger the idoc using the transaction we19 and process the idoc.
    4. the file  will be craeted in the R/3 system. now u can download the file of multiple idocs.
    Thanks
    Rinku

  • IDoc in multimapping and BPM

    Hi all,
    I am doing one IDoc to JMS interface, I am getting 5 IDocs to BPM, all five IDocs are different, there is no interdependency between them. Once IDoc will come to BPM multi mapping will execute in which i am creating multiple JMS messages from IDoc line items(i.e if IDoc contains 5 Line items then i am creating 5 JMS messages in multimapping). Initially i used IDoc in abstract interface, but all my messages are stuck in SMQ2 ( error is: Permanent Error in BPE inbound processing). After that i used External definition(XSD imported from IDoc) in Abstract Interface, but still i am getting the same error.
                                  i am doing below steps in BPM,
    fork(5 receive steps) i made fork necessary steps to 1 and correlation as constant "abcde".
    5 transformation steps in every fork branch immediately after receive steps ( multimapping used in transformation and receiver is multiline cotainer variable)
    after this block withh ParForEach to repeat the multiline cotainer variable to send to receiver JMS.
    is there any thing wrong in above steps??
    still i am in dilamma on below points,
    can i use IDoc in Multimapping directly???????????.
    can any body give step by step procedure how to achieve this.
    Note:- I know that i can achieve this with out BPM, there are some other special reasons to use BPM for this.
    Thanks & Regards,
    Madhu.

    Hi Madhu,
      Normally this error occurs for incorrect interfaces selection
       1. please check the all configuration done correclty..
       2. Go to SXI_CACHE.. refresh the cache.. check the status Code that sould be 0..
       3. go to swwl tcode and delete all the error transactions..
    then try to excute the scenario.. still if you have the problem then check the box " Create New transaction " for  First Transformation step.
    Let me know if this works..
    Regards,
    Sandeep

  • Multiple idoc with condition in BPM

    please let me know whether i need to go for BPM or not BPM
    The actual scenario is
    I will be receiving n no. of idocs including both idoc type PEXR2001 and IDCREF01(control idoc).
    Then I need to collected all payment idoc PEXR2001 which will be having one control idoc
    IDCREF01.  This will be grouped by checking
    if IDCREF01-E1IDRH1-PAYRUNID equals to PEXR2001-E1IDRH1-PAYRUNID and
    IDCREF01-E1IDRH1-PAYRUNDT equals to PEXR2001-E1IDRH1-PAYRUNDT
    so for example I will be having 5 payment idoc and 1 control.  in this I need to sum the
    value of field MOABETR which is in payment idoc. after this i need to check
    if IDCREF01-E1IDRS1-SUM01 equals to PEXR2001-E1IDKU5-MOABETR.
    if this condition is satisfied then i will be sending the file to both email adapter and
    file adapter otherwise failed file will be sending only to email adaper.
    I request to give detailed step in BPM if possible.

    Hi Mughda,
    How would i validate using createif node function as i also need to validate fields of all the segments of the same Idoc. ?
    Thanks,
    Amit

  • Idoc to soap using BPM

    Hi,
    Plz give inputs/blogs link to do this scenario.
    i want to send idoc from R3 to web service(SOAP) using BPM bec i want to get the response.
    how many Message Interface i need to develop for this?
    Edited by: ruban R on Apr 1, 2008 12:29 AM
    Edited by: ruban R on Apr 1, 2008 12:39 AM

    Hi,
    These Steps may help you
    Design objects:
    Data type & Message Type
    1) Import the IDOC and Later you import the Idoc, doble click on it a export it to your driver, next import it as External Definition for reason becouse if not, you wont be able to create a MI type synch with IDOC and genericResponse structure
    2) Create data type for your Response Type of IDOC
    3) Import the WSDL File For Request and the Response Type
    4) Create the Message types according to the Data types which we created
    Messgae Interface:
    1) Outbound synchronous:
        output message will be ur idoc external definition file
        input message will be ur message type that u have created.
    2) Abstract Outbound Synchronous:
        use the same as in Outbound Synchronous
    3) Inbound Synchronous:
        input message will be ur request message of RFC/WebService
        output message will be ur response message of RFC/Webservice
    4)Abstract Inbound Sunchronous:
        input message will be ur request message of RFC/WebService
        output message will be ur response message of RFC/Webservice
    Mapping
    Request Message Mapping:
    b/w ur idoc external definiton and request message of RFC/WS
    response Message Mapping:
    b/w ur Response message of RFC/WS and ur message type
    Interface Mapping
    Import MI(abstract) of IDOC
    Import MI of WS
    select the mapping for request and response Tab
    BPM
    1) In container window define a variable named IDoc_ABS with category abstract interface and   
        type (select the MI of IDOC alone)
       define a variable named GenericRespnse_abs with category abstract interface and type (select         
       MI of genericResponse alone)
    2) Create a Recieve Step --> in property message select the container you define before of idoc.
    3) Define a Send Step--> mode synchronous
        select MI type abstract and sync (idoc and genericResponse)
        for property request message selects container Idoc_ABS
        for property response message selects container GenericRespnse_abs.
    Save your Changes and thats all for BPM
    Configuration
    1) Create scenario
        Assign BS and create comunication channels with QoS (quality of service) type BE
    2) Import your BPM
       Create a Receiver Determination
    -->in the target service select the BPM. Save
    -->In overview windown at foot windowns select MI IDoc_abs only. nothing else
    Create a Receiver Determination
    -->here the system who send data is BPM
    -->in the target service select the BS of receiver system.Save
    -->In overview windown at foot windowns select interface mapping and assing communication channel
    what we do here. the flow is next
    1) Receive data from sender system and send it to BPM
    2) BPM call bs of target system (WS). how? because in interface determination you selected    
       before the interface mapping
    Regards
    Seshagiri

  • IDoc  to HTTP using BPM

    Hi,
    My Requirement is  IDoc(Async)HTTP(sync)-IDoc(Async) using BPM
    and there is a condition if i will not get response from HTTP then i need to send error message to ECC(IDoc).
    could you please provide me details steps in IR and ID.
    Thanks
    Girii

    HI,
    please go through below blog instead of file you are using IDoc and instead of rfc you are using HTTP,
    http://wiki.sdn.sap.com/wiki/display/XI/FILETORFCTOFILEwithBPM
    regards,
    ganesh.

  • Idoc to Webservice using BPM

    Hi
    I am using the BPM for the IDOC to Webservice Synchronous Scenarion...
    When i trigger the IDOC from SAP it stuck in the Queue ...when i checked in the SXMB_MONI and when i clicked in PE it taking me to the INbound Queue ..
    When i opened the Queue its showing the SYSFAIL ..and when i double click on that its shoes me Permanent ERRor in BPE Inbound Processing..
    In BPM i used the Receive and Send Synchronous and Send Asynch steps ..
    Did i miss Any thing
    SV

    HI,
    I think for IDOC to Webservice you are going for Async to Sync bridge with BPM and have the similar steps as mentioned in below link.
    Asyn - Synch BPM - Async/Sync Communication using JMS adapter without BPM (SP 19)
    If there is some other flow plz let me know. Also let me know the exact error that you are facing with it.
    Thanks
    Swarup

  • Idoc to jdbc to bpm

    Hi
    I have a scenario. invoice coming from sap R/3 and get 10 fields from Sql Server depending on the soldto or billto. then it has to go to bpm depending on the business reles. please help me this one how can we do the synchronus from sql server and those fields add to invoice.
    Advanced thanks
    Regards
    Sundher

    Hi,
    Yes you can so a Synchronous Select from your BPM.
    To understand this tabe a look at my blog,
    <a href="/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step">JDBC Receiver Adapter -- Synchronous Select – Step by Step</a>
    Also, look into this blog which is a File - RFC - File with a BPM. Similarly create a BPM as Idoc - JDBC - Target System as per your requirement,
    <a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit">File - RFC - File BPM Starter Kit</a>
    Regards
    Bhavesh

  • How to send two different IDocs to SAP without BPM

    Hi Experts,
    I am working on jms to IDoc scneario,my requirement is to convert one JMS messge in to 2 IDocs(DELVRY,MATMAS) to ECC , i searched in SDN to achieve this requirement without BPM, i found one blog,but its saying its not possible to use multi mapping scenarios with out BPM in IDoc
    what is the best approch to achieve my requirement without BPM.
    Regards,
    James

    is it true that multi mapping not going to support IDoc scenarios??
    Yes it is true that IDOC does not support multi-mapping....this can be proved if you look into the help section which shows the list of adapters supporting multimapping....IDOC is missing from that list....do not get confused between Idoc Multimapping and IDOC Bundling.....IDOC bundling means bundling IDOCs of same type...however you are looking for IDOCs of different types.
    Regards,
    Abhishek.

  • IDoc Split with out BPM using SplitByValue at the LineItem Level

    I have an Invoice idoc contains line item and identifier changes into groups, let's say A & B
    Using Message Mapping, Will i be able to Split into 2 IDOCs and combine A into one IDOC and B into Another IDOC and send it across to ECC with out using BPM?
    Btw the header is commom for both the IDOCs
    Source
    <Header>
    <headertext>headername</headertext>
    <lineItem>
    <item1>A</item1>
    <item2>B</item2>
    <item3>A</item3>
    <item3>B</item4>
    </item>
    </lineitem>
    </header>
    Target
    IDOC 1
    <Header>
    <headertext>headername</headertext>
    <lineItem>
    <item1>A</item1>
    <item2>A</item2>
    </item>
    </lineitem>
    </header>
    IDOC 2
    <Header>
    <headertext>headername</headertext>
    <lineItem>
    <item1>B</item1>
    <item2>B</item2>
    </item>
    </lineitem>
    </header>
    Any inputs are appreciated

    I actually gave wrong information on the source structure, I am trying to execute scenario with the given examples, meanwhile any help is appreciated
    <Header>
                   <Date>20100112</Date>
                   <Amount>10</Amount>
                   <No>20</No>
    </Header>
                <InvoiceItem>
                   <Line1>10</Line1>
                   <Line2>10</Line2>
                   <Amount>10</Amount>
                   <ActionIndicator>I</ActionIndicator>
                </InvoiceItem>
                <InvoiceItem>
                   <Line1>20</Line1>
                   <Line2>20</Line2>
                   <Amount>20</Amount>
                   <ActionIndicator>C</ActionIndicator>
                </InvoiceItem>
                <InvoiceItem>
                   <Line1>30</Line1>
                   <Line2>30</Line2>
                   <Amount>30</Amount>
                   <ActionIndicator>I</ActionIndicator>
                </InvoiceItem>
                <InvoiceItem>
                   <Line1>40</Line1>
                   <Line2>40</Line2>
                   <Amount>40</Amount>
                   <ActionIndicator>C</ActionIndicator>
                </InvoiceItem>
    Target 1
    <Header>
                   <Date>20100112</Date>
                   <Amount>10</Amount>
                   <tNo>20</No>
                   <ActionIndicator>I</ActionIndicator>
    </Header>
                   <InvoiceItem>
                   <Line1>10</Line1>
                   <Line2>10</Line2>
                   <Amount>10</Amount>
                </InvoiceItem>
                <InvoiceItem>
                   <Line1>30</Line1>
                   <Line2>30</Line2>
                   <Amount>30</Amount>
                </InvoiceItem>
    Target 2
    <Header>
                   <Date>20100112</Date>
                   <Amount>10</Amount>
                   <tNo>20</No>
                   <ActionIndicator>I</ActionIndicator>
    </Header>
                   <InvoiceItem>
                   <Line1>20</Line1>
                   <Line2>20</Line2>
                   <Amount>20</Amount>
                </InvoiceItem>
                <InvoiceItem>
                   <Line1>40</Line1>
                   <Line2>40</Line2>
                   <Amount>40</Amount>
                </InvoiceItem>
    I know the part of Splitting IDOC, which was executing correctly, with the external data type changes. Please advice

  • Multiple Idoc to file without BPM

    Hi All,
    I am using xml [HTTP destination|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b ] in ECC system to collect Idocs(say 100,200 etc) of particular type (say MATMAS05) and sending it as a single message with multiple Idoc noes for same message type to PI 7.1 system, In PI I need to create the single node for each IDoc on target side based on certain validations on the fields of various segments( with unbounded occurences ) occuring at various levels . Node should be created only if all the fields are validated,even if a single field fails validation node for that IDoc should not be created on target side.
    for example:
    >>MATMAS
      >>|_E1MARAM
         >> |_ MATNR
         >>| _E1MAKTM
           >>   |_MAKTX
    If there are 100 MATMAS nodes in the message and if MAKTX field of third E1MAKTM segment in 97 th IDOC node fails validation the node for this IDOC node should not be created on the target side..
    Currently I am trying to do it using UDF but due to performance point of view I do not want to execute Loop across various segments twice, once to validate the fields and second time to generate node.
    Can anybody help me in this ?
    Thanks,
    Amit

    Hi Mughda,
    How would i validate using createif node function as i also need to validate fields of all the segments of the same Idoc. ?
    Thanks,
    Amit

  • File sender adapter:FILE to IDOC without BPM, can't see in SXMB_MONI.

    Hi all
    I have a FILE - XI - IDOC Async scenario without BPM.
    I configured FILE sender adapter and IDOC receiver adapter. I made a mapping to transfer file data to the structure of IDOC.
    Now when i am trying to load the file using command prompt, i cud see nothing in the monitoring. Whereas if i go to the communication channel monitoring of runtime workbench, i saw that CC is polling correctly and was reading the file also.
    And also wen i saw in the processed folder which i mentioned in the CC configuration for the ARCHIVE DIRECTORY, i saw that file got transferred to the folder also.
    I don't understand why i cant see anything in the monitoring.
    Could anybody help me to rectify the problem. Is there anything i m missing ?
    Regards
    Naina

    Rajesh/Amar
    TCode:: SXMB_ADM->Integration engine configuration->specific configuration->runtime
    Trace_Level = 3 then you can get all MONI PIPELINE Steps also
    I did this change but cudn't see anything in SXMB_MONI.
    This is how i have configured my process:
    http://wiki.sdn.sap.com/wiki/display/XI/FiletoMultipleIDOCSplittingwithoutBPM
    But instead of IDOC splitting i have simple FILE - XI -IDOC scenario.
    I have configured everything exaclty the same way it is mentioned here. But for me the process is not visible at all.
    I can't even see the first request message in the monitoring.
    This is the message i can see in the communication channel monitoring:
    2010-05-24 09:07:41 Success Channel CC_*: Entire file content converted to XML format
    2010-05-24 09:07:41 Warning Channel CC_*: Empty document found. Proceed without sending message
    2010-05-24 09:07:41 Success File "/xyz/ABC.txt" archived after processing
    Is there any problem with the file and that could be the reason it cant convert the file to the request message MT_REQUEST and thus am not able to see anything in monitoring.
    help me guys....this is a simple process and i m stuck...its frustrating
    Regards
    Naina

  • Counting the number of IDocs in a package of IDocs in BPM

    Hello All,
        I need a solution where I need to count the number of EDI_DC40  segments (The IDoc Count) in a package of IDoc's. The following is the scenario
    1) We are receiving a package of IDoc's in receive step using the XI File Adapter. I was wondering if there is a way that I can count the number of IDoc's in the BPM using a container operation or some other Method. I appreciate any help.
    Thanks.

    HI,
    We have two ooptions,
    one as explained above , yu can use standard count function and that can be used.
    Second one is we have count option in file adapter to count the msgs.
    see the below link
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/content.htm
    Regards
    Chilla

Maybe you are looking for