How to start BPM Process in Netweaver CE 7.1

Hi,
since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
The following systems are available in my Landascape:
- PI 7.1
- ERP 2005
- CE 7.1 EHP1 with ESR
Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
Greetings,
Manuel

Hi,
Netweaver BPM process can be started in two ways:
1. Using NWA by instantiating a process
2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
/people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
Hope this helps!!
Regards,
Arafat

Similar Messages

  • How to start BPM Process in Netweaver CE 7.1 from backend

    Hi,
    since 2 Month i am trying to use SAP Netweaver CE 7.1 EHP1. I found a lot about modelling of business process with process composer.
    In my company we are often using SAP Standard Programs/transaktions, thats why I want to start a SAP Netweaver BPM Process from SAP Backend. I think there are more than one way. May be someone can tel me one easy way.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event from Backend?
    Greetings,
    Manuel

    Hi,
    Netweaver BPM process can be started in two ways:
    1. Using NWA by instantiating a process
    2. Using a Web service which trigers the Start event of the Business Process. You may find this useful:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    Hope this helps!!
    Regards,
    Arafat

  • How to start BPM process WSDL from WDA

    Hello,
    I need to start BPM Process from SRM ECC with WDA; i have been through this link ;
    http://forums.sdn.sap.com/thread.jspa?threadID=1643425
    also followed the pdf named 'Triggering NetWeaver BPM Process from ABAP' provided from SAP but still stuck on some issues;
    - I have a WSDL in order to start BPM process and works fine as i successfully call it from EP Java AS with WDJ..
    - What i need to do is to trigg it from SRM Screens so i need to call this WSD from ECC, so;
        When i try to create a consumer proxy using external wsdl option, after putting in WSDL Url it throws an error;
    Exception occurred in communication framework:Error in HTTP Framework:405 Method Not Allowed http://xxx.local:50000/bpm/de
    mosapcom/dccategoryappbpm/StartCatAppSI
    Exception of class CX_SLIB_HTTP_FAIL
    And this is error from BPM Logs for the same action;
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    at com.sap.engine.services.webservices.espbase.server.additions.SOAPHTTPTransportBinding.getAction(SOAPHTTPTransportBinding.java:581)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.overwriteConfiguration(RuntimeProcessingEnvironment.java:894)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:469)
    Also i found this link : http://wiki.sdn.sap.com/wiki/display/TechTSG/(WSR)Problems-P06/
    But no help so far,
    So, is there anyone faced similar or the same issue? Any suggestion will be appreciated.
    Regards,
    Yasin

    Hi soujanya,
    BPM server is not open to the internet but only intranet, so i will copy the WSDL code for you,
    will be glad if you can help;
    - <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.koczer.com/StartCatAppSI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="StartCatAppSI" targetNamespace="http://www.koczer.com/StartCatAppSI/">
    - <wsdl:types>
    - <xsd:schema targetNamespace="http://www.koczer.com/StartCatAppSI/">
    - <xsd:complexType name="DetailsType">
    - <xsd:sequence>
      <xsd:element name="Category_ID" type="xsd:int" />
      <xsd:element name="Category_Text" type="xsd:string" />
      <xsd:element name="User" type="xsd:string" />
      <xsd:element name="Manager" type="xsd:string" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:element name="NewOperation">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="Details" type="tns:DetailsType" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="NewOperationRequest">
      <wsdl:part element="tns:NewOperation" name="parameters" />
      </wsdl:message>
    - <wsdl:portType name="StartCatAppSI">
    - <wsdl:operation name="NewOperation">
      <wsdl:input message="tns:NewOperationRequest" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="StartCatAppSISOAP" type="tns:StartCatAppSI">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="NewOperation">
      <soap:operation soapAction="http://www.koczer.com/StartCatAppSI/NewOperation" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="StartCatAppSI">
    - <wsdl:port binding="tns:StartCatAppSISOAP" name="StartCatAppSISOAP">
      <soap:address location="http://zerbpmts.koczer.local:50000/bpm/demosapcom/dccategoryappbpm/StartCatAppSI" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

  • How to start the process.

    I'm using CE 7.3 for BPM.
    I would like to start process from simple menu not using Process Repository.
    Does anyone know hot to start BPM process form menu ?
    Do I have to develop webDynro applicatin that calls web-services for staring the process ?
    Best regards,
    Koji Nagai

    Thank you for your reply.
    I understand how to start BPM process by using BPM API.
    But in my project, we need to minimize the developed objects.
    To use BPM API means to develope programs right ?
    If possible, I would to start BPM process without developing programs.
    Is there any way to start BPM process from menu without add-on programs.
    Best regards,
    Koji Nagai

  • 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.

  • Error starting BPM process in CE 7.2

    Hi Guys,
    I created a BPM process and deployed it on CE 7.2 server. When I try to start it from  Process Repository , I get following error.
    com.sap.tc.bpem.wdui.procstarter.procstarter.comp.ProcStarterComp$MyException: Error :Start event ID is null; Check if the necessary services are started
    Start Event and end event are defined.
    Any idea what this error is about.
    Thanks,
    Yomesh

    hi,
    how about other bpm process?
    if all are like this, you have to check the bpm service.
    Best regards,
    John

  • Start bpm process with attachment or note

    Hi All
    Is there any way to start BPM process and add attachment or note to it.
    My client requirement is that when the process is started requester should be able to add file or note.
    This note or file should be visible in UWL task (in section attachments or notes)
    Is there any way to do it using standard.
    I know that I can store note in context of BPM process but customer is really pushing for standard.
    Regards

    Not sure if the requester is in BPM or outside BPM.
    You can do this by keeping requester in BPM i.e. trigger BPM and give requester a task. (Dont think its preferred design).
    In UWL you can let user add a memo or attachment... Refer below doc
    SAP NetWeaver Business Process Management Resource Center
    -Abhijeet
    Edited by: Abhijeet on Dec 10, 2011 5:21 AM

  • How to start a process

    The process can be started from gobal creation activity in BPM 10g. I create an ADF or Java client application which can show the information of processes.
    How to start a process from java? For example, a user can click a button and then, one or more processes can be started.
    createProcessInstance in ADF is striked.
    Thanks a lot.

    Yes, I use PAPI in ADF and check the document in the web. But the code likes following is striked by jdeveloper 10g.
    session.createProcessInstance(processId, arguments)
    What I want to know is the code snippet which replaces "session.createProcessInstance(processId, arguments)"
    Then, the user can start new instance from an ADF application (with PAPI code).

  • How to start GP Process

    Hi.
    I created GP Process followed by tutorials but I don't know how to start this process.
    I read document and I knew start this GP process in GP Runtime.
    Is there other way to start GP Process ?
    (I don't want to use GP Runtime for starting GP Process)
    Regards, Arnold.

    Hi Arnold,
    you can find more information about GP APIs for starting a process in GP here:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/fcdf77fc6510b3e10000000a11466f/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/43/fcdf77fc6510b3e10000000a11466f/frameset.htm</a>
    For more details about APIs in general you can check the following link:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/dc00ba806b4176e10000000a11466f/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/43/dc00ba806b4176e10000000a11466f/frameset.htm</a>
    Regards, Petja

  • How to start/stop process flow from sql*plus?

    Hi,
    i know how to start a process flow via sqlplus_exec_template.sql, but i cannot find any information on how to stop (and rollback) a working flow from sql*plus. Any help would be appreciated.
    Greetings
    Christoph
    Message was edited by:
    ctrierweiler

    Hi,
    I've had a go.
    How should I interpret the results of list_requests:
    owner_owr@ORKDEV01> @list_requests
    ====================
    DEPLOYMENTS
    ====================
    Audit ID Status Name Date Owner
    2706 READY Deployment Fri Nov 11-NOV-05 10:49:59 OWNER_OWR
    11 10:46:37 CET 2
    005
    ====================
    DEPLOYMENT UNITS
    ====================
    Audit ID Status Name Date Owner
    2707 READY Unit0 11-NOV-05 10:49:59 OWNER_OWR
    ====================
    EXECUTIONS
    ====================
    Er zijn geen rijen geselecteerd.
    owner_owr@ORKDEV01>
    Whilst a process flow is executing the last query will list executions, all of which have status BUSY:
    owner_owr@ORKDEV01> @list_requests
    ====================
    DEPLOYMENTS
    ====================
    Audit ID Status Name Date Owner
    2706 READY Deployment Fri Nov 11-NOV-05 10:49:59 OWNER_OWR
    11 10:46:37 CET 2
    005
    ====================
    DEPLOYMENT UNITS
    ====================
    Audit ID Status Name Date Owner
    2707 READY Unit0 11-NOV-05 10:49:59 OWNER_OWR
    ====================
    EXECUTIONS
    ====================
    Audit ID Status Name Date Owner
    394512 BUSY PF_ONB01 04-MEI-06 09:11:12 OWNER_OWX
    395328 BUSY ONB:FULL_PREPARE 04-MEI-06 09:11:55 OWNER_OWR
    395324 BUSY PF_ONB01:ONB 04-MEI-06 09:11:55 OWNER_OWR
    owner_owr@ORKDEV01>
    As an aside, I will attempt to get rid of the READY deployment and deployment unit using deactive_deployment.sql
    Now, if I attempt to use deactivate_execution.sql on any of the executions with status BUSY I get:
    owner_owr@ORKDEV01> @deactivate_execution
    Voer waarde voor 1 in: 396136
    declare
    FOUT in regel 1:
    .ORA-20003: The object is not in a valid state for the requested operation
    ORA-06512: at "OWNER_OWR.WB_RTI_EXCEPTIONS", line 94
    ORA-06512: at "OWNER_OWR.WB_RTI_EXECUTION", line 774
    ORA-06512: at "OWNER_OWR.WB_RT_EXECUTION", line 90
    ORA-06512: at line 4
    owner_owr@ORKDEV01>
    So all the seems to remain is to use abort_exec_request.sql
    This does the job, but the script itself hangs.
    I think it has to do with the l_stream_id not being checked again after the initial IF. I think it should probably be part of the loop condition as it is again reset in the do_acks inside the loop.
    Cheers & thanks,
    Colin

  • How to start a process via web service with automatically run first screen

    Hi guys,
    we want to start the process via web service and skip the inbox presentation of the first human activity of the process. It means that the first activity should start automatically by clicking the link (wsdl link).
    Is there any opportunity to realize this thought?
    THX
    Regrads
    Phil

    Hi Phil,
    You may refer to my blog series for steop by step procedure on how to initiate a BPM workflow through webservice. Below are the links:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    /people/arafat.farooqui/blog/2010/06/23/introduction-to-sap-netweaver-bpm-part-5
    Hope this helps!!
    Regards,
    Arafat

  • Start BPM process from ABAP report. Need some investigations.

    Hi there!
    I have to start a BPM process from ABAP report. I found an article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d75b45-7fef-2b10-bc8e-c6012e0a9457?QuickLink=index&overridelayout=true and have done everything it describes but the process doesn't start.
    What I've done:
    1) Created a service proxy in SE80.
    2) Created a logical port in SOAMANAGER.
    3) Write a code to start a WebService in ABAP Report.
    But when I start a program nothing happens, no errors.
    What analysis I did:
    1) See logs and traces in SOAMANAGER - there is nothing appears after I start the report.
    2) Tried to test connection to my WebService in SM59 - the connection works, but it use a POST method instead of GET:
      Error: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    But I think it is OK and from the report it use a right method.
    3) Tried to delete a logical port - the error of communication problem appears. So it means that all settings are right.
    4) No logs in NWA logs
    My thoughts - if there is not any errors and no result, it can be because the user authorization. E.g. it tried to start a process by a user who doesn't have SAP_BPM_SuperAdmin role. But I can't find a way how to check what really happens. So I want to ask for a help, colleagues:).

    Dear Kirill Zhuklinets,
    Can you share your solution as i am facing the same error while trying to consume BPM webservice from SRM ECC
    Error Message from SRM ECC :
    Exception occurred in communication framework:Error in HTTP Framework:405Method Not Allowed
    Log from BPM Web service
    Error: process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    Please share your solution..
    Regards,
    Yasin

  • Start BPM process automatically

    Hi ALL,
    I have created a BPM process. I can start that process automatically from nwa -> Process controll.
    But I want to run the process automatically by a certain time interval. How can I do it.
    Can anybody help me.
    Thanks in advance
    Chandan

    Hi Chandan,
    I am not 100% sure if I understood you correctly, but with BPMN there comes a model element named Intermediate Timer Event which can be configured in two different ways using:
    an offset (e.g. 1 hour after the timer has been created)
    an expression  (e.g. ProcessContext.aDateOneEntered + 1 day)
    Nevertheless this still requires you to start the process by yourself, but it 'waits' at the timer until the offset or the expression has been reached. Thereby you can achieve that an interval is taken into account upon execution of the process.
    More information about events can be found in the documentation:
    Modeling Events
    https://help.sap.com/saphelp_nwce711/helpdata/en/47/61470236013df6e10000000a42189b/frameset.htm
    Hope that helps,
    Martin

  • 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?

  • Start BPM Process from ABAP with another User as GUEST

    Hi all,
    i would like to start the BPM Process by a webservice. It works if the user GUEST has the role BPM_SuperAdmin.
    My question is: How can i chance this user, who call the webservice starting the process. The user, who starts the process by calling the webservice should be my own user instead of GUEST.
    Thanks in advance.
    Regards,
    Christoph

    the last reply is regarding the configuration at consumer side.
    of course you have to configure at the service provider side to enable the logon ticket as acceptable authentication method.
    I checked at my side, i found the the service for triggering bpm is already configured to use id/pwd and logon ticket as authentication method.
    you can check in this way,
    CE nwa-> SOA  Management->Application and Scenario Communication-->Single Service Administration
    find your service, if you haven't assign any profile to your service, there will be only one configuration generate by system
    you can edit this configuration.
    go to configuration tab, select the endpoint, select security tab in the bottom tab list.
    change the setting there.
    Edited by: John Wu on Sep 10, 2010 7:29 PM

Maybe you are looking for