on 2021 Jan 29 7:04 AM
Hello Experts,
I am studying ABAP RAP framework.From reading blog post etc I know that CDS views are not capable of modifying records(as they are just views).I also know that we have to define behaviour for modifications(CRUD).
I am eager to know that as cds views has no capacity to modify records then at the time of modification does cds gets aside and who will came into picture ? Can we trace underlying mechanism ? Can we see underlying generated code,sql queries(this will be helpful us for debugging)
Thanks in advance.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
I'm not a RAP expert by any means but when it comes to updates, we are dealing with Business Object framework. We create behavior definition, behavior projection, use that weird EML language, and all that. You can debug the business logic that is written in classes, of course, but I'm confused why you'd need to debug the framework itself... In ABAP, we don't debug SELECT commands, they just work. We can use SQL Trace, for example, to see what's going on at the DB level but that doesn't qualify as "debugging".
Sorry, I'm just super confused by the question, to be honest. This was covered in Week 3 of openSAP course, might want to take a look: https://open.sap.com/courses/cp13/items/298pQnmqbosWdXaSRAtuS9
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for reply.Cleared some doubts with your reply.
As I am in learning phase, I am also lots of confusion what to ask exactly.But motiv for asking this question is as follows - Previously I was web developer in php. At that time when learning frameworks I observed that if we have through knowledge about framework then we can handle any complex situations.Means if we have handy of underlying code of libraries then its easy to debug.
By the way - for both SAP & ABAP RAP I am in learning phase and as cleared some doubts with your reply so now I am in mood to accept your answer and close this question.
gurudevendranath Ah, OK, non-SAP person. 🙂 Well, this is "we don't do that here" type of situation. While it is definitely possible to debug at least some frameworks in SAP (unsure about RAP stuff specifically) but it's like falling down the rabbit hole and should not be necessary. You need to know how to use the framework effectively, so I'd suggest to focus on that and not worry much about the inner workings at this stage. RAP is honestly not that clear even for some ABAP developers (like me), so be prepared for a steep learning curve. Important to remember that ABAP is not php. 🙂
User | Count |
---|---|
62 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.