cancel
Showing results for 
Search instead for 
Did you mean: 

Local consumption of business event in S/4HANA ABAP cloud

Devavrat
Explorer
0 Kudos
654

Could you please explain the below with Example. In My case I am using R_SalesOrderTP . But while implementing in through eclipse it is saying The use of Behavior Definition R_SALESORDERTP is not permitted. I came accrose one more question that as it is i am pasting here. 


"I came across the SAP documentation regarding local consumption of standard business events

https://help.sap.com/docs/abap-cloud/abap-rap/business-event-consumption?version=s4hana_cloud

And it was highlighted that the event to be consumed needs to be exposed in a C1 released RAP BO interface.

Now I am wondering, are all these events from the accelerator hub for s/4hana cloud based on RAP BO model? And if not, where/how could some of these events were defined/raised?

https://api.sap.com/package/SAPS4HANACloudBusinessEvents/event

Also, is there a way for us to find the behavior definition where the event was defined? Or for that we will need to have access to a live S/4HANA cloud system?"

Devavrat_0-1727413048257.png

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Martin_Müller
Associate
Associate
0 Kudos

Hello,

  1. yes events are based on RAP business objects.
  2. The corresponding behavior definition can be found using the SAP Object Type (SOT), which is the third last segment of the event type. The SOT is a development object which can be opened with ABAP Development Tools (ADT). Then the relation explorer will provide the desired information.
Pallava
Explorer
0 Kudos
Hi Martin,Thanks for the update however could you shed some light over this I couldn't get you here can you attach a screenshot denoting the SAP Object Type since I am unable to locate it.
Pallava
Explorer
0 Kudos
As of now I was able to locally consume business event belonging to sales order however for business partner the event is not C1 released which restricts local consumption. Have you faced similar issue ?