Skip to Content
0
Former Member
Dec 27, 2007 at 10:37 AM

how to trigging a object event which the object type has two key fields

19 Views

Hi,kind guys

I use the object type QMSM about qualification notification task,it has two key fiedls,qualification notification number and task number (can display by t-code -QM03), I want to trigging the event 'create' in BOR 'QMSM ' by function SWE_EVENT_CREATE(or SAP_WAPI_event_create), but it only has one object key ,

example:

CALL FUNCTION 'SWE_EVENT_CREATE'

EXPORTING

OBJTYPE = OBJTYPE

OBJKEY = OBJKEY " only one key

EVENT = EVENT

but the BOR object 'QMSM' has two keys,so it cann't be trigged rightly.

thanks for any help.