Skip to Content
0
Former Member
May 14, 2014 at 04:16 AM

CRMV_EVENT for a specific transaction type

147 Views

Hey all,

I'm trying to define a one order event on save with CRMV_EVENT.

At the moment, I have one defined as:

Trans Category: Bus2000126 (Business Activity)

Execution Time: 80 (Save Document)

Priority: 999

Object Name: ORDERADM_H

Event: SAVE

Attribute: <*>

Function: ZMY_FUNCTION_MODULE

x Perform function for Doc header

Call Callback: C Just Once per Transaction.

This works for my transaction type - which is an business activity (i.e. it triggers my function module)

but it seems to be triggering for all order saves, not just for activities.

For example if I create a new order object type TA and bol save, it still triggers my function.

Is it possible to configure an on save CRM event to trigger only for a particular process type? Eg. only trigger on activities with proc type 'Z111'?

Kind regards,

Dean.