In this video we are going to use some techniques to Debug background jobs in ABAP. Follow me on Social Media: Facebook: / abapforgeeks Instagram: / abapforgeeks
There is a function module K_PLAN_WAIT_FOR_DEBUGGING that can be added into programs. You pass it two identifiers (we use program name and form, or class name and method) and it will loop up to 15 minutes. The function module K_PLAN_WAIT_FOR_DEBUGGING_CTRL can be used to control if K_PLAN_WAIT_FOR_DEBUGGING loops or not (by default not). If you have update access in debugging you can jump into it a change a value to exit the loop earlier similar to what the video showed.
Hi, most of the times we would not have authorization to edit values in debugging mode in production. Even if you have, I would not recommend to debug in Production. You have to make sure it would not cause any harm if you execute the program in Production. You have to be careful. Its better simulate the same issue in Dev and debug there. Thank you
Simply superb 🙌🏽
There is a function module K_PLAN_WAIT_FOR_DEBUGGING that can be added into programs. You pass it two identifiers (we use program name and form, or class name and method) and it will loop up to 15 minutes. The function module K_PLAN_WAIT_FOR_DEBUGGING_CTRL can be used to control if K_PLAN_WAIT_FOR_DEBUGGING loops or not (by default not). If you have update access in debugging you can jump into it a change a value to exit the loop earlier similar to what the video showed.
Good explanation, keep share your knowledge , which is useful for many people.also make videos on ABAP on Hana.
It's very helpfull. Plesae do more videos on ABAP on HANA.
Very helpful
crisp & clear explanation with a clean demo, thankyou sir!!
Thank you, very helpful
Helpful ! ♥️
Thanks and please also upload video to debug long running background jobs..
This would work for Dev environment. Would you use same technique for debugging in Pre-prod or prod as well?
Hi, most of the times we would not have authorization to edit values in debugging mode in production. Even if you have, I would not recommend to debug in Production. You have to make sure it would not cause any harm if you execute the program in Production. You have to be careful. Its better simulate the same issue in Dev and debug there. Thank you
Thanks nagebabu
How to run the same job in foreground