cancel
Showing results for 
Search instead for 
Did you mean: 

What is the significance of creating an implementation class for a Behavior projection in SAP RAP?

SachinArtani
Participant
0 Kudos

Hi experts,

I noticed that for the behavior projection of manage sales order v2 RAP app i.e. C_SALESORDERMANAGE, there is an implementation class maintained and certain actions are defined below. If there are already actions defined in R_SALESORDERTP which are also visible in UI app, why do we need to define actions in projection view and also create another implementation class there?

SachinArtani_0-1711712272835.png

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Ramjee_korada
Active Contributor

Hi,

This allows specific functionality to be implemented at a specific projection layer but is not required for other projections. 

 Actions and Functions in Projection Behavior Definitions 

Best wishes,

Ramjee Korada

SachinArtani
Participant
0 Kudos

Hi @Ramjee_korada, Thank you for your answer. With that, I understand that for a single data model, we create multiple projections with multiple behavior projections where we could have projection specific actions and we can expose those projections to make multiple end applications serving different actions.

This approach would reduce the overhead of creating many actions in a single app and then hiding specific actions by creating variants of the main Fiori app.

Please correct me if I am wrong here. Also, don't we project the actions we create in Behavior Projection? Like "use action setMaterialText"?

Ramjee_korada
Active Contributor
Your understanding correct including the last point.

Answers (0)