cancel
Showing results for 
Search instead for 
Did you mean: 

Human Activity in SAP PO BPM

Former Member
0 Kudos

Dear Experts,

Can we use human activity in SAP PO BPM?

Is it possible to use SAPUI5 page to cater this human activity?

Is it possible to use Java WebDynpro page to cater this human activity?

If not complex pages, atleast can we use simple human interation page that contains just the subject, description, approve/reject buttons?

We have SAP PO 7.4 SP9.

Thanks.

- Saravanan N

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Yes Saravanan,It can be done using Java Webdynpro.

You can have approve/Reject buttons or any other button according to the requirement.

Refer the below document

Former Member
0 Kudos

Thank you Raghuraman.

When I followed the steps in the link you provided, at the last step for UI Generation [ after step 22 ], I get the error:

Task ui generation could not create component.

See error log for details.

How to check what has caused the error?

- Saravanan N

former_member186851
Active Contributor
0 Kudos

See the log and please post the exact error.

I guess problem with JDK

Former Member
0 Kudos

This is the error I can find in the NWDS .metadata folder's log file. I can't figure out the issue from this log.

!ENTRY org.eclipse.core.resources 4 2 2015-07-23 13:40:48.157

!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

!STACK 0

java.lang.NullPointerException

at com.sap.ide.eclipse.s2x.editor.ResourceDeltaVisitor.visit(ResourceDeltaVisitor.java:86)

at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)

at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)

at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)

at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)

at com.sap.ide.eclipse.s2x.editor.XLFChangeListener.resourceChanged(XLFChangeListener.java:27)

at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)

at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)

at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313)

at org.eclipse.core.internal.resources.Workspace.checkpoint(Workspace.java:367)

at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:265)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)

at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:308)

at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:92)

at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:220)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)

at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

former_member186851
Active Contributor
0 Kudos

Hi,

You get this error when you try to deploy the process?

Former Member
0 Kudos

No, i get this error when i tried to create webdynpro component. When I followed the steps in the link you provided, at the last step for UI Generation [ after step 22 ].

- Saravanan N

former_member186851
Active Contributor
0 Kudos

In the component select ->Webdynpro component and try once.

Former Member
0 Kudos

Raghuraman,

This issue got solved when we opened firewall config for PO server port 5xx13 / 5xx14 / 5xx04.

- Saravanan N

former_member186851
Active Contributor
0 Kudos

Fine Nagaraj,Please close the thread

Former Member
0 Kudos

Raghuraman,

In the lane's [ also human activity's ] potential owner, it could not list any user in the system. Any idea what the reason could be?

- Saravanan N

former_member186851
Active Contributor
0 Kudos

please post the screenshot..you will get it in the properties

former_member186851
Active Contributor
0 Kudos

you should assign as per the screenshot below.

Select the potential owners check box and give the owner.

And users should be created using userprofile.

Former Member
0 Kudos

Thanks. Thats what exactly am doing.

What I mean is:

In the Potential Owners --> Choose One or more UME Principles --> Choose --> Principles popup, I could not fetch any userid / role or group.

The userid I am using has got spml read/write permission as well.

- Saravanan N

former_member186851
Active Contributor
0 Kudos

Nagaraj have you configured "SAP as JAVA" system in Preferences.

Former Member
0 Kudos

Yes, SAP AS Java server is configured. I have already deployed the BPM without the human activity.

- Saravanan N

former_member186851
Active Contributor
0 Kudos

Apart from that no other settings Nagaraj.

You are getting an error or no user is displayed.

Former Member
0 Kudos

No error in the NWDS UI, just no user is displayed.

But in the NWDS logs, I find this error shown below. But as mentioned earlier, I have already configured SAP AS Java and deployed the BPM without human activity. Now, I am trying to add the human activity and trying to fetch the list of users to assign, but no user is fetched:

!ENTRY org.eclipse.ui 4 0 2015-07-24 15:36:42.166

!MESSAGE Unhandled event loop exception

!STACK 0

java.lang.NullPointerException

at com.sap.enginemanagement.SAPAbstractSystem.getJavaInstanceHost(SAPAbstractSystem.java:256)

at com.sap.glx.ide.share.identity.ui.SAPSystemHelper.createServerInfo(SAPSystemHelper.java:231)

at com.sap.glx.ide.share.identity.ui.SAPSystemHelper.getDefaultServerInfo(SAPSystemHelper.java:196)

at com.sap.glx.ide.share.identity.ui.PrincipalSelectorDialog.askForCredentials(PrincipalSelectorDialog.java:758)

at com.sap.glx.ide.share.identity.ui.PrincipalSelectorDialog.doRequest(PrincipalSelectorDialog.java:647)

at com.sap.glx.ide.share.identity.ui.PrincipalSelectorDialog.doSearch(PrincipalSelectorDialog.java:638)

at com.sap.glx.ide.share.identity.ui.PrincipalSelectorDialog.access$300(PrincipalSelectorDialog.java:80)

at com.sap.glx.ide.share.identity.ui.PrincipalSelectorDialog$5.widgetSelected(PrincipalSelectorDialog.java:234)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

etc...<Truncated>

former_member186851
Active Contributor
0 Kudos

Any looping selected in any of the activity Nagaraj?

Former Member
0 Kudos

Raghuraman,

Yes, this human activity is one of the activities that are inside a for loop. Please note that the error message I posted above is at design time and not runtime.

- Saravanan N

Former Member
0 Kudos

Hi All,

I could not figure out what the issue is. As a workaround, I passed the "Potential Owner" in the data and assigned it dynamically by - Use an expression.

Thank you Raghuraman and Maximiliano for your inputs.

- Saravanan N

former_member186851
Active Contributor
0 Kudos

Nagaraj try assigning potential owner to entire process or to the whole lane..

Former Member
0 Kudos

Raghuraman,

I tried that as well, but didn't work. Same error.

- Saravanan N

Answers (1)

Answers (1)

asdasd_asdasd
Active Participant
0 Kudos

Hi,

Is it possible to use SAPUI5 page to cater this human activity?

Yes.

Is it possible to use Java WebDynpro page to cater this human activity?

Yes.

If not complex pages, atleast can we use simple human interation page that contains just the subject, description, approve/reject buttons?

Yes.


Examples:

SAPUI5:

WDJ:


To know that technology should be used check this:

Best regards.