cancel
Showing results for 
Search instead for 
Did you mean: 

Custom event not getting triggered for subtype

Former Member
0 Kudos

Hi Experts,

My requirement is to trigger a workflow when the status of Complaint is changed.I have done following things:-

a) Create a Z-BO extending Complaints(BUS2000120).

b) Add a custom event to it.

c) Relate the event with status in BSVW->Customer Settings.

Now the issue is -event is not triggered when the status of complaint is changed.What is missing here?

The status of object type and event is implemented.

Do i need to delegate also?

Please provide me some pointers.I am really stuck out here.

Thanks and Regards,

Rohit

Accepted Solutions (0)

Answers (3)

Answers (3)

surjith_kumar
Active Contributor
0 Kudos

Hi,

There could be a problem in delegation refer the [Link1|https://wiki.sdn.sap.com/wiki/x/8YBVAw] & [Link2|https://wiki.sdn.sap.com/wiki/x/JQD1Aw].

For event Problem, refer [Link1|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13503] [original link is broken] [original link is broken] [original link is broken];, [Link2|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e06f2480-02de-2a10-72af-eed9a513a6c6] & [Link3|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7219] [original link is broken] [original link is broken] [original link is broken];.

Regards,

Surjith

Former Member
0 Kudos

no replies

Former Member
0 Kudos

I think you can try with Delegation and also you need to associate the status profile with the document type which the functional consultant do.

Thanks

Arghadip

Former Member
0 Kudos

Hi Arghadip,

Thanks for the quick response.

I have tried the delegation.Still no use..

I am not clear with the second part-associate the status profile with the document type...???

Complaint transaction type has an associated status profile.This is what I am using in BSVW transaction and associating a Status from the status profile to the custom event.

Do i need to release the Custom Object Type and Object type component??

Right now the status is implemented..

Thanks and Regards,

Rohit

former_member193382
Active Contributor
0 Kudos

Hi Rohit,

write a user-exit and try to trigger the event when the status changes by defining the different possible status changes in the user-exit.

Regards,

Raj

Former Member
0 Kudos

Hi Raj,

That's the last option which i m thinking if nothing works.

Actually this is my first workflow development. So whatever tutorials were available on SAPTECHNICAL and help.sap.com, i had gone thorugh them.

http://help.sap.com/saphelp_crm60/helpdata/en/fb/135d6f457311d189440000e829fbbd/content.htm

http://saptechnical.com/Tutorials/Workflow/SChng/SChng.htm

I have followed all the steps.Still it is not working.

Just wanted to know if anyone else has tried this before?

Thanks and Regards,

Rohit