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

Classic Debugger limitations - Explanation requested

Former Member
0 Likes
505

Hello Experts,

I'd really appreciate if one can explain me (in its true sense) what is meant by the following statements:

With the classic debugger it is generally not possible to analyze prgrams in debugging mode that run in ABAP processor unit and are called recursively from subordinate unit. For example, a conversion exit cannot be analyzed using this debugger if it runs within a WRITE statement - The debugger in this case is called recursively from within itself.

I am not able to understand what is meant by subordinate unit here and also how can I reproduce this in the system. Meaning what statements should I execute in the system to see it happening before my eyes.

Thanks a lot!

Amiya

2 REPLIES 2
Read only

rajesh_paruchuru
Active Participant
0 Likes
445

>

> Hello Experts,

>

> I'd really appreciate if one can explain me (in its true sense) what is meant by the following statements:

>

> With the classic debugger it is generally not possible to analyze prgrams in debugging mode that run in ABAP processor unit and are called recursively from subordinate unit. For example, a conversion exit cannot be analyzed using this debugger if it runs within a WRITE statement - The debugger in this case is called recursively from within itself.

>

> I am not able to understand what is meant by subordinate unit here and also how can I reproduce this in the system. Meaning what statements should I execute in the system to see it happening before my eyes.

>

> Thanks a lot!

> Amiya

REPORT  zytest1.
DATA:
  w_matnr TYPE matnr VALUE '1234'.

WRITE : w_matnr.

Place a break point at the WRITE statement, debug the code(F5) in both classic and new debuggers and the see the difference for yourself.

- Rajesh.

Read only

0 Likes
445

Rajesh,

That was wonderful! Thanks a lot. I was able to see the difference and generate exception RPERF_ILLEGAL_STATEMENT

I have more questions. Why the followingpiece of code doesn't work like yours. I was trying that piece of code.

DATA v_general TYPE num10 VALUE '0000154633'.
WRITE v_general USING EDIT MASK '==ALPHA'.

..and does the subordinate unit mean the 'Kernel' here?

Thanks for you response!

Amiya