cancel
Showing results for 
Search instead for 
Did you mean: 

webdynpro and workflow

Former Member
0 Kudos

HI ,

developed one webdynpro component it seems like claim form.

When the employee save that entries in that form and submit it . it has to go to manager approval and he has to enter the some values like registration no etc.... How to send the webdynpro application in a mail to the manager. And there is one more issue. if the manager reject's that form it has to go to employee. Can you please guide in this issue? How to configure in portal to view the in ESS.

*Thanks in Advance.*

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Follow the below steps:

1. Create a business object to hold the data that you will passing when you click on the submit button.

2. Create an event that is supposed to trigger when you click on the submit button.

3. Inside the Onaction method of Submit use the FM "SAP_WAPI_CREATE_EVENT" that will trigger the event and inturn your workflow.

Hope this helps!

Regards,

Amarnath S

Former Member
0 Kudos

HI,

How to handle the webdynpro component in business object?

What is the process.?

Answers (2)

Answers (2)

Former Member
0 Kudos

help full suggestions.

Former Member
0 Kudos

Hi Sapabap229,

I think it would be the best if you can develop a model class which handle business logic including workflow handling and test it first. In web dynpro component, use this class as an assistant class and call to trigger workflow. By doing this you can test each parts of your code separately.

For workflow handling you can use FM as suggested or [ABAP class for workflow |http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e038cc2d-0cde-2a10-e28e-f50025578112]

Hope it helps!

Duy

Former Member
0 Kudos

thank's for the information.