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

How to debug abap macros?

Former Member
0 Likes
9,566

Hi,

Can anyone tell me How to debug abap macros?

Thanks in advance.

-Selva

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,991

Hi,

We can't debug macros.

Regards,

Priyanka.

Hi,

We can't debug macros.

Regards,

Priyanka.

7 REPLIES 7
Read only

Former Member
0 Likes
3,992

Hi,

We can't debug macros.

Regards,

Priyanka.

Read only

Former Member
0 Likes
3,991

hi,

debugging macros is not possible.

rgds,

bharat.

Read only

Former Member
0 Likes
3,991

This is possible with the New ABAP Debugger using "ABAP Byte Code" under "Source Code Edit Control"

Read only

Former Member
0 Likes
3,991

Hi

As macro is consideared as command so sap does not allow to debugg macro.

Read only

Former Member
0 Likes
3,991

I forgot to mention that this feature is only available in SAP NetWeaver 7.0 EhP2 and higher.

Read only

0 Likes
3,991

Hi Rigel,

Understand it is a very old thread, but still could you please help me out with this? I tried to search for the option which you mentioned, but to no avail. I have SAP ECC 7.0.

Thanks in advance.

Read only

0 Likes
3,991

Hello Sr Rigel , you can actually debug only local macros ( defined locally) , those global can not, because they are internally executed by the system , for the information of all global macros are within the maintenance table TRMAC , here is is the logic that each macro internally.

Hola Sr Rigel, realmente puedes debuggear unicamente las macros locales (definidas localmente), aquellas globales no se puede, ya que son ejecutadas internamente por el sistema, para conocimiento de todos, las macros globales se encuentran dentro de la tabla de mantenimiento TRMAC, aqui se encuentra la logica que tiene cada macro internamente.

Example: trmac-name = 'BREAK' -> this is a global macro***

Regards!