Very well explained! Thanks for your effort. Does even help me as an old ABAP developer to explore the new world of CDS. Greetings from Germany to India!
I have a ques we all know that we have 3 types of views BASIC which is based on DATABASE tables and composite which can utilize basic or composite itself and at last the consumption view, so in actual project we follow the same approach ?, coz I have seen in a project which is having 150+ views and its very difficult to analyze some of the views doesnt even consume these annotations!
Hi Ram, thankyou for great explanation. Can we always create our association without take any entry from association -- here join won't happen. And when we want joins we can use it in our select query as you explained. Is this a good practice or it doesn't matter?
Defining associations in ABAP CDS without triggering joins until explicitly required is generally a good practice. Associations describe relationships between entities but do not materialize into joins unless invoked in a query, improving performance and modularity. This approach avoids unnecessary joins, keeping queries lightweight and faster when the associated data isn't needed. Associations make CDS models reusable and maintainable, enabling consistency across queries. However, it may not matter if every query requires the associated data, as explicitly invoking associations repeatedly can become redundant. In such cases, directly including the join in the CDS view might simplify the design. Additionally, overuse of associations in queries can make them verbose, especially for complex relationships.
Thank you so much for your efforts👏 This is the best training video on CDS view. !!
You're very welcome!
This is one of the best trainings available for CDS . Thanks for your efforts. Hoping to gain more knowledge from you .
Thanks. Please share with others as well .
Thank you so much for this training. Best training video. Thanks!
Glad you enjoyed it!
Thanks!
"Hey, thank YOU! Your support means a lot to me! 😊"
You are welcome! Good job and keep going
Nice explanation in a simple way !!!! 😊
Thanks a lot 😊
Very well explained! Thanks for your effort. Does even help me as an old ABAP developer to explore the new world of CDS. Greetings from Germany to India!
Glad it helped!
Nice explanation in simple ways,Thanks
Thanks @Indian . Please share with other as well .
Nice explanation with sweet and clear
Thank you so much 🙂
I have a ques we all know that we have 3 types of views BASIC which is based on DATABASE tables and composite which can utilize basic or composite itself and at last the consumption view, so in actual project we follow the same approach ?, coz I have seen in a project which is having 150+ views and its very difficult to analyze some of the views doesnt even consume these annotations!
Hi Ram, thankyou for great explanation.
Can we always create our association without take any entry from association -- here join won't happen. And when we want joins we can use it in our select query as you explained.
Is this a good practice or it doesn't matter?
Defining associations in ABAP CDS without triggering joins until explicitly required is generally a good practice. Associations describe relationships between entities but do not materialize into joins unless invoked in a query, improving performance and modularity.
This approach avoids unnecessary joins, keeping queries lightweight and faster when the associated data isn't needed. Associations make CDS models reusable and maintainable, enabling consistency across queries.
However, it may not matter if every query requires the associated data, as explicitly invoking associations repeatedly can become redundant. In such cases, directly including the join in the CDS view might simplify the design. Additionally, overuse of associations in queries can make them verbose, especially for complex relationships.
Nice and simple explanation bro
Glad you liked it
Thank you for this video 🙂
My pleasure 😊
For this video code link is missing.
You may find here just search with CDS NAME :- github.com/ramniwas04/ALL-Other-Code-on-RUclips-Channel