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

Debugging a Macro

Former Member
0 Likes
711

hello all,

I have defined a macro using DEFINE macro_name ..... END-OF-DEFINITION. I would like to debugg this macro. Could anyone please tell me how to do this. Pressing F5 simply execute the macro. It is not going inside the macro.

Thanks in advance

Rekha

1 ACCEPTED SOLUTION
Read only

marina_plag
Explorer
0 Likes
595

Hi,

it is not possible to debug a macro. So it is better to use something else instead of macros (forms, function modules, includes...).

Regards, Marina

3 REPLIES 3
Read only

Former Member
0 Likes
595

Hi,

You cannot debug MACRO's and you cannot set any break points in the MACRO and debugger will not go into the MACRO.

It just treats it as a statement.

Reward if helpful.

Ankur

Read only

marina_plag
Explorer
0 Likes
596

Hi,

it is not possible to debug a macro. So it is better to use something else instead of macros (forms, function modules, includes...).

Regards, Marina

Read only

Former Member
0 Likes
595

HI

in SAP there is no way to put BREAK points for MACROS

in FM you can put the break points

<b>Reward if usefull</b>