Nagarro interview question

how to debug background. what is difference between abap memory and sap memory