Question:
Is it possible to set a breakpoint based on a condition? Precisely, my problem is that while running an extractor, I have observed in SM50 that it is hitting a Z table that it is not supposed to hit!! Now if I run the extractor in debug (/h) mode, it is taking forever to step through it to reach any conclusion on which code is reading that Z table. Is it possible to set a breakpoint in which I can say stop the execution if there is a read from the Z table so that I can start the debugging from there? I am not proficient in ABAP, so any step-by-step instruction to achieve the desired result is highly appreciated.
One more question, is there anyway one can search the list of programs created by a particular user? In se80, repository info system gives only the options - program name, short description, package and application component to search upon. How do I find the list of programs/FMs created by a particular user? Please help. Thanks in anticipation.
Answer:
table PROGDIR holds some neat program data
Answer:
TRDIR
Answer:
Hi,
For your first question, Watchpoint will be the best way to use. Add watchpoint and remove the break point. The program will stop when the watch point has been reached.
And for your next question, someone has answered it.
Good luck!
_________________
Regards,
EHW
When your friend is in trouble, don't annoy him by asking if there is anything you can do. Think up something appropriate and do it.
Answer:
One more question, is there anyway one can search the list of programs created by a particular user? In se80, repository info system gives only the options - program name, short description, package and application component to search upon. How do I find the list of programs/FMs created by a particular user? Please help. Thanks in anticipation.
It is also possible to extend the select options in SE80 by clicking on the button 'All selections (Shift+F7)' on the Repository Information System popup. Program author becomes an select option then.
Arjan.
Answer:
Hi,
Here's a work around.
Run the program in se30 (run time analysis).
Check the extended report or something and search for the fetch on the z table. Position the cursor on it and click on source-code.
There you should see the abap.
Regards, Rob Dielemans
Answer:
Is it possible to rtun the program for a smaller subset of data (if it stull runs forever, you have other problems)?