Show TOC

/IWBEP/IF_MGW_SUB_REGISTRYLocate this document in the navigation structure

This interface acts as an instance of the subscription registry to get a list of subscriptions for a service based on the internal service name / internal service version.

Method GET_SUBSCRIPTIONS

This method is the entry point to get a list of subscriptions. It is up to the application logic to check whether the subscribed users are authorized to receive the notifications. The received list of subscriptions needs to be filtered accordingly.

This method internally calls QUERY_SUBSCRIPTIONS to get the subscriptions according to users.

Parameter

Description

IV_INTERNAL_SERVICE_NAME

Internal service name of service defined during registration, for example /IWFND/RMTSAMPLEFLIGHT.

IV_INTERNAL_SERVICE_VERSION

Internal service version of service defined during registration, for example 0001.

IV_COLLECTION

Name for which the business event is triggered.

RT_SUBSCRIPTIONS

Subscriptions which match the given parameters.

IT_USER_IDS

List of user IDs for which notifications should be sent.

IV_CHANGE_TYPE

Change type for which notification should be sent.

Method QUERY_SUBSCRIPTIONS

This method is the entry point to get a list of subscriptions for a set of users/roles. It is up to the application logic to check whether the subscribed users are authorized to receive the notifications. The received list of subscriptions needs to be filtered accordingly.

Parameter

Description

IV_INTERNAL_SERVICE_NAME

Internal service name of service defined during registration, for example /IWFND/RMTSAMPLEFLIGHT.

IV_INTERNAL_SERVICE_VERSION

Internal service version of service defined during registration, for example 0001.

IV_COLLECTION

Name for which the business event is triggered.

IT_PRINCIPAL_FILTER

List of users / roles for which notifications should be sent.

IV_CHANGE_TYPE

Change type for which notification should be sent.

RT_SUBSCRIPTIONS

Subscriptions which match the given parameters.