cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a process report using BPM API, CE 7.3 in webdynpro?

Former Member
0 Kudos

HI,

Is there any API to display the process report using BPM API?  Is there any way to Monitoring and Managing the Processes using BPM api in java webdynpro? 

With Regards,

Srinivas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You can check out Building an Administration UI with the BPM API. You may need to have SAP NW 7.3 EhP1 for this.

Former Member
0 Kudos

HI Krishnan,

I am using CE 7.30 and that API is missing.  Thank you very much.  I could able to display the Active Process Definiton list using ProcessDefinitionManager and thought of displaying the running processes and the tasks but as the API is not there I could not go ahead.  I need to look around the BPEM tables as mentioned by Sandip in the thread http://scn.sap.com/message/13125593 (

How to find the table in CE database in which BPM information is stored.

).

Regards,

Adi

Former Member
0 Kudos

Hi Srinivas,

Best option is to upgrade to CE 7.3 EhP1. If that is not possible, I recommend that you should build your process dashboard using Visual Composer instead of reinventing the wheel. Check out

6 Sample SAP NetWeaver BPM 7.20 Dashboards implemented with Visual Composer on how to do it, Hope this helps.

Bala

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Krishnan/Adi,

I'd also suggest you read SAP Note Note 1383528 - NetWeaver BPM: Possible values for BPM DataSource fields - this explains the standard datasets and the valid values for critical fields which I am sure you will find useful in developing your reports.

And of course any Reporting Data Sources which you have added in Reporting activities of your process can also be used.

But I agree with Bala - the 6 sample apps are a really good guide to what is possible with Visual Composer.  Please note to use the NO_CONNECTION_REQD destination you may find it easier to create your reports from the web browser entry to Visual Composer.

Remember you can also extract the information to BW - but that is intended for more complex reports run on completed/cancelled process.

Regards,

Jocelyn

SB9
Active Participant
0 Kudos

Hi Jocelyn,

Can you please elaborate on NO_CONNECTION_REQD destination ? What we need to do create this connection and how is this used in VC ?

Thanks,

Soujanya

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Soujanya,

You don't need to create the destination - it is created automatically.

However you won't see it in the NWDS... only in the web browser entry for VC i.e. http://<host>:<port>/VC/freestyle.jsp

If you don't have source control (shared development) set up yet, an easy approach is to start the design of your reports in the web browser in the local development area.

Once you are satisfied the report is getting close to what you want, you can then export the model and load it up into a new and final development component in the NWDS and deploy from there.

So long as your BI Data Service was created in the web browser this approach works fine.

Regards,

Jocelyn

SandipAgarwalla
Active Contributor
0 Kudos

Srini

What you by mean by process report using API????

There are no out ofthe box KPIs given for BPM, however you can always build your own Dashboards for Process KPIs using the BPM APIs..

Additionally, you can use the 6 Visual COmposer Dashboards which were developed and available in SDN. These reports the process details from the BPM Datasources. Here is the link to get them and how to run them

http://scn.sap.com/people/radostina.kasova/blog/2010/03/16/6-sample-sap-netweaver-bpm-720-dashboards...

Hope this helps.

Sandip

Former Member
0 Kudos

Hi Sandip,

I have worked on the

Building a Task Worklist with the BPM API using the link

http://help.sap.com/saphelp_nw73/helpdata/de/77/2943a3456147d69cd637801d3b3f3d/frameset.htm and generated the task report for an particular user using webdynpro.  I am sharing the screen shot.

In the similar way I am try to display the list of processes in Webdynpro.  Is it possible.

I have tried the example provided by Radostina Kasova in VC.

Srinivas

SandipAgarwalla
Active Contributor
0 Kudos

It should be possible using the ProcessInstance Manager interface I believe. I havnt tried it, but looks deifnitive to me.

Did you try with the following

ProcessDefinitionManager. getActiveProcessDefinitions()

iterate over the set to get the ID of each active process

then, ProcessInstanceManager.getProcessInstance()

processinstance.getname()

I didnt try this in a java class, just made it up using the javadocs, but I think it should work..

Give it a try and let me know..