Blogs

Jie Deng

Building a Composite Business Process from Scratch with SAP NetWeaver Business Process Management
Jie Deng SAP Employee 
Business Card
Company: SAP
Posted on Dec. 12, 2008 11:23 AM in Business Process Expert, Business Process Management, Business Process Modeling, Business Rules Management, Composition Environment (CE), SAP NetWeaver Platform, SAP TechEd, Web Dynpro

Subscribe.Subscribe
Print. Print
Permalink Permalink
Share

 

With this blog you will learn how you can sketch, design, build, deploy and run a composite business process from scratch with SAP NetWeaver Business Process Management. With the provided step-by-step guides and source coding, you are going to build an investment approval process which includes human tasks, SAP Enterprise Service and the integration with a decision table which is provided by SAP NetWeaver Business Rules Management.

 

What are the pre-requisites for implementing this composite business process?

 

Please install the trail version of Enhancement Package 1 for SAP NetWeaver Composition Environment 7.1.

 

What's the business scenario that you are going to implement?

image

This investment approval process includes:

Human tasks:

Enter Purchase Request

Approve Purchase Request

Purchase Order Confirmation

 

Automated Activities:

Create Purchase Order (Enterprise Service which is delivered by SAP)

Check Amount (Business Rule)

 

 

Which tutorials will guide you step-by-step to implement this scenario?

Following tutorials guide you step-by-step to implement this scenario:

 

Building a Composite Business Process from Scratch with SAP NetWeaver Business Process Management - Guide 1:

Exercise A: You are going to sketch the process diagram for the Investment Approval Process within process composer.  This process contains human activities, automated activities, events, and gateways. You are going to maintain the technical properties and make this process run in exercise B.

Exercise B: You are going to bring all process elements together to a running composite business process as well as execute this process as an end user.

 

Building a Composite Business Process from Scratch with SAP NetWeaver Business Process Management - Guide 2:

This guide explains how to modify an existing Web Dynpro Java user interface so that it can be used within a human activity that is part of an SAP NetWeaver BPM process. Web Dynpro Java is the first user interface technology that is supported in SAP NetWeaver Composition Environment 7.1 EHP1.

 

Building a Composite Business Process from Scratch with SAP NetWeaver Business Process Management - Guide 3:

This guide explains how to create a decision table within the rules composer and expose this business rule as web service and integrate it into business process. During the run time you are able to see how the business rule can control the process flow.

 

Which other information will be helpful for implementing this scenario?

If you want to also test the debugging functionality, please refer to SAP NetWeaver BPM - a sneak preview to process debugging

 

For more information regarding our SAP NetWeaver BPM component visit our main SDN page: SAP NetWeaver Capabilities - Business Process Management.

Jie Deng   Jie Deng is part of Product Management Team for SAP NetWeaver BPM in SAP AG Germany.


Comment on this article
Comment on this weblog
Showing messages 1 through 24 of 24.

Titles Only Main Topics Oldest First

  • Content file for Web Service generateData
    2009-11-04 08:33:25 Frank Schuler Business Card [Reply]

    Hello Jie,


    I was able to follow your so far very good blog until step D.2 where I tried to generate the data with the web service generateData. However this service asks for a file I do not know where to find.


    Thank you for your help in advance


    Frank

  • Web Service error
    2009-07-29 03:42:00 Vishavdeep Singh lohan Business Card [Reply]

    Hi Jie,


    I have tried to create a web service from a Rule Composer DC.After testing this web service i got following error.



    Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Client" Fault String: "Unable to process the request"



    with following XML content:



    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring>Unable to process the request</faultstring>
    <detail>
    <yq1:javax.xml.ws.WebServiceException xmlns:yq1="http://sap-j2ee-engine/client-runtime-error">Unable to process the request</yq1:javax.xml.ws.WebServiceException>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>


    Do you have a idea why I can't test the webservice?



    Thanks a lot for your help in advance,


  • Purchaserequest4 DC not found when using in consuming it in the BPM project
    2009-06-25 08:08:07 Naeem Khan Business Card [Reply]

    Hi Jie,


    I am following your tutorial. I have deployed a purchaserequest4 webdynpro project which is provided by you in the guide 1. The interesting thing is I do no find any DC when I go to reference it in the Process Composer Perspective. What is wrong with it??? I have tried to make a symple webdynpro project and saved it, deployed it, just to see whether any webdynpro DC in the process composer perspective, but I do not see any DC there.



    Can you please help me out??


    Regards,
    Naeem

  • Not able to build the "bpm160" guide 1
    2009-04-28 08:31:42 XAVIER PETIT SAP Employee Business Card [Reply]

    Unfortunatly, i am not succesful in building my
    bpm160 process (step 9 p 48)
    i got the message error "Build stopped due to an error: Constraint checking failed"


    I found also 2 errors at the investment approval process
    FIRST MESSAGE : " active pool "investment Approval Process" must have exactly one end or termination but any End Error Event
    SECOND MESSAGE : Active pool "Investment Approval Process" must have exactly one Start Event.


    have you any idea that could help me (sorry i am a real newbie


    thanks

  • problem with purchaserequest4.zip
    2009-03-03 08:34:11 XAVIER PETIT SAP Employee Business Card [Reply]

    Hi jie


    I have installed successfully the SAP NetWeaver Composition Environment 7.1 and I am trying to follow your tutorials (Guide 1)


    But ( as i am a newbie in SOA and BPM) i am lost with the point C (exercice B) when you specify that we have to extract file "purchaserequest4.zip" !
    i can't find this file and so i am locked at the moment
    could you help me ?
    Xavier Petit from SAP FRANCE (xavier.petit@sap.com)

    • problem with purchaserequest4.zip
      2009-03-03 22:39:55 Madhusudan Pallerla Business Card [Reply]

      Hi Jie,


      I tried to download the purchaserequest4.zip file from the link in your guide 1 but it is giving me an error. Could you please help me how I can download this document?


      Thanks in advance.


      Ram

      • problem with purchaserequest4.zip
        2009-03-20 02:19:12 Michael Meissner Business Card [Reply]

        Hi Jie,
        I managed to download the zip file "Building a Composite Business Process from Scratch with SAP NetWeaver BPM_Source Files.zip" but it seems to be damaged, when unpacking it says "unexpected end of file or unknown format". Could you mail it to me?


        Thanks in advance und Schönes Wochenende
        Michael Meissner

      • problem with purchaserequest4.zip
        2009-03-09 09:19:31 Birgit Heilig SAP Employee Business Card [Reply]

        Hi Ram,


        the link https://sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e06ca88c-79a6-2b10-d29e-ebd8a1e69279 to the ZIP file "Building a Composite Business Process from Scratch with SAP NetWeaver BPM_Source Files.zip" in the first guide works for me. It includes the "purchaserequest4.zip" file. While extracting the "purchaserequest4.zip" file, I got two warnings but they haven't blocked me.
        Please, note that the sources are provided as DCs. To import them, unpack the ZIP files to your local workspace and refresh your Development Infrastructure perspective.


        Please, let me know if you have still problems with the link.


        Regards,
        Birgit

  • Rules webservice error
    2009-02-10 02:40:36 Michael Kröper Business Card [Reply]

    Hi Jie,


    if I want to test the module4_exercise3 generated rules web service within the WS Navigator I got following error message:


    Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Client" Fault String: "Unable to process the request"


    with following XML content:


    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring>Unable to process the request</faultstring>
    <detail>
    <yq1:javax.xml.ws.WebServiceException xmlns:yq1="http://sap-j2ee-engine/client-runtime-error">Unable to process the request</yq1:javax.xml.ws.WebServiceException>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>


    Do you have a idea why I can't test the webservice?


    Thanks a lot for your help in advance,
    Michael

  • Incompatible expression type
    2009-02-08 22:14:24 Chan Jin Park SAP Employee Business Card [Reply]

    Hi, Jie


    Again, thanks for your effor for this. Execrise 2, Step 10 Add the human Activity to view the nofication to your process. step 15. Under Input Mapping,


    DO_InvestmentApprovalProcess/PurchaseOrder siad.
    Expected : PurchaseOrder, ns=http://demo.sap.com/bpm160_execrise_wd/PoNoitify.com


    Found : Purchase Order http://www.example.org/Approval process.


    Based on your screen shot, I am only see the screen Purchase Order http://www.example.org/Approval process.


    which I guess, Process Contet must be point out toe the http://www.example.org/Approval process,but somehow it points to a new crated bpm160_exercise.


    I wonder where I can fix this wrong expression.


    B. Rgds


    Chan Jin

  • Great blog! Problems in 7.1.1 beta
    2009-01-30 05:23:44 Rashad Dunn SAP Employee Business Card [Reply]

    Jie thanks for all the valuable learning points in the blog. Contrary to your instructions I tried your process in the 7.1.1 beta version and when the build option for the process is run the following error occurs:-
    Error: C:\Users\i047861\NWDSworkspace.jdi\LocalDevelopment\t2\18018A0000142E9A8DAFB5FD2ACF8B4B\default\logs\unittesting_postbuild.xml:128: Warning: Could not find file C:\Users\i047861\NWDSworkspace.jdi\LocalDevelopment\t\18018A0000142E9A8DAFB5FD2ACF8B4B\classes to copy.
    Is this as a result of not using the trial version or have I done something else wrong?
  • BPM160Exercise - Guide 2
    2009-01-16 05:54:00 Michael Kröper Business Card [Reply]

    Hi,


    if I want to import your Web Dynpro project "bpm160_excercise_wd" I got issues. The project is imported but the application- and componentsfolder are empty. Perhaps there is an problem with the provided source files. Can you please provide for bpm160_excercise_wd a sca file or give an instruction how to import this project.


    Thanks a lot,
    Michael

    • BPM160Exercise - Guide 2
      2009-01-21 01:28:56 Jie Deng SAP Employee Business Card [Reply]

      Hi Michael,


      Please follow the Instructions below to create this web dynpro project. You can also see the step-by-step instructions with detailed screen shots in Guide 1 (https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0886795-eaa0-2b10-7c97-d81b97372327 : step 1 Configuration --> C. Create Web Dynpro Project):
      1. Extract the Web Dynpro project to the path of your workspace (e.g: C:\workspace_beta20.jdi\LocalDevelopment\DCs\demo.sap.com)
      2. In NetWeaver Developer Studio choose window --> Open Perspective --> Development Infrastructure
      3. In the Component Browser View expand node 'Local Development' and 'MyComponents'. Select the node ‘bpm160_exercise_wd’ and with right mouse click to select ‘Sync/Create Project’-->‘Create Project’.
      4. After the project is created, you’ll be asked to switch to the Web Dynrpo perspective to view the Web Dynpro project. Please click on ‘Yes’ to switch to the Web Dynpro Perspective. You can also go to Windows --> Open Perspective --> Web Dynpro to open Web Dynpro perspective directly.


      If this Instructions does not work for you, please let me know.


      Kind Regards
      Jie Deng
      SAP NetWeaver Product Management BPM

      • BPM160Exercise - Guide 2
        2010-01-28 09:00:46 Julio Alberto Martinez Real Business Card [Reply]

        Hi it doesn´t work for me. I think the problem is root folder isn´t like _comp. It seems to be an wdpro application not in Software component an in NWDS the wdpro applications not within DC have disappeared
  • Confusion in Guide 1
    2009-01-15 03:34:32 Sumith Rajagopalan Business Card [Reply]

    Hi,


    This is a very interesting blog and guides. I'm a little confused in guide 1. In Exercise B, there is a mention of 'purchaserequest4.zip' file. How is this file created?


    Thanks,
    Sumith

    • Confusion in Guide 1
      2009-01-21 01:46:17 Jie Deng SAP Employee Business Card [Reply]

      Hi Sumith,


      'Purchaserequest4.zip' is a Web Dynpro Project which is already provided to you within the particular guide. You can download this source file in the chapter of 'Summary' (e.g in Guide 1 at page 1) or use the direct link:
      https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0886795-eaa0-2b10-7c97-d81b97372327.


      If you want to know in general how to create a Web Dynpro project which can be consumed by composite business processes (SAP NetWeaver Business Process Management, please refer to Guide 2 in my blog(https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20604ba3-87a6-2b10-ea8d-cb9f3ea8af8a).


      Kind Regards
      Jie Deng
      SAP NetWeaver Product Management BPM


  • Guide 1 for using BPM
    2009-01-12 06:55:35 Group APO Business Card [Reply]

    Excellent blog!


    But I cannot open Guide 1 - is the file 'damaged'?


    Regards,


    Bob Austin.

    • Guide 1 for using BPM
      2009-01-21 01:49:42 Jie Deng SAP Employee Business Card [Reply]

      Hi Bob,


      the file is not damaged. You should be able to open this Guide 1.
      Please also try to open the Guide 1 with the following direct link:
      https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0886795-eaa0-2b10-7c97-d81b97372327


      If this still does not work for you, i'll email you the document.


      Kind Regards
      Jie Deng
      SAP NetWeaver Product Management BPM

      • Guide 1 for using BPM
        2009-03-04 13:09:19 Jeroen Jansen Business Card [Reply]

        Dear Jie,


        I also get a error message when opening the zip file: it seems to be damaged. I tried to download it from https://sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e06ca88c-79a6-2b10-d29e-ebd8a1e69279


        Could you please e-mail me the zip file instead?
        jeroen.jansen@kadaster.nl


        Kind regards,


        Jeroen Jansen

        • Guide 1 for using BPM
          2009-12-06 15:36:42 Alejandro Sierra Serna Business Card [Reply]

          Hi Jie!


          I have your guides and they seems to e very useful but I my wsdl for the PurchaseOrder
          CreateRequestComfirmationIn doen´t seem to work for me...


          When I deploy it and run it in my web service navigator it doesn´t show all the data fields and then it show no result but an error...


          I'm trying to download the files again but neither of the links work for me any more!
          https://sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e06ca88c-79a6-2b10-d29e-ebd8a1e69279


          http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0886795-eaa0-2b10-7c97-d81b97372327


          I don't know where can I find the zip file...


          Could you please e-mail me the zip file?


          Cheers!
          Alejo.


Showing messages 1 through 24 of 24.