Skip to Content

Raise an event from ABAP OO with a parameter that is an instanciated object

Jan 19 at 12:57 PM


avatar image


I have read the wonderfull WIKI ( ) and blog on workflow raise event with ABAP OO

However I still don't really know how to raise an event for class A with a parameter Class B ?

CALL METHOD lr_event_parameters->set


name = lv_param_name

value = lv_visit_date

In my event normally the parameter will be kind of IO_B type ref to B.

so that should be the name

What about the value is this the key only ? or should it be the SIBFLPOR ?

Can you tell me ?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Mike Pokraka Jan 19 at 02:14 PM

The WF engine will handle instantiation via the BI_PERSISTENT interface, so you need to supply a SIBFLPOR. When the object is needed, the WF engine will call (lpor-typeid)=>bi_persistent~find_by_lpor( lpor ).

So your code to fill an event parameter Order of type zcl_order would look something like:

event_parameters->set( name  = ‘Order’
                       value = value sibflpor( catid  = ‘CL’
                                               typeid = ‘ZCL_ORDER’
                                               instid = order_number ) ).
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Mike,

Many thanks for your answer.