Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Does anyone know why we cannot debug macros?

Former Member
0 Likes
470

Hi folks,

I know that we cannot debug macros. But I'd like to know why? Is there some kinda technical limitation, or is this something that SAP has not bothered to look at, so far?

I mean, if you can debug ABAP programs, subroutines, function module, etc, it would only make sense that we should be able to do the same thing for macros,, even if they are invoked, compiled, put together, or what have you, during the run time. After all, they are just a collection of executable lines of code.

Thanks for your clarification

2 REPLIES 2
Read only

FredericGirod
Active Contributor
0 Likes
396

As I understood, macro is read as a command, so SAP doesn't enter in the detail of the command

Read only

anup_deshmukh4
Active Contributor
0 Likes
396

In The first pass of interpration for the program the Call to the macro's are replaced (i.e the line at which the marco is invoked the actual macro body is inserted )the actual macro defination ie. its not a call is total replacement so probably we can not bebug macro.