2008 Apr 22 11:53 AM
hi experts:
how to create instance when create event?
eg. I have a bor which key field is id, and has one attribute as name, and the event is 'test'
so when I call function to raise the event:
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
OBJTYPE = lt_objtype
OBJKEY = lt_objkey
EVENT = lt_event
in workflow builder, I bind EVTCREATOR_ to an instance object, and EVTCREATOR_ contains id and name, but now I can just get the value of id, can not get the value of name?
do I have to pass the value of name from container? I do not think so...
so my question is how can I directly get the the name via EVTCREATOR_? Now, I can just get parameter from event container, and can just get the key value from EVTCREATOR_, can not get the attribute....
many thanks
hi experts:
how to create instance when create event?
eg. I have a bor which key field is id, and has one attribute as name, and the event is 'test'
so when I call function to raise the event:
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
OBJTYPE = lt_objtype
OBJKEY = lt_objkey
EVENT = lt_event
in workflow builder, I bind EVTCREATOR_ to an instance object, and EVTCREATOR_ contains id and name, but now I can just get the value of id, can not get the value of name?
do I have to pass the value of name from container? I do not think so...
so my question is how can I directly get the the name via EVTCREATOR_? Now, I can just get parameter from event container, and can just get the key value from EVTCREATOR_, can not get the attribute....
many thanks
2008 Apr 25 9:50 AM
events are for a business object, when given a key they are instantiated, event-->workflow linkage mostly have a evt_object to a container of the same BO as the event in the WF definition.
For more info search the workflow forum