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

Monitoring Log for Debugging?

josgabriel_martnez
Participant
0 Likes
3,970

Hi all,

There is a trx to later trace or monitoring (besides the online option SM50, columns Status="On hold", Reason="Debug"), if during a day or during a specific period of time, somebody debugged any program?

Thanks in advance.

José Gabriel.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,265

Hello Jose,

as far as i know, there's no logging for simple debugging. But if you change any contents of program fields during debugging, that's logged in system log (SM21). There are entries like this:

12:23:08 DIA 003 010 DB118F5 SE38 A19 Field contents changed: ALL_GEN -> **

12:23:08 DIA 003 010 DB118F5 SE38 A14 > Program text ... , line 0206, result GET_DIRECTORY

12:23:15 DIA 003 010 DB118F5 SE38 A19 Field contents changed: ALL_GEN -> **

12:23:15 DIA 003 010 DB118F5 SE38 A14 > Program text .., line 0206, result GET_DIRECTORY

Regards Wolfgang

4 REPLIES 4
Read only

Former Member
0 Likes
1,266

Hello Jose,

as far as i know, there's no logging for simple debugging. But if you change any contents of program fields during debugging, that's logged in system log (SM21). There are entries like this:

12:23:08 DIA 003 010 DB118F5 SE38 A19 Field contents changed: ALL_GEN -> **

12:23:08 DIA 003 010 DB118F5 SE38 A14 > Program text ... , line 0206, result GET_DIRECTORY

12:23:15 DIA 003 010 DB118F5 SE38 A19 Field contents changed: ALL_GEN -> **

12:23:15 DIA 003 010 DB118F5 SE38 A14 > Program text .., line 0206, result GET_DIRECTORY

Regards Wolfgang

Read only

0 Likes
1,265

In fact, double-clicking on the line, appears the following message:

"Documentation for system log message... :

The contents of the specified field were changed in the Debugger. "

Is it possible to search in SM21 for entries that could content this type of records?

Thanks, Wolfgang.

JG.

Edited by: José Gabriel on May 28, 2008 12:43 PM

Read only

0 Likes
1,265

Hello Jose,

yes, you could search in SM21 - since it's no alv list (at least in Rel.5.0) simply with the find (binocular) icon .

If you have a multiple instance system, make sure, that you see all system logs (SM21 - > system log -> choose ->all remote system logs).

and an other drawback: system logs are cyclical overwritten. Just take a date in selection from date let's say two month back and check, from which date there are the first entries you see.

Regards

Wolfgang

Read only

0 Likes
1,265

Thanks, Wolfgang.

Anyway, if you discover a way or a log to watch a "normal debugging session" performed in the past (not online), please let me know.

Regards,

José Gabriel.