‎2009 Feb 10 12:12 PM
Hi gurus,
Suppose, there is an object or a program, whose code cannot be seen, now I want to check on what line, a certain condition
appears or on what line, a string appears. Is there any function module to make it.
Thanks gurus.
‎2009 Feb 10 12:17 PM
hi,
you have to use the abap-debugger with watchpoints..
You can halt the runtime, when a single variable reaches one predefined value, or the runtime calls a function module or other events take place.
regards
Jan Martin
‎2009 Feb 10 12:40 PM
Hello Nazeer,
You are speaking about, tracing standard program or the program which cannot be opened in editor mode.
There are surely function modules to trace it, with these function modules you can trace at what line what string appears, this is helpful especially in USER-EXITS and CUSTOMER-EXITS.
Please refer these function modules.
RS_DETERMINE_OBJECT_SOURCE
Check out the program 'RPR_ABAP_SOURCE_SCAN'.
and the FM: 'SCWB_GET_ABAP_CODE_OF_OBJECT'
Thanks:
Zahackson