cancel
Showing results for 
Search instead for 
Did you mean: 

SAP RAP - Cross BO Scenario - Accessing Cross BO actions in Behaviour definition

issabella_martin1995
Participant
742

Hello all ,

I have a scenario where there is a RAP Managed BO [say BO1] and it is reading data from a table [ T1 ]. There is another unmanaged BO [say BO2] and it is having the same key . BO2 has lots of actions , and validations

Now I want to build an app sitting on BO1 from where I will be using the actions of BO2 .

Is it possible to declare in Behaviour definition that "Hey !! I am using BO2 , and these are the actions of BO2 i will be using " and project the same in the Projection BO of BO1 ???

I do have a workaround which I dont like much - which is

In the behavious def of BO1 , create the same actions , with same parameters [ as in BO2] but in the implementation part i will be callig the BO2 actions via EML ...


But am just curious if it is possible to..

Thanks

Subhant

View Entire Topic
sandeep_rs
Product and Topic Expert
Product and Topic Expert

Hi,

Your workaround approach is the current standard 🙂 Fiori Elements works mostly on one entity set (and its associations/navigations) so there is no standard way to call directly an action in the other unrelated entity!

Best Regards,

Sandeep

issabella_martin1995
Participant
0 Kudos

Thanks Sandeep for the clarification