Skip to content

Consider changing eventing mechanism #67

Description

@MagPasulke

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions