Trigger BPM from R3 workflow

Hello @all,
i have the following idea of scenario: After creating a quality notification (QN) in R3 a BPM on XI-server should start, getting the BO of the QN.
My question is how can the workflow in R3 start the BP in XI and also how to send the BO from workflow in R3 to the BPM in XI?
In my opinion there are 2 main possibilities to communicate:
1. IDoc
2. SOAP
I would be happy about a step by step solution on both or even more solutions (maybe with comments or advantages and disadvantages).
Thanks in advance
Chris

Hi Henrique,
thx for your quick answer, some questions concerning your answer:
1. the R/3 is version 4.7 on the WebAS 620; if it is ECC i don't know exactly, is it necessary?
2. are there any advantages if you compare the technologies each other (RFC/IDoc vs Proxy/WS)? What would you recommend, cause for the BO quality notification i have less BAPIs and RFC possibilities.
3. How should I start with Proxies and Webservices? Do you have a a step by step solution for a similar scenario?!?
4. Just that I understand it right my Webservice should be the IP that receives the BO in XI. And the generated proxy   plays the role of the Webservice Client triggering the IP?
5. I don't get the point how to make use of the ABAP proxy if my initiator is a step of the workflow in R3?
Greetings
Chris

Similar Messages

  • Trigger BPM from Other BPM

    Hi, how can I do to trigger an X BPM from other Y BPM, I tried just sending the same message that start BPM X from BPM Y but it doesn't allow me?
    Any Ideas on how to do this?
    Regards,
    Pablo

    Hi,
    >>Should the sender interface from BPM X be the same as the receiving interface in BPM Y?
    Yes. Use the same Abstract Sync interface in the send step of BPM X and Receive step of BPM Y.
    >>do I have to use the SynAsyn Bridge at all or is this something different?
    Yes. You have to open S/A bridge in the receive step of the BPM Y.
    Thanks,
    SaNv...

  • How to trigger BPM Process from SRM Portal

    Hello Experts,
    I'am new to BPM and NWDS 7.3 but experienced with Abap and NWDS 7.0 Development...
    Before posting, i have been through the forum and couldn't find exact answer to my case..
    Basicly what i need to do is to trigger BPM Processes on the BPM Server from SRM Portal Server, I'm aware that i can communicate between these servers with WSDL basicly but how am i going to call the BPM Process' Web Service from Standart SRM  Processes?
    These processes will be standart ones mostly and also i am new to SRM.
    Kindest Regards,

    SAP SRM 7.0 user interface is developed in WebDynpro and runs on NetWeaver Portal (Portal was optional component in earlier versions of SRM but it is mandatory component now). So in order to call BPM Webservice (i.e., to trigger a BPM Process) from NetWeaver Portal / SRM 7.0 you can do the following
    - Develop a custom application (using EJBs,etc) to call the BPM web service by creating a web service proxy client using NWDS and then deploying it on Portal Server.
    - Directly create a model in WebDynpro project by using the WSDL of BPM trigger webservice (using NWDS). You can then call the model in WD User Interface, which in turn will invoke the BPM web service and start the process.
    Hope this helps.

  • How to trigger a second workflow from a workflow?

    Hi All,
              I want your guidance in deciding the process flow of a workflow to be developed.
              We have a scenario in our project where we have to develop a workflow for vendor creation/change
              done through a portal.Now we have designed to do through this 2 workflows.
              First workflow is triggered when the create/change is done in the portal and the entry is made in a
              z table.This is the trigger point of first workflow.
              First workflow will identify all approvals and store them in another z table with all the approval levels  needed and the approval groups stored in the z table itself.
              Second flow will trigger on the entry made in this z table.It will read all approvals and send the mails to tha approvers in the respective aproval groups.
    Now can you please verify this.Is it possible to trigger a second workflow from a workflow?
    If yes then can you please explain the methodology to do the same?
    Also if any other approach can be taken,please suggest the same.
    Thanks a lot,
    Saket.

    First Develop a Z Business OBject (let ZVENDOR) to update the Z table when ever a Vendor is created or Changed.
    Now For the first workflow do like this
    From the WD application when the user clicks on the SAVE button then call the Function module SAP_WAPI_START_WORKFLOW .
    Develop a method in the ZVENDOR to update the Z table.Make the method as background.
    Use the method that you have created in the above point in the first workflow but prior to this make sure that you have passed all the required information to the workflow.
    Once the table is updated.
    For Second Workflow
    Create a Change document object for the Ztable.
    And trigger the workflow when ever any entry is made or changed in the z table

  • Multiple workflow templateIDs causing headaches when trying to trigger WF from core search results XSLT

    For each result in a core results web part I want to add a link to a workflow that adds the item's file name and url path to a link list that is to be used as a favourites list.
    The workflow itself is pretty simple to create and works fine when triggered the normal way - from the item's actions menu in the list or library. If I take a look at the URL from the workflow start page it passes in three parameter values for listID,
    itemID and th workflow templateID.
    http://[site url]/_layouts/IniWrkflIP.aspx?
    List={a18f984d-d206-4b03-8551-009764bdc7fd}
    &ID=79
    &TemplateID={39386c81-7a88-4567-9442-763e65f78a41}
    &Source=http://[url to page to return to after WF has completed]
    In the core search results XSLT there are no problems constructing this URL for each result item with the two first parameter values. Both the listID and the itemID can be used in the XSLT through first setting up managed properties mapped
    to existing crawled properties (in Central Admin's search administration).
    BUT when it comes to the workflow's templateID things get more complicated as this will not be the same for every instance of the workflow. If a list workflow is created all content types of the same list get the same templateID, but if you update the workflow
    in SharePoint Designer then it's assigned a new templateID. Also, if you create a reusable workflow then it's assigned a new templateID each time it's associated with a new list or content type, AND again if it's updated.
    My initial plan of using one workflow and hardcoding it's ID into the link is thus dead, and I'm now searching for options on how to dynamically get the last updated valid templateID of my workflow into my XSLT code.
    Any ideas?
    My code thus far. 'Customlistid' and 'customitemid' are my two custom managed properties easily set up through Central Admin.
    <div class="addtofav">
    <a href="{concat('../../_layouts/IniWrkflIP.aspx?
    List=',customlistid,'&amp;ID=',customitemid,
    '&amp;TemplateID={399089b6-a65b-42b6-a0ea-95eb3f1ac921}
    &amp;Source=http://someurl.aspx')}" title="Add to favourites">
    <img src="/_layouts/images/star.png" border="0" />
    </a>
    </div>

    Hi Henning,
    i am agree that the workflow ID should be generated dynamically, and you may need to get the dynamic ID to your code.
    so, the workflow may need to be created first, then it need to pass to the code.
    to achieve this, perhaps you can use javascript then combine it?
    http://www.ilikesharepoint.de/2012/12/sharepoint-2010-get-workflow-template-id-by-using-javascript/
    http://social.msdn.microsoft.com/Forums/en-US/5866faff-0535-46a7-b5d7-a8067fb317ef/starting-workflows-programmaticallyhttp://sackofholding.blogspot.in/2010/06/get-workflow-templateid.html
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How do you get variable values from a workflow onto a jsp?

    I trigger a workflow and it does all the stuff I want, but I want the the jsp (a confirmation page) that eventually gets shown to the end user to have some of the variables from the workflow on it.
    How do I achieve this?

    Sorry--for not knowing how to post this in the right forum.
    I thought that I was posting on the right forum by placing the pl sql tag.
    Sorry for any inconvenience that I have cause….thanks for your feedback…and have a great day!!
    Edited by: user612347 on Mar 12, 2010 5:29 AM

  • Starting BPM from Adobe PDF?

    Hi everyone,
    we want to implement a BPM scenario, which will be started by a WS call from an Adobe PDF file. Following is our development procedure:
    1. Create a wsdl file, which has only input parameter. (asynchronous call).
    2. Create a bpm with a start event, whose trigger is the wsdl file from step 1.
    3. Deploy the bpm and configure all the service groups. Test the bpm and find out it can be started with a webservice call.
    4. Create an xdp file using the wsdl file from ce as data connection. (this wsdl file is not from step 1, but the one with endpoint configuration from ce)
    5. create pdf file from xdp and call the bpm, but failed.
    Our questions are:
    1. is it possible to start a bpm from a pdf form using ws?
    2. if 1 is true, how can we do that?
    thanks a lot for your time and reply in advance.
    best regards
    Xiang

    Hi Xiang,
    One more information, currently "Starting BPM From Online Adobe is supported".  You have to invoke the WSDL as you do for any other online application like webdynpro.
    But invoking from Adobe makes sense only if it is done via offiline form (sent through mail). For this functionality you have to wait till release of 7.3.
    Hope this is helpful to you.
    Regards,
    Nirmal Sivakumar G

  • How to trigger alerts from UDF for file to file scenario

    Hi,
       My scenario is something like this.......
    I have lookup in which there exists more than one output value corresponding to this one input value.In such cases i need to raise an exception and trigger an alert from UDF so as to inform the functional team.
    Now this entire procedure has to be implemeted for file to file scenario.
    I am not using any RFC nor do i need a BPM.
    Entire scenario should be excuted without BPM and RFC.
    Can anyone kindly suggest me as to how to proceed for this so as to trigger alerts
    from UDF.
    Thanks in advance
    Madhu

    HI,
    Please see the below links
    Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Alerts with variables from the messages payload (XI) - UPDATED - /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    Regards
    Chilla

  • How do I remove an email address from a workflow notification?

    Hi, I was wondering if you could help me please. Can you tell me how to remove an old email address from a workflow notification? The person's name and email address have already been removed from the list of Users in the Admin area, but some workflow notifications are still being sent to their email. Any ideas?
    Many thanks for your help.

    Thanks Liam, I'd previously looked at the also notify field and it didn't show any other email addresses. This time I clicked on the second of my two options in the Workflow Steps field, and then clicked back on the first one  again, and hey presto, two email addresses appeared! The offending email address has now been removed.
    Thanks again for your help. Cheers!

  • How to send email notifications from a workflow?

    I am having problems trying to get notification emails to work from a workflow. I have done the following:
    1.Checked notification to file is commented out in waveset.properties
    2.Set SMTP server and port setting in Configure > Servers > email template
    3.Set SMTP and port setting in Account creation notification template.
    4.I am then running the following workflow code in reconsiliation per user workflow:
    <Action id='0' name='Send Notification' application='com.waveset.provision.WorkflowServices'>
                          <Argument name='op' value='notify'/>
                          <Argument name='template' value='Account Creation Notification'/>
                          <Argument name='type' value='email'/>
                          <Argument name='toAddress' value='$(email)'/>
               </Action>I am currently getting an error:com.waveset.util.WavesetException: toAddress must be specified.
    Whatever I try I cannot get the email template to pick up the email address for each user from the workflow.
    If I add a valid email address into the "toAddress" in the Account Creation Notification email template, the error goes away and reconsile completes, but no email is sent.
    Could someone advise what I can look into to sort this and get it working.

    You're running into a common IDM bug. I've hit it a few times too. I'm not sure of the root cause (sometimes using notifications as you did works for me sometimes it doesn't) but there's a workflow sub-process called "Notify" that you might look into. It's got a few extra features (such as retries) that the direct provisioning class does not.
    Call it using something like the following action:
          <Activity name='Notify User'>
            <Action id='0' name='send notification' process='Notify'>
              <Argument name='template' value=Template'/>
              <Argument name="from" value="[email protected]"/>
              <Argument name='to' value='$(userView.global.email)'/>
            </Action>
            <Transition to='end'/>
          </Activity>

  • Invoking Web service from iProc Workflow Notification,OAF Changes?

    I have a Requirement to Digitally sign the Requisition before the requisition is finally approved. We have a role in iProcurement, 'Certifying Official' , who would be the final approver. When the 'Certifying Official' receives the notification and clicks the 'Approve' button , we make a call to a web service to get the Digital signature and display a new page with the Requisition information back to the user. The user can choose to either save or cancel the Signature , if they save the signature we will display a confirmation page and comeback to the workflow process .
    I was wondering what a better approach would be
    1) Cusomize the OA Framework (Extend the controller) notification page and call the web service to digitally sign the Requisition and forward the user to a new page. Based on the user selection, I will have to re-direct to the new page or comeback and execute the workflow.
    2) Customize Oracle workflow. If choose the workflow route, I was wondering If i would be able to display new pages based on the user action.
    3) Have a link on the Notification page.
    Thanks

    You can use either of these two options. Even with using option 2 you have to extend the controller to fetch the nextPage from the workflow using appropriate API's. So better use the first option by extending the controller, call the webservice and forward to the required page.

  • Can not send mail from PR Workflow to the approver

    Dear all,
    I have issues about send mail from PR Workflow to the approver.
    Now when user create PR and the corresponding user can receive the workflow items in SBWP.
    But no email from the user to approver.
    If I assign authorization SAP_ALL to the user that create PR. The approver can recieve the workflow item PR in SBWP and email to their mail
    Can you tell me about the authorization that can allow the user to send the workflow item PR in SBWP and email to the approver?
    Now user can send mail to external and internal mail and I also configured the mail server in SCOT and can successfully send a mail to users in SO01 by manually creating a message.
    Now the approver not receive any email but can receive a workflow item in SBWP
    Regards,
    Pannee

    Dear all,
    Thank you for all suppport, Now I can solve issues.
    Regards,
    Pannee

  • Call sync BPM from Async BPM - issue

    Hi,
    Outline: I'm trying to call a synchronous BPM from an asynchronous BPM in a PI 7.0 SP 14 system.
    When doing so i get the following error: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed.
    Now this is an oldie when searching the forums for this error message. I do however fail to see a solution to the problem.
    Note that the following notes (referred to in similar posts)
    - 710445
    - 718734
    - 830803
    are implemented since theese refer to older versions of PI.
    My scenario is very simple at present since i've startet from scratch again after getting the error. So what i do is:
    1) send async message to async BPM
    2) async BPM receives request
    3) async bpm transform request til sync_request.
    4) async BPM calls synchronous BPM
    5) sync BPM receives request and opens a async/sync bridge
    6) sync BPM maps request to response
    7) sync BPM sends response and closes async/sync bridge
    8) async BPM reveices sync_response
    9) async BPM sends sync_response to some application
    Now step 8 i never succesfully executed. Instead the error earlier described is triggered.
    For simplicity i use 1 and only 1 message type in all message interfaces. I have mapping between my synchronous interfaces outside of BPM.
    The synchronus BPM is executed just fine. The only issue is getting the reponse back to the asynchronous BPM.
    I am familiar with the following similar posts:
    - Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    - Problem in posting the data in the syncronous mode
    but find them to be of no use.
    Hope someone can help.
    Best Regards,
    Daniel

    Daniel Hans Engsig-Karup wrote:First you do not need any bridges if it is asyn/sync kind of a scenario in the second BPM. You need a bridge when the bpm has to wait with a sync call coming in and response in an async call. Essentially your BPMs (I donno why you need 2.. but let us go with 2)
    >
    >
    > 1) send async message to async BPM
    > 2) async BPM receives request
    > 3) async bpm transform request til sync_request.
    > 4) async BPM calls synchronous BPM
    > 5) sync BPM receives request                        
    (Remove this if you are calling a sync system here) and opens a async/sync bridge
    > 6) sync BPM maps request to response
    > 7) sync BPM sends response
    Remove this and closes async/sync bridge
    > 8) async BPM reveices sync_response
    > 9) async BPM sends sync_response to some application
    >
    VJ

  • Unable to send a message from Private workflow to Public Workflow!!!

    hi,
    I have one RequestorPrivate & Requestor Public workflow.
    The Requestor Private is triggered by an XML Event and performs some business
    operartions and based on a certain condition,
    it triggers Public workflow.
    My problem is, when i start my public workflow i'm specifying the xml variable
    to be passed.
    How i can caputure the same variable in the public workflow???
    1.Whether we need to get it while starting the public workflow??
    or
    2.WLPI itself handles this???I mean, public workflow automatically gets it???
    From the HelloPartner Example (that is bundled with Collaborate),
    is just passing the variable from private workflow , but not getting in the start
    node of the Public Workflow.From that i got the picture that WLPI handles this
    by itself???
    If this is the situation why i'm getting a NullPointerException, in my case when
    i tried to get the incomming message in my public workflow???
    Expecting an early response..
    Thanks in advance
    Sreekala

    Dear Pradeep,
    1. Yes, our SMS provider is "HTTP compatible"
    2. I kept Maximum length = 300 bytes, as our registered message with provider was bit lengthy and rest of the settings in the screen shot remains same.
    Issue still remains. Is there any thing do with " Device types for Format conversion " (scot-->settings-->Device types for Format conversion) ?
    Please suggest.
    Rgds,
    Durga.

  • Unable to send Asynchronus message to BPM from ABAP Object in ECC 700

    Friends,I am trying to send a aysnchronus to BPM from ECC. I have done the following:
    Implemented Note 1043195
    Scheduled the SAP_SOAP_RUNTIME_MANAGEMENT Jobs
    Created consumer proxy/logical port
    Tried to send message to BOM using proxy classes.
    Issue 1 :
    I can see the messages in SXMB_MONI with status "Released for Processing(WS)" But the status never changes.
    Issue 2 :
    I can See Failed messages in SOAMANAGER with Error as below.
    "A SOAP Runtime Core Exception occurred in method WSRM_CONV_FROM_STR_FORM_TO_TS of class CL_SOAP_WSRM_CRE_SEQU_RESP_NEW at position id 1 with internal error id 1009 and error text SRT: Wrong usage of SOAP Runtime classes: ("WSRM: Input value ->P0Y0M3DT0H0M0.000Sis an incorrect value") (fault location is 1 )."
    Can anyone help me how to solve the two issue's.

    Hi,
    Did you manage to solve this issue?
    Best Regards,
    Hristo

Maybe you are looking for