cancel
Showing results for 
Search instead for 
Did you mean: 

How to Initiate the Workflow from Java webdynpro?

Former Member
0 Kudos

Hi All,

I am developing Customized WD application for ESS, which in turn having integration with Workflow.

Now How to Initiate the Workflow coding part in Webdynpro Development.

Through Adaptive RFC Model, i created model using sap_wapi_start_workflow RFC

Can anybody provide the sample code on this!!!

What are the stpes i have to follow to this Workflow Initiation from WD Java..

Thanks In Advance

Krishna

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I suggest you to create a bapi and initiate the workflow with abap code. So, in webdynpro you only need to call that bapi with the necessary parameters!!

hope it helps

PD: Remember that for webdynpro effects a bapi is a function module with the remote call attribute activated.

Former Member
0 Kudos

Hi Alejandro,

Thanks for reply...

I Created a balnk scrren and give to my Workflow person, he created respective Workflow Items for that screen, what i am asking,coming to Coing part in Webdynpro, how i am going to initiate?

You are telling that workflow coding part has to create from ABAP side,if i want to trigger from Java side with Standard WAPI, how i am going to proceed...

Please shoot some inputs on this issue,....

Thanks In Advance

Krishna

chintan_virani
Active Contributor
0 Kudos

Krishna,

What Alejandro is mentioning that create a RFC which accesses you workflow on ABAP end. At your Java side just make the call the BAPI.

So you need a BAPI say ZMYBAPI which accesses your ZWORKFLOW. Now on Java side create a WD project which accesses ZMYBAPI.

For information on how to connect to a BAPI please refer this [link|https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#15]

Chintan

Former Member
0 Kudos

Hi Chintan,

I appreciate if you could help me in the same kind of problem.

Here i have a scenario to develope a WEBDYNPRO IVIEW which is an eform in our scenario. Once the employee click submit button on eform it has to trigger the workflow. Lets say we have a couple of fields on eform which have to be carried with the workflow to the managers approval.

I have some basic knowledge to develope an IVIEW and not so good at WORKFLOW.

Please help me in this scenario....

Former Member
0 Kudos