BPM Start Process

We have scenario(file to file) where we get multiple files and is merged using BPM, transformed and sent to the receiver. We have file This is a time based collection. Incoming file adapter is set to poll every 30 sec, and the block in BPM timeout in 2 mins ( for testing purpose).
The BPM receive step (inside the loop) has the start process turned on. The expected behaviour was to receive all files in one instance of BPM and send the merged one out.
It is spawning the multiple BPM instance based on number of files in the sender file adapter. My guess is it is doing this since we have the start process on receive step and for each receive it is starting a new process. How do we eliminate this to have only one instance start as I am not finding any other step prior to receive ( block , and loop) where I can start the process.
Any help is appericiated.
Thanks,
Samir

1. If you want to merge the same file format , Use "Loop" step before "Recevie" step. Put some deadline branch , which will ensure your time limit.
This would resolve your problem.
2. If you want to merge different file format , you need to have multiple "Receive" steps and for that you need to use the "Fork" step.
Let me know if you still find any problem.
Thanks & Regards,
Dijesh Tanna.

Similar Messages

  • Collect BPM - Start process and correlation in one Receiver

    I'm using collect pattern based on timeout. Somehow in my infinite loop, in the receive step, I cannot combine "start process" with creating correlation and using it. All in the same receiver. When I try to activate my BPM, in the processing log I get, "start process" trigger removed.
    Can someone throw any light on this....I've being trying this for over few hours now. I cannot get start process and correlation in one receiver. I must be doing something wrong.
    Even the copied BPMCollectPattern removes the start process from the receiver.
    thank you,
    Pam
    Additional info:
    The first message received starts the process within an infinite loop and activates the correlation "Correlation" by using IDoc message tyoe. Each subsequent message uses this correlation. The messages are received in the container element CollectMessage.In the loop the received messages are attached to the multiline container element CollectMessageList.

    Hi,
    We are also in SP12. So start process is not a problem, because you are getting an Information saying that "start trigger removed" right? It is not an error.
    Are you getting this eror "expression must not return multiline value" after your complete Integration Process desgin ? If So...
    I think you are getting this error in Transformation Step where you are doing N:1 mapping. In this step you are mentioning Interface mapping right? Once you mention Interface Mapping in Transformation step you need to give Source Message Structure as well as Target Message Structure. According to my understanding you are getting error here. You can check these errors, while design time itself. If your entries are showing with Red Border then it is understood that there is an error.
    So if error is here then I think you need to check your N:1 Mapping. In this mapping your Source side Messages should be 0...unbounded. Similarly in Interface Mapping also. Just check for Source Message Occurences...
    I think it will solve your problem.
    Thanks,
    Moorthy

  • BPM start process from WD UI

    Hi all,
    I am quite new with BPM in the SAP environment and for the moment I am strugling with the start of a process using an WD UI.
    What i have is a simple process with two activities. The process starts with no problems from the respository and also I created a wdsl and managed to start the process from the wsnavigator.
    Now I want to start the process from a simple UI. For that I created a WD component, assigned it to an app and connected to a model. Next I edited my portal to have a new folder with a page that contains my app.
    The UI has to fields and a button. My goal is to use that button to start my process.
    Probably I am doing something wrong when creating the action and maybe someone can help me with the java part on the actual button action.
    Please help. Thank you.
    Regards,
    Stefy

    I've made a lot of research and of course found a lot of forums and help. But for the moment I had some issues with addapting them completely to my situation, since I have to prior experience with this.
    For example I think this is the best solution that I have found so far: /people/arafat.farooqui/blog/2010/06/23/introduction-to-sap-netweaver-bpm-part-6
    but at the following step:
    / Bind the object
    wdContext.nodeRequest_Name().bind(objRequest);
    I can't figure out what is the nodeRequest_Name()...
    couldn't find this "asset" in my WDContext.
    Regards,
    Stefy

  • Cannot start BPM process, "Start process" button is disabled: Why?

    Dear all,
    I am working on the BPM example "Modeling Your First Process with SAP NetWeaver Business Process Management" with the "Purchase process". I did everything as mentioned in the tutorial.
    At the end, I would like to start the process using
    NWA > Configuration management > Processes and Tasks > Process Repository
    I can see my WD example that I have deployed and I see the my task definitions and my process definition. In the tutorial it says, that I can select the process definition and click "Start process". But the button "Start process" is always disabled. I cannot click the button. I don't know why. Did I miss something?
    I am logged in as Administrator. I am using NW AS 7.2 and I am developing with NWDS 7.1 SP04.
    Anyone has an idea what can I do to start the process?
    Thanks in advance
    Edited by: Patrick Beck on Jun 25, 2010 4:55 PM

    Thanks for the link.
    I added the new context attribute in the XSD files (under Process Modeling > Data Types > XSD Files).
    Since I added a new context attribute "Comment" of type String in my Web Dynpro, I added the following on the corrent position of the XSD files:
                             <xsd:element name="Comment" type="com.sap.dictionary.string">
                   <xsd:annotation>
                        <xsd:appinfo>
                             <xsd:attribute name="ReadOnly" type="xsd:boolean" fixed="false"/>
                                                                          </xsd:appinfo>
                   </xsd:annotation>
              </xsd:element>     
    I also edited input and output mapping of the human and automated activities to support the new attribute "Comment". I thought this is enough to pass the new "Comment" parameter from activity to activity.
    But when I started the process, I filled in the comment field in Web Dynpro and went to the next step in the process. Seems like the new attribute value for "Comment" got lost. It does not appear in the next process step.
    Did I miss something?
    These are the steps I did:
    - edit Web Dynpro UI to support the new context attribute "Comment". created new input field and mapped to the Comment context attribute (that is defined in my WDP interface).
    - edited XSD files (one for each human activity) to support the new Comment attribute as mentioned above.
    - edited the mapping between the activities to support pass-through of the new Comment attribute between the activities
    But it seems like it's not saved in the context attribute "Comment". It got lost after the first step.
    Any ideas?

  • BPM ODATA Service to start process

    Hi,
    Can any one help how to use BPM Odata service to start process?
    Regards,
    Pavani

    Hi,
    try the following two blogs:
    The specified item was not found.
    Working with SAP NW BPM and SAPUI5: Using SAP NW BPMs OData-Services
    Best regards,
    Timo

  • BPM Integration Process that correlates 2 messages.

    I have an BPM Integration Process defined that collects Deliveries for an Order number and when an Invoice arrives for the same Order number it merges the messages to produce another file that is for a 3rd party.
    I correctly receive in the Delivery and the Invoice u2013 I can see them in SXMB_MONI with a checkered flag and they are directed to my BPM.  I can see this also in SXMB_MONI_BPE.  I can also see the correlation correctly found in both messages.  No error is reported by either SXBM.. transaction.
    However it does nothing except receive the files u2013 I am expecting a transformation and then the send step to execute.
    Start >  CollectIDOCBlock  > Collect Fork
    Fork1
    Infinite Loop for Receive Delivery (Start process) and Collect in Container. It uses and activates Correlation OrderNum
    Fork2
    Receive Invoice uses Correlation OrderNum (it does not activate the correlation)
    At the end of the Fork (when Delivery collected and an Invoice is received)
    It will then do the Transformation and Send Step.
    <End
    I have tried various combinations of the correlations and which receive step starts the process.  Any ideas ?

    Yes that did work.  Now does somebody know what exactly the FORK parameter number of branches does ?
    The SAPHelp is here
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    +You can specify the required number of branches and then define whether the process must run through all branches, or just a particular number of branches+
    But it does not explain why you need to have 1 as necessary branches rather than 2.  There are 2 branches in the FORK - so why does having 1 as the parameter work and not 2.
    In this SAPHelp for Message-Dependent Loop
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    it indicates to me that the parameter should be 2.
    BUT the SAP pattern (BpmPatternCollectMessage) I have used as a base for mine has this as 1 and not 2.
    Why is 1 the correct value and not 2 ??

  • Problem about Triggering BPM and Process monitor

    Hi all,
    I am new on the BPM domain. Now i got some problem working on it.
    First, i want to execute a FM or Program in ECC, and then trigger the process of BPM, how to do this?
    or maybe i can say like this, i want to start a BPM from ECC screen, how could i do?
    Second, the requester could find the completed tasks in UWL with some simple text only,
    if he wants to see the whole process status, is that possible?
    Regards,
    Fisher

    Hi Harsha,
    Thx for your reply.
    For First, is the URL which in Process Repository, after clicking "start process", something like "http://www.example.org/bpem/..... "?
    but seems i cannot open the URL for detail XML data. Could you give some more details?
    For Second, go to UWL page, in Tasks tab, choose "completed tasks" in first dropdown box, you can get the task list then.
    And it returns only "priority, completion date, status".
    If the task is in progress, yes, process visualization will picture the state of the process.
    But my customers (requesters), not admin, want to see the diagram after they submit, with status better. Any suggestion?
    Regards,
    Fisher

  • Need to start process without SAP_BPM_SuperAdmin

    We would like to give a class of users the ability to launch BPM processes without giving them SAP_BPM_SuperAdmin.
    The problem with doing that, is that they could access NWA and change the process repository, if they found there way there.
    Is there a way to just assign the role temporarily to the application?
    Any thoughts?

    Hi Jim,
    Try this:
    Create a wsdl in your bpm dc and assign it as an interface to the 'Start' of your bpm process. Build and depoy the bpm dc. Now create a small webdynpro dc with a button say Start Process and call the web-service which you have assigned to the Start of the process. Assign this wd dc to a page/role and assign it to the reqd users.
    Hope it helps.
    Regards

  • BPM startting with two IDoc Types

    Hi All!!
    I have designed a BPM starting with two IDocs (MATMAS05 y CLFMAS02). Is designed with two start process in a switch. When one comes, wait a minute for the other. I'm not sure what IDoc comes first to the process, the I can lose data.
    Somebody has any idea tto encapsulate the infornmation of the 2 IDocs without a ZIDoc?
    Thanks and regards,
    Manuel Míguez.

    Hi,
    sounds like a
    > Collecting and Bundling Messages - Multiple Interfaces
    scenario like described here:
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/frameset.htm
    Regards
    Patrick

  • Use of BPM Sub-Process

    Hello Experts,
    I'm beginner and I wanna know when we will go for BPM sub process.
    I know there are two types of process(embedded and reference), but I wanna know when we will go for embedded sub process and for reference sub process.
    If possible please share some examples for both the process.
    Thanks in advance.
    Regards,
    Sriram

    You can use embedded sub-process in BPM when the child process (sub-process) is dependent on the parent process. By this it means that the sub-process cannot execute by itself.
    An embedded sub-process cannot have start and end events, although it can have other sub-set of events like timer, escalation and boundary events.
    You can use a referenced sub-process when you want to re-use an existing process. A referenced process is an independent process, which can exist of its own. If you want to use that existing process in your BPM Process then you can call it using referenced sub-process. Also make note that your main process will wait till the referenced sub-process completes its flow.
    Also if you feel that some process can be re-used by others then you can make it as a separate process and use it in the main process using referenced sub-process. This way others can also re-use the sub-process.

  • Regarding BPM (Business Process Management)

    Hi Friends
        present i am work  on SAP Enterprise Portal i.e NW CE 7.1 and BPM (Business Process Management) environment So I need 
        some  documents. Could you share the documents you are having.
          And i need this Information
            What is BPM?
            Any BPM Architecture ( If any Folows)?
            Use Of BPM?
            Why BPM?
            Why Not BPM?
           CaseStudy BPM?
    And How to work on BPM ? Can u send any Doc pls Send
    Regards
    Vijay Kalluri

    Hi,
    Please visit the BPM section on BPX community to get started:
    http://www.sdn.sap.com/irj/bpx/bpm
    Also there are several blogs available on Introcuction to BPM, just search for Netweaver BPM and you'll get many results.
    Cheers,
    Arafat

  • Blogg RFC scenario using BPM - starter kit (more detail on BPM required)

    I follow this blog to the letter - because it is the same as my scenario:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    The problem is I have no experience with BPM. I have setup the Integration process as I think it should be but I get an error.
    Could one of you experts go through the BPM steps in more detail? Screen shots/details of the properties and containers on each step would be very useful. Thanks.

    Hi Lynn!!
    Check this SAP help for certain requirements when to use BPM:
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ca/7c5c41fe06cf1ee10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e8/8e2d4233c8db2ce10000000a1550b0/content.htm
    Take a look at this blog by Michal,
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in BPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in BPM
    Check this weblog for a step by step procedure:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    or case study go thru this blog:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    for checklist:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    Take a look at this blog for some very good guidelines on when to use BPM's and when not to use BPM,
    /people/swen.conrad/blog/2006/12/22/xi-ccbpm-performance-under-perform-or-out-perform
    Thanks !!
    Pls reward if useful

  • Regarding BPM Syncronus process

    Hello,
    If suppose i want to design the syncronus process thru BPM.Then how can i design the Integration process steps for this scenario.
    Is it possible to receive the response from reciever to sender by means of same BPM which already configured.
    Thank you

    Hi Ravi,
    Defining Sync/Async Communication
    Use
    To enable the communication between a synchronously calling business system (synchronous outbound interface) and an asynchronously called business system (asynchronous inbound and outbound interface), you can define a sync/async bridge in an integration process. You can only define one sync/async bridge for each integration process.
    You can also achieve sync/async communication by using the JMS adapter. If you do not have any particular demand for monitoring or for troubleshooting, SAP recommends that you use sync/async communication in the JMS adapter instead. The advantage of using the JMS adapter over synch/async communication using an integration process is a significant increase in system performance.
    See: Async/Sync and Sync/Async Bridge in JMS Adapter
    Structure of a Sync/Async Bridge
    The following table outlines the minimum components of a sync/async bridge:
    Step
    Use
    Receive step to open the sync/async bridge
    Receives the message request from the synchronously calling business system and opens the sync/async bridge
    Asynchronous send step
    Sends the received message asynchronously to the asynchronously called business system
    Receive step
    Receives the message from the asynchronously called business system
    Send step to close the sync/async bridge
    Sends, for example, the response from the asynchronously called business system to the synchronously calling business system
    Performance Considerations
    If you insert additional steps in the sync/async bridge, the synchronous time is increased correspondingly. If the time that elapses before the sync/async bridge is closed is too long, this can lead to problems.
    Fault Messages
    It is currently not possible to send fault messages back to the synchronously calling business system. If you want to return error statuses to the synchronously calling business system, you can define a field for an error indicator in the message that is sent to the synchronous interface.
    Procedure
    Define a Receive Step to Open the Sync/Async Bridge
    1. Insert the receive step to open the sync/async bridge in the integration process.
    You can do this at the following points:
    ○ Directly after the start marker
    ○ As the first step in a block if the block is the first step of the integration process and if it has the mode Standard
    ○ As the first step in a fork. If the fork already contains some starting receive steps, the Start Process indicator is automatically reset for these steps.
    2. In the object area, define the container element that receives the synchronously sent message.
    Specify an asynchronous, abstract interface in the container element. The message must correspond to the request message of the synchronous interface used to receive the message.
    3. Select this container element in the Message field in the properties area of the receive step.
    4. In the Mode field, select Open S/A Bridge.
    5. Select the Start Process field.
    The receive step to open the sync/async bridge must start the integration process. There must be no other receive steps to start the integration process.
    6. Specify the synchronous interface for receiving the message from the synchronously calling business system. The message type of the message to be received and the request message from the synchronous interface must be identical.
    Define an Asynchronous Send Step
    7. Insert a send step that sends the received message asynchronously to the asynchronously called business system.
    See also: Sending Messages from Integration Processes Asynchronously
    Define a Receive Step
    8. Insert a receive step that receives the message from the asynchronously called business system.
    Define a Send Step to Close the Sync/Async Bridge
    9. Insert the send step at the required position in the process definition.
    Do not insert the send step in a loop, block, or fork.
    10. In the Mode field, select Close S/A Bridge.
    The integration process must not contain any further send steps to close a sync/async bridge.
    11. In the Opened By field, specify the receive step that opened the sync/async bridge.
    12. In the message field, specify the message that is sent to the synchronous interface.
    This message must be of the same type as the response message from the synchronous interface that you specified in the opening receive step.
    Example
    You can find an example of a sync/async bridge in the Integration Repository under SAP Basis à SAP Basis 6.40, namespace http://sap.com/xi/XI/System/Patterns under BpmPatternSyncAsyncBridge.
    For a description of the example, see Example: Sync/Async Communication.
    BPM is an additional advantage of Netweaver XI. it provides features like Sync-Async Bridge, Async-Sync Bridge, stateful msgt processing.....so on.
    Sync-Async Bridge acts as a bridge between a synchronous Business system and Asynchronous business system.
    forex: if u r communicating with a synchronous RFC to a File system(always asynchronous, which is not able to send any response to synchronous RFC Interface).
    In this kind of scenarios BPM Sync-Async Bridge enables communication between a Synchronous RFC to Asynchronous File system or vice versa..
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages
    Plz go thru the following:
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    Asyn - Synch BPM - /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    http://help.sap.com/saphelp_nw70/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/43/65d4dab39b0398e10000000a1553f6/content.htm
    Example on Sync/Async communication:
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages
    Refer this blog
    /people/ravikumar.allampallam/blog/2005/02/17/bridging-the-sync-async-bridge-with-fork-xi
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    There is an example of the Sync/Async Bridge in th SWCV: SAP BASIS.
    Namespace: http://sap.com/xi/XI/System/Patterns
    Asyn - Synch BPM - /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    Regards,
    Vinod.

  • BPM for Processing Multiple records in a file

    Hello All:
    I using BPM to process Goods issue using BAPI BAPI_GOODSMVT_CREATE. The BPM setps are as
    Step 1  Receive Request from Asyn File Interface
    Step 2  Transformation Map to Bapi request Structure
    Step 3  Send Sync Request to Bapi
    Step 4  Transformation Map Bapi Response to file
    Step 5  Send Asyn Message to File
    My input file  is as fallows
    H,20050613,20050613,9999,HEAD TXT,03,
    P,000001000108,0001,COMMON,2,EA,1000,1011,261,ITM TXT,
    H,20050613,20050613,9999,HEAD TXT,03,
    P,000001000108,0001,COMMON,3,EA,1000,1011,261,ITM TXT,
    The output file is as fallows
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_SAP_RESPONSE_ITMS_DATA xmlns:ns1="http://testcompany.com/xi/ITMS">
    - <BAPI_STR>
    - <HEADER>
      <MAT_DOC>4900000696</MAT_DOC>
      </HEADER>
      </BAPI_STR>
      </ns1:MT_SAP_RESPONSE_ITMS_DATA>
    The problem I am facing is although my file has 2 records of goods issue data (Header and Item data) , the BPM processes only one record (Header and Item) and creates a material doc in SAP and outputs a file with the material doc number as above. Ideally I would like the XI system to process both the records and produce 2 material docs as output .
    Also my input file adapter has been picking up both the records as this is visible in the SXMB_MONITOR logs.
    Do I need to introduce a loop in the BPM ?. If so can any can any body give me an example or point me in the right direction.
    Many Thanks
    TBH

    Udo:
    <b>you need a mapping splitting one message with multiple entries into multiple messages with one entry, which you put into a multiple line BPM container.</b>
       Are you implying loop Step 1 Receive Request from Asyn File Interface and collect them into a multiline container ?. How does the loop know how many times to loop.
    Would appreciate your comments
    Thorsten

  • Existing Categories are not listed in the Start Process

    Hello,
    I am currently using LC ES3 with SP3 and start having an issue with no Catgory listed in the Workspace ES3.
    I checked the AdminUI > Application n Services > Categories and no Category is there either. If I create a new Category in the Admin UI then I can see it is listed in the Workspace ES3 but not sure why all of the existing Categories are not listed there.
    Does any one have idea about this issue or any advise on this? Can you please share.
    Thanks in advance,
    HD

    The -1 simply means it has no parent.  I'm not sure when they enabled trees in the categories(much needed improvement!) as we just upgraded finally from 8.2....  For example if you have Category 1 and Category 2.  If they are both -1 you will see them both on the "Start Process" screen.  Where as if Category 1 was OID(2001) and parent_oid(-1) and Category 2 was OID(2005) and parent_oid(2001) then Category 2 would be under Category 1 in a treeview.
    You just need to make sure that the parent_oid column is not nothing.  If you did an upgrade it most likely is like ours was and the column is empty since it was a new column that 8.2 did not have.
    Pic1 is (-1) for both.
    Pic2 is Category 2 having Category 1 as it's parent.
    Pic of the database for With Category 2 using Category 1 as a parent.

Maybe you are looking for