BPM TRIGGERING

Hi everybody,
I am new in BPM process.
I want to trigger a BPM process from another BPM process. I researched about it but I could not find any document about this subject.
Please help mee!!
It is very important for me..

Hi,
If you are new to BPM please see the links below.
SAP NetWeaver Business Process Management Resource Center
A Step By Step Guide Creating A Bpm Scenario In Sap Exchange Infras…
A Step by Step Guide Creating a BPM Scenario in SAP Exchange Infrastr…
Configuring Message Processing from PI to BPM - Process Orchestration - SAP Library
Regards,
Jannus Botha

Similar Messages

  • BPM - triggering process based on Transport Acknowledgement

    hello everyone, have a theoretical type question i would like some advice on.
    scenario --> IDOC from R/3, transformed and sent to file adapter.  In the BPM, i have defined the send step to the file adapter as being asynchronous, but have specified an acknowledgement type of 'transport' to be returned. 
    As the step is asynchronous and is thus persisted i cannot trigger an exception if the send does not occur.  Question -is it possible to make subsequent steps dependent on the success of the transport acknowledgement being returned from the send step?
    thanks in advance for any light you can shed on this topic!
    /david

    hi,
    we can have the header file as header and item file as item. basically based on our convenient we can suggest the file name to the sender. so scheme can be anything that fits our requirement

  • Collection of messages in BPM

    Hi Experts,
    Collection of messages in BPM is not working,IP is executing for each Idoc.Actually i have done the sceanrio Idoc to File,Here I am getting multiple IDocs of same type from R3 when run a transaction and i would be generate a single file for all the IDocs.For this i have changed the occurence of Idoc from 1..1 to 1..unbounded and done the mapping betweeen these two. i have done bpm just like as standarad bpm pattern "BpmPatternCollectTime".I mentioned the time as 1 minute.in transformation step i had mentioned interface mapping for 1..1 Idoc to 1..unbounded Idoc and the real mapping conditions of this sceanrio is carried out after the bpm. The Idoc's are generating from R3 with the time diffrence of 3 secs.So it should generating a single file what ever the no.of idocs populating within a minute.
    In monitoring it showning for bpm, its trigerring for each incoming Idoc and procesing successfully.
    For Ex: Two idocs are coming from R3 then BPM triggers twice
    What could be the possible reasons for this or i have done any thing wrong.
    Any ideas.., Thanks in advance
    Cheers
    Tiger Woods.

    HI,
    Try to Use Idoc packaging. also see the below 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/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    Regards
    Chilla

  • ALERT triggering slow in case of adpater errors

    Hi Forum,
    I have made a alert category to receive alerts from a particular scenario, and added all the available standard container variables SXMS_MSG_GUID,SXMS_ERROR_CAT, SXMS_ERROR_CODE, SXMS_FROM_PARTY, SXMS_FROM_SERVICE, SXMS_FROM_NAMESPACE, SXMS_FROM_INTERFACE, SXMS_TO_PARTY, SXMS_TO_SERVICE, SXMS_TO_NAMESPACE, SXMS_TO_INTERFACE, SXMS_TO_ADAPTER_TYPE, SXMS_TO_ADAPTER_ERRTXT,
    hence when the scenario runs i receive all kind of errors, but the problem is whenever there is an error in the Adpater (communication channel), i receive the error very late, otherwise for mapping errors etc. the alert is triggered instantaneously,   (i check these error in tcoe ALRTDISP),
    what can be the problem?
    also, the job SXMSALERT_PROCESS_DATA_GET is scheduled to run evry 5 minutes

    Hi,
    For ur defined mapping error u can rasie it thorugh Function module.
    refer the below link:
    Triggering XI Alerts from a User Defined Function
    Triggering XI Alerts from a User Defined Function
    For triggering Adapter engine n integration related error u can either create the alert rule in RWB and raise it.
    Triggering alert by configuring a rule from RWB.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/56/d5b54020c6792ae10000000a155106/content.htm
    Did u look at the below link using BPM:
    Triggering from BPM.
    The specified item was not found.
    Simple Steps to Get  Descriptive Alerts from BPM in XI
    chirag

  • BPM - two FORKS and a Transformation issue

    my scenario is File - BPM - Proxy
    input file has multiple records and each record has 1 field that we put a validation logic in.  There will be one message created for each record, so this is a 1:N Integration Process
    I used two Forks:
    Fork #2 has two branches: Branch 1 --> Transformation Step 3;     Branch 2 ---> Fork #1.
    Validation#1 = if the validation field has null value then it will go to Transformation Step3 along Fork#2 (end receiver is Proxy-C)
    validation#2 = if the field has value then it will go inside Fork#1 which has 2 branches: Transformation Step 1 (goes to Proxy-A) and Transformation Step 2 (goes to Proxy-B)
    I am testing a file with only the null value, so I am doing validation#1 only.
    I can see the message in BPE engine  (Outbound status = Processed successfully) but the message is stucked in the BPE
    I checked on the workflow log and here is what i see:
    1) Transformation Step 3 is executed (all mapping steps 1-4 completed so this is successful)
    2) Transformation Step 2 is executed (but mapping encounters an exception so this is not successful)
    3) Transformation Step 1 is not executed already because of the exception, and therefore Send Alert is triggered.
    It seems that all records of the file passes through all the branches, which is not intended.
    My intention is that when the validation field has null value that record will only pass thru Transformation Step 3,   if it is not null then record will pass thru Transformation Step 2 & 1.
    I already created a mapping for this validation, and when I test the Interface Mapping for Transformation Step 3 (consisting of 4 mapping steps) using an actual payload  it is successfuly generating the message.  - so no problem in this Interface Mapping.
    But on Runtime, BPM triggers exception due to validation#2 failing which again is because all records of file seem to pass on both Forks.  I want that when Validation#1 is true that specific record only passes in Fork#2   and not in Fork#1 also.
    I am using ParForEach.
    Can you kindly advise how to correct this issue?

    that was a very detailed explanation!
    But on Runtime, BPM triggers exception due to validation#2 failing which again is because all records of file seem to
    pass on both Forks. I want that when Validation#1 is true that specific record only passes in Fork#2 and not in Fork#1 also
    problem with your design...Fork seems to be working fine....you need to have a Switch block which will perform the validation and then route the message accordingly.
    I already created a mapping for this validation, and when I test the Interface Mapping for Transformation Step 3
    (consisting of 4 mapping steps) using an actual payload it is successfuly generating the message. - so no problem in this
    Interface Mapping.
    Mapping success does not mean that the BPM processing will be success.

  • Messages interfaces doubt in Webservices and BPM design

    i have a requirement where SAP sends data to some web application.. so we are going to use Proxy to webservices.. in this we are also using BPM.
    SAP sends the data to PI ..in PI BPM triggers it will check some login credintials with webserices application and response will be sent back to PI .. in PI it will have to append the login session id with SAP data and then finally PI pushes the data to target system(web application).
    SAP--SAP-PI (BPM)web services.
      1. SAP sends data to PI
      2. PI checks the login credentials with webservices
      3.Sen back the session id
      4. session id appended to SAP data
      5. Final data will be sent to webapplications
    So how many msg interfaces that i need to create.?
      1 DATAfrom SAP_Outbound (Asyn) ---
      2. Data from SAP_Abstarct(Asyn)_BPM
      3. Data webapplication to SAP- (abstarct )-Sync   ( which gets the session id)
      3. FinalDatato Webapplication(Asyn)-Abstract
    Please correct me if i'm wrong...
    Regads,
    Deeps

    Hi Shabarish,
      Proxy call is Async
    Prateek,
       can we make it with SOAP lookup? which one is best the option BPM or SOAP lookup..
       i hope it is always good to have a interface without BPM right ?
      Can you tell me how to approach SOAP lookup.. ?
    Regards,
    Deep

  • RFC Scenario using BPM

    I did whatever mentioned in that blog(/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit). Also I do have some experience in BPM.
    After testing I don't see the file inthe outbound directory. So I started analysing from all sides.
    1. First checked the message in my sxi_monitor, it black and white flag showed that the message processed successfully.
    2. I opened the message and saw the message from CENTRAL Client passed to PE ADAPTER Client with tooltip showing "Transfer to Process engine".
    1. First I checked whether my BPM is correct by pressing F7. There is no syntax error.
    2. I checked in sx_cache, the ReturnCode was 0.
    3. In smq2 I saw a message stuck in the PE queue. I double clicked the queue and saw the status text as "Permanent error in BPE inbound processing".  So I kept debugging by pressing F8 and after that the message got disappeared.
    4. I opened the message in sxi_monitor, and after the CENTRAL Client the message passed to PE ADAPTER, which measn the meesage has got transferred to process engine. But i'm not seeing any change in the file.
    5. Also what I      did was use transaction SXMB_MONI and chose process radio button and execute. Located my message but there is no task value which starts with 'WS..' in Process def column.
    Can you please pinpoint where i went wrong and anything else?
    One more thing, everytime i test the new file the file goes and gets stuck in the queue and I have got to follow the item 3 mentioned above.
    Thanks,

    Hi Kishore,  The second block is a synchronous send block in the BPM triggers the call to RFC.  I've done it as per the blog.  There is no transformation step in the BPM.  Anyway I fixed the issue. In the receive block whatever container value I used should be used in the send block also. Earlier I was getting some warning. Now my BPM is clean and it worked.
    Lesson learnt: Ensure there is no warning in the BPM. Thanks again Kishore.
    Thanks,
    Edited by: XISearch on Apr 29, 2011 5:20 AM
    Edited by: XISearch on Apr 29, 2011 5:24 AM
    Edited by: XISearch on Apr 29, 2011 5:24 AM
    Edited by: XISearch on Apr 29, 2011 5:25 AM

  • Database notifications

    Is there any database notification functionality in XI JDBC adapter? What I means by notification is, as soon as record got inserted, updated and deleted, that record should be sent to XI immediately. Is there a configuration for that?

    Hi,
    You can get such an acknowledgement by using a BPM.
    Check these out..
    BPM - triggering process based on Transport Acknowledgement
    BPM - JDBC adapter - How to trigger system errors thro' adapters?
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Triggering a BPM(NW) using sync interface and get the sync response

    Hi Folks,
    I have a scenario where in I have to trigger a BPM (NW) using a sync interface from a SOAP client by making request to get the response from SAP webservice . If the response from SAP is successful then its a happy path but if it fails or times out then there is an failure mapping to ECC using an IDOC. My question is to achieve the sync process how many synchronous interfaces do I need to use? Please let me know if my design works with 4 sync interface. One outbound sync interface at the source (i.e the request ing system), the other inbound sync interface to the BPM to trigger the BPM, another outbound sync interface within BPM for the request to SAP. the fourth inbound sync interface at the ECC for the response from ECC. Or please let me know if there is a better design option than this.
    Regards
    Kalyan.

    Hi,
    Control Step
    Use
    You use a control step () to do the following:
    ·        Terminate the current process
    ·        Trigger an exception
    ·        Trigger an alert for Alert Management (see also: Triggering an Alert)
    Activities
    Terminate the Current Process
    Choose Terminate Process.
    At runtime, the system terminates the current process instance, including all active steps, and sets the status for the process to logically deleted.
    Trigger an Exception
    Choose Trigger Exception and specify the triggering exception (see also: Exception Handling). The relevant exception handler must be defined in the same block or a superordinate block.
    The system triggers the specified exception at runtime.
    For more information about using exceptions, see Example: Collecting and Bundling Messages - One Interface.
    Proxy..
    How to create proxy.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    How to Activate Proxy.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    ABAP Server Proxies (Inbound Proxy)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    OutBound Proxy (Client Proxy)
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    File to R/3 via ABAP Proxy with good example
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    Debug your inbound ABAP Proxy implementation
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    Thanks,
    Satya Kumar

  • BPM is not getting triggered

    Hi All,
    I am working in XI3.0. When I am executing a process with BPM, I am getting an error message like this.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No object type found for this message</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have checked in SXI_CACHE. I can see that my business process has return code 0. But still when I execute the process, and see the message in SXMB_MONI, I can see the error message pasted here and business process is not triggered. Any ideas to resolve this issue are welcome.
    Thanks,
    Anand

    Hi Anand,
    1.Execute tcode:SWDD in ABAP stack of XI and investigate whether you have the correct version of the BPM.
    2.If you have any conditional evaluation in BPM, make sure you have set them properly.
    Regards,
    Sridhar

  • BPM-Deadlineexception triggered after canceling the process

    Hi,
       I have a BPM scenario thats like
    WS <--> SAP.
    this goes through BPM. I have exception in for Mapping Exception, send Exception and Deadline exception.
    I am having a case where the mapping throws Mapping Exception. Now in the Mapping exception block i am throwing a alert and cancelling the process using control step.
    Mapping exception works fine, but after couple of minutes the deadline excption is getting triggered and another alert being sent for deadline excpeiton.
    Could someone help me with what is happening, as i dont want it to enter deadline exception because i have allready caught the exception and sent alert for mapping.
    regards,
    vinay.

    Raj,
      Here is the scenarios...
    Receiver-> Block->End. In block i have defined mapping and send exception.
    InBlock i have 1) Transformation throws Mapping Exception.
                         2) Send step throws Send Exception.
                         3) Mapping Exception handling where i have a control that cancels the process.
                         4) Send Exception handling where i have a control that cancels the process.
                         5) Deadline Exception where i have a control that cancels the process.
    Once Mapping exception is triggered i am expecting the process to terminate. But even after mapping exception is triggered after 2 minutes(deadline time) deadline exception is being triggered.  (shown in graphical workflow)
    the reason i dont want deadline exception to be triggered is i will be defining alerts in all exception brancehs and dont want the user to be getting mapping and deadline exception both.
    Raj, according to your suggestion if i throw an alert again in deadline branch, how would i decide whether its a genuine deadline exception or not( like mapping exception allready triggered). I would need to know when to send an deadline alert or not.
    Regards,
    Vinay.

  • BPM with conditional start not getting triggered

    Hi
    I have developed a BPM which collects a few IDocs with a correlation based on the message content.
    When triggering the BPM in Development, everything works as intended. (Messages are collected together based on the value of the correlation)
    After this we decided to transport the BPM to Test by using NWDI. The deployment was successful, but when we try to run the scenario, the message gets delivered successfully in the monitor, but no BPM process is being triggered.
    Audit log in monitor:
    I've tried the same with the BPM in Dev but there it works fine, when trying in Test or Production, the BPM isn't getting triggered. Same when trying to trigger the process through the WS Navigator or SoapUI.
    The endpoint url we use is always the: http://host:port/MessagingSystem/receive/JPR/XI
    I can see the process in the process repository (but due to a conditional start, I cannot start it from there with a test).
    Do you have any suggestions on how to troubleshoot this?
    I can see nothing in the NWA Logs / Developer Traces either.
    Our system is a PO 7.40 SP5.
    Thanks in advance.
    Best regards,
    Nicolas

    Hi Nick
    thanks for the quick reply.
    The runtime version of the BPM is indeed the same for DEV and TEST.
    The BPM Actions don't show anything unfortunately, so doesn't seem to have triggered anything.
    The user has the SAP_BPM_TRIGGER_EVENT role so it should be able to trigger the process.
    The NWA Logs don't show up anything besides:
    JPR successfully processed the message
    And the following logs for the BPM:
    Returned destination xxxx.com/collectlabel~bpm*1400504350735*0, type WSProvider to user xxxx
    I can see the BPM Service in running state on the Java Services/Applications as well, so I would think everything is alright.
    br,
    Nicolas

  • BPM Process triggered externally

    I have created a BPM process and I am able to test it from NWA -> Process repository. But When I am testing from WS Navigator then I am getting an error like-> Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Server" Fault String: "Process start has been triggered."
    But my process is started fine. Actualy I want to access this WSDL URL from other applications. Can anybody help me?
    Thanks,
    Somnath

    Hi Somnath,
                       u will get the fault message , when u test the services in ws navigator for trigerring the BPM Process. check this article for Starting the BPM process
    [http://help.sap.com/saphelp_nwce711/helpdata/en/59/b2af840e67514f8e8973d97d494c9b/content.htm]
    Hope it helps
    Thanks and regards

  • Triggering a BPM

    Hi,
    I am doing an interface which makes a syn http call to a webservice. The response from this http syn call is captured and sent to a target system.
    I have done a BPM which makes this syn http call to the web service. My requirement now is that how this BPM can be triggered on as a batch job.
    Can anybody suggets that what may be the best way to send a dummy message within XI system? Is it possible to send an OB ABAP proxy within XI ie source system and XI system are same? any suggestions please!
    Thanks,
    dehra

    Hi,
    Control Step
    Use
    You use a control step () to do the following:
    ·        Terminate the current process
    ·        Trigger an exception
    ·        Trigger an alert for Alert Management (see also: Triggering an Alert)
    Activities
    Terminate the Current Process
    Choose Terminate Process.
    At runtime, the system terminates the current process instance, including all active steps, and sets the status for the process to logically deleted.
    Trigger an Exception
    Choose Trigger Exception and specify the triggering exception (see also: Exception Handling). The relevant exception handler must be defined in the same block or a superordinate block.
    The system triggers the specified exception at runtime.
    For more information about using exceptions, see Example: Collecting and Bundling Messages - One Interface.
    Proxy..
    How to create proxy.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    How to Activate Proxy.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    ABAP Server Proxies (Inbound Proxy)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    OutBound Proxy (Client Proxy)
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    File to R/3 via ABAP Proxy with good example
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    Debug your inbound ABAP Proxy implementation
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    Thanks,
    Satya Kumar

  • Alert in BPM not triggered anymore

    Hello,
    I have a strange behavior in my integration process. I defined an alert category in ALRTCATDEF and in my BPM I trigger an alert using that defined category.
    This worked fine so far, but after making some non alert-related changes in the process and reactivating it, no more alerts are visible using report RSALERTDISP. Even when rolling back the history to a process version that already worked no more alerts are received.
    Checking the workflow log I can see that the alert step is executed successfully "Triggers a process alert in the background" : --> Step completed.
    What I have seen however is that in the list with technical details the ALERT_ID in the container is 00000. In earlier tests there was always a value assigned.
    Could this be a reason or are there any limitations on the max. number of alerts that can be sent?
    Any help is highly appreciated.

    This worked fine so far, but after making some non alert-related changes in the process and reactivating it, no more alerts
    are visible using report RSALERTDISP. Even when rolling back the history to a process version that already worked no more
    alerts are received.
    Did you checked the return code of your IP in SXI_CACHE after activating the changes?
    Also do a check on the BPM in IR....F7...and see if there are any warning messages.
    There is no limit on the number of alerts that can be raised....just that you should have unchecked Suppress Multiple Alerts option in RWB and Alert Rule should be active
    Regards,
    Abhishek.

Maybe you are looking for