Skip to Content
author's profile photo Former Member
Former Member

logging change of sy-subrc field within WS 6.40

Hi all,

I've noticed that probably from WAS 6.40 there is a new feature regarding logging change of sy-subrc system field.

If you start an ABAP debugger and do some change of field sy-subrc there is an SM21 log entry generated like:

10:19:05 DIA 00 200 TESTUSER SEU_ A19 Field contents changed: sy-subrc -> 0

10:19:05 DIA 00 200 TESTUSER SEU_ A14 > In Program LZKONVU03 , Line 0218 , Result ?????????

Do you have some infomation whether other fieds are gonna be logged like this? Since which release of WAS is this possible? Are there any system parameter to influeance control of this behavior?

BR, Martin

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 27, 2005 at 10:28 AM

    Hi Martin!

    Since the old times all changes in debugger are logged in system log. Maybe display or filter features are a little bit different, but in general that's an old story.

    Also jumps to different abap-code line are logged... just if you think about an alternative...

    ... and the changes of sy-subrc after authority-check are marked especially in the log...

    Nice question, but I don't think that you will have success. Maybe archiving the log very early is an option 😊



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.