cancel
Showing results for 
Search instead for 
Did you mean: 

How to integrate a cancellation block in an application block

Former Member
0 Kudos

Hi all,

A employee can apply for medical leave. When he has applied the medical leave, it will route to the Approving Officer for approval. Once, the Approving Officer approved, the process is terminated.

However, the employee can also withdrawal his medical leave (if he formerly has applied and that the Approving Officer has not approved the medical leave). if he withdraw, the application process is terminated.

How do I create this in a single workflow in GP ? or it have to be in two process in the GP?

can advice?

Thanks

Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks all. I decided to use "You Can"

Former Member
0 Kudos

Hi,

Try to design your process with an additional block and use Business Logic standard CO to determine the workflow way.

Reward points if itu2019s helpful.

Former Member
0 Kudos

Hi,

Is there example on how to invoke the business logic implementated in web services where the result state status can be send back to GP ?

Thanks

Former Member
0 Kudos

Hi,

Goto Guided Procedures -> Design Time -> Create Callable Object -> Process Control -> Business Logic

You need to define an input parameter and an output parameter.

Next, you need to configure the rules.

Ex: Adding result states based in input parameter then defining the workflow way to another block.

In your case you need to create an action and a callable object of type Web Service and map the output of web service to input of Business Logic CO.

Reward points if itu2019s helpful.

Former Member
0 Kudos

We just return the value ? Do we need to import the GP API into the webservice?

because like Web Dynrpo, we need to implement the interface of the GP before we can pass the value back.

Do we need to do that in webservice ?

Former Member
0 Kudos

No, you don't need import GP API into webservice.

Check this document: http://help.sap.com/saphelp_nwce10/helpdata/en/44/46a71c70e20597e10000000a155369/content.htm

Note: If you WS require authentication donu2019t forget to read this document:

http://help.sap.com/saphelp_nwce10/helpdata/en/f8/7889ce12924273a379c1c590675573/content.htm

Reward points if itu2019s helpful