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: 

Workflow Event enabling and Linkage

Former Member
0 Kudos

Hi,

I need to enable the WF Expired Qualification from the event CREATEDWITHVALIDITY of Object BUS7019.

I go to PA30, create a Record for a PERNR in IT0024 with and ENNDA. I debug the transaction and see only Event CHANGEDSUBPROFILE of BUS7030 getting triggered.

How do I trigger the event CREATEDWITHVALIDITY of Object BUS7019?

Please suggest.

Thanks,

Suryakiran D.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Please check in T779X.

It should have the entry for BUS7019 and event CREATEDWITHVALIDITY.

Hope it helps.

Regards,

Shashank

12 REPLIES 12

Former Member
0 Kudos

Hi,

Please check in T779X.

It should have the entry for BUS7019 and event CREATEDWITHVALIDITY.

Hope it helps.

Regards,

Shashank

0 Kudos

I tried creating the Entry in T779X, but I need to give the Activity and the Function Module. What should be in the FM?

Thanks,

Suryakiran D

0 Kudos

Hi again,

Please check the entry for BUS7030 for which it is raising the event and create the similar entry.

Hope it helps.

Regards,

Shashank

0 Kudos

The Entry for BUS7030 is present in T779W, not in T779X.

Also the FM used is "HR_EVENT_WF_SUBPROFILE_DEFICIT" which has code hard coded to use BUS7030. So, I think, I cannot use the same FM again for BUS7019.

Please suggest.

Thanks,

Suryakiran D.

0 Kudos

Hi,

I think the same.

Please try creating the entry in T779W with FM

HR_EVENT_DEVELOP_SUB_PROFILE

Hope it helps.

Regards,

Shashank

0 Kudos

But even this FM HR_EVENT_DEVELOP_SUB_PROFILE has code hardcoded to use BUS7030.

Icreated enty in T779X with Object and Event, without giving the FM. The PA30 went for a dump.

Please suggest.

Thanks,

Suryakiran D.

0 Kudos

You will have to give the FM name.

HR_EVENT_DEVELOP_SUB_PROFILE can be used with BUS7019 also.

Please check. T779X can have multiple entries for same FM.

Regards,

Shashank

0 Kudos

Hi,

Even if I give BUS7019 and the FM as HR_EVENT_DEVELOP_SUB_PROFILE, the FM uses BUS7109, but the event is always CHANGEDSUBPROFILE which BUS7019 doesn't have. I want event CREATEDWITHVALIDITY to be triggered.

Please suggest.

Thanks,

Suryakiran D.

0 Kudos

Hi,

I checked that FM. internally it raises CHANGEDSUBPROFILE

only.

use FM

HR_EVENT_Q_1001_B032

it raises the required event CREATEDWITHVALIDITY.

This will certainly help.

Regards,

Shashank

0 Kudos

I culd debug PA30 and see the FM SWE_CREATE_EVENT executing with BUS7019 and event CREATEWITHVALIDITY.

But, I dont see any workflow getting started in SWI14.

Please suggest

Thanks,

Suryakiran D.

0 Kudos

Can you see the event triggered in SWEL after you do PA30 with the receiver as your workflow?

If no, then the starting event may not be activated in your workflow.

If yes, then you will have to use Workflow Dignosis SWUD.

Hope it helps.

Regards,

Shashank

P.S. did you try the FM i suggested in my previous post?

Did you create the entry in T779X with that FM?

0 Kudos

The Starting Event is Activated both in SWETYPV and in WF definition. But still, I dont see the Event triggered in SWEL.

I created the Record in T779X and used the FM HR_EVENT_Q_1001_B032. The PA30 comes to this FM, call the SWE_CREATE_EVENT properly. But, the WF doesn't get triggered.

Please suggest.

Thanks,

Suryakiran D