Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How do the Program exits in Workflow work?

vsubbakrishna
Participant
0 Likes
2,236

hi all,

there is a Program Exit available in Workflow tasks...and it says

You can execute additional methods that you have programmed when predefined events occur. Add the ABAP classes that contain these methods. The ABAP classes added must support the IF_SWF_IFS_WORKITEM_EXIT interface.

now i want to use this program exits in my workflow...so that this program exit(which is basically a class) will take input from Workflow container and gives back processed data <b>back to workflow</b>.

so how to go about with these Program exits.

thanks,

subba

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,052

Hi Subba,

To my knowledge these are like User exits which helps you to add certain features to the activity which is already been created. This would require if you are doing changes to already created Activity or step whatever.

In your case instead of creating a method you could create a task to which you can pass values and get the processed datas from them instead of creating a class and a method which makes your process complicated.

Hope this should have helped you.

Thanks,

Prashanth

4 REPLIES 4
Read only

Former Member
0 Likes
1,053

Hi Subba,

To my knowledge these are like User exits which helps you to add certain features to the activity which is already been created. This would require if you are doing changes to already created Activity or step whatever.

In your case instead of creating a method you could create a task to which you can pass values and get the processed datas from them instead of creating a class and a method which makes your process complicated.

Hope this should have helped you.

Thanks,

Prashanth

Read only

0 Likes
1,052

hi prashanth/Tripathy,

prashanth: i definitely take ur suggestion....

tripathy: the pdf was very useful....but do you have any examples where in we can utilize the program exit.

thanks,

subba

Read only

vsubbakrishna
Participant
0 Likes
1,052

Answered!!