Application Development 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: 

Workflows...Event Linkage doubt

Former Member
0 Kudos

Hi pple,

Good Morning.

Well I got doubt in Event Linkages.

I would like to know the difference between...

1) Activation of Event Linkage in Workflow Builder-Basic Data-<b>Start Events Tab-Activate Event</b>.

2) Using the Transaction <b>SWETYPV</b>.

Please help me in knowing the difference between these two.

Regards,

Raja Sekhar

1 ACCEPTED SOLUTION

ramki_maley
Active Contributor
0 Kudos

PFTC is one stop shop for defining your WF and activating it, much easier without wondering what entries need to be maintained in SWETYPV where you have to create the new entry yourself with the required values. Also SWETYPV is useful when you want to trigger a function module rather than a WF for an event.

Cheers,

Ramki Maley.

8 REPLIES 8

VijayasekarK
Active Participant
0 Kudos

Hi Raja ,

You can u both the ways either thru PFTC_CHG (Change WF Task) or tcode SWETYPV for maintaining the events. Transaction SWETYPV will be given only to WF Admins to monitor the status of event linkages for several Worflows at one screen.

Regards,

Vijay

Former Member
0 Kudos

HI,

Check the below link for documentation. Hope it is of some help to you.

http://help.sap.com/saphelp_47x200/helpdata/en/1e/8ce338b46c4950e10000000a11405a/content.htm

Regards,

Vara

ramki_maley
Active Contributor
0 Kudos

PFTC is one stop shop for defining your WF and activating it, much easier without wondering what entries need to be maintained in SWETYPV where you have to create the new entry yourself with the required values. Also SWETYPV is useful when you want to trigger a function module rather than a WF for an event.

Cheers,

Ramki Maley.

0 Kudos

Thanks pple,

Now I am clear of things around this.

Well, when I was reading, I came to know two types of Linkages.

1)Type Linkages.

2)Instance Linkages.

I am clear of Type Linkages. But I didnot understand anything in Instance Linkages.

Can anyone help me out in understanding the difference between these two?

Regards,

Raja Sekhar.

0 Kudos

Instance linkage referes to a specific instance of an object reference of a workitem. If you have a an async task with a terminating event (also probably a wait for event step), an entry in the instance linkage is created when the workitem is processed. The instance linkage is created with reference to the object key. When the event is triggered, the instance linkages ate checked to see if any async tasks are waiting for it, if so, it is completed and the associated WF proceeds to next step.

Cheers,

Ramki Maley.

0 Kudos

Thanks Ramki,

Now I am clear of Instance Linkages too. Thanks for making me clear over things.

Regards,

Raja Sekhar.

Former Member
0 Kudos

Hi,

I have created a subtype for object bus1006Business partner) and added a method(linked to a FM) to this Object type.The events (changed etc.) of this object type will be triggered by the application whenever there's a change.

A standard task has been created to handle the event and it calls the method added to the subtype(in effect a function module).

But I am currently facing a problem with this.Though the FM is getting called, it ends into a short dump 'Parameter Missing' (Manadatory).

The parameters are not being passed into the method...

0 Kudos

Sandeep,

Please start a new thread instead of continuing a closed thread with an unrelatred question.

Thanks,

Ramki Maley.