AMDP currently supports SQL-SCRIPT as language so ABAP code cannot be written in it.
No we cannot do so. We can set breakpoints by double clicking on the executable line
Open an AMDP class in the relevant ABAP project.
Position the cursor within the ruler (left bar) of the source editor at the line that contains the AMDP code (for example, SQLScript code) you are interested in.
Choose Activate AMDP Debugger from the context menu
Position the cursor within the ruler (left bar) of the source editor at the line that contains the AMDP code (for example, SQLScript code) you are interested in.
Choose Activate AMDP Debugger from the context menu
Code pushdown is concept to push the data intensive logic to DB level. CDS, AMDP can be used to achieve this.