raise events via RAP Events, pseudo code in behavior:
event RuleSetItemExecuted parameter ZASIS_EXECUTIONRESULT;
Must be (externally) raised in interpreter class. Since RAP Events can only be raised in behavior pool directly, BP needs static method to raise the event from outside, see:
https://help.sap.com/doc/abapdocu_816_index_htm/8.16/en-US/ABAPRAISE_ENTITY_EVENT.html
Then clients could listen to RAP event and further process it:
https://help.sap.com/doc/abapdocu_816_index_htm/8.16/en-US/ABENRAP_EVENT_HANDLER_CLASS_GLOSRY.html
https://help.sap.com/doc/abapdocu_816_index_htm/8.16/en-US/ABENMETHOD_FOR_ENTITY_EVENT.html
Would be a breaking change, since current event handlers based on zasis_if_event_producer could not be used anymore.
Optionally both mechanisms could be supported for some time.
raise events via RAP Events, pseudo code in behavior:
event RuleSetItemExecuted parameter ZASIS_EXECUTIONRESULT;Must be (externally) raised in interpreter class. Since RAP Events can only be raised in behavior pool directly, BP needs static method to raise the event from outside, see:
https://help.sap.com/doc/abapdocu_816_index_htm/8.16/en-US/ABAPRAISE_ENTITY_EVENT.html
Then clients could listen to RAP event and further process it:
https://help.sap.com/doc/abapdocu_816_index_htm/8.16/en-US/ABENRAP_EVENT_HANDLER_CLASS_GLOSRY.html
https://help.sap.com/doc/abapdocu_816_index_htm/8.16/en-US/ABENMETHOD_FOR_ENTITY_EVENT.html
Would be a breaking change, since current event handlers based on zasis_if_event_producer could not be used anymore.
Optionally both mechanisms could be supported for some time.