2006 Jul 07 11:12 AM
Hi,
While in debugger on, how do I set a break point if I want to stop at a structure for example 'ch_user_changed_fields' in a transaction (for example: M59N).
I do not know which function, method or program will use this structure.
Thanks,
Helen
2006 Jul 07 11:31 AM
Hi Helen,
You can omnly stop at a statement/subroutine/function module but not a structure. It makes no sense.
One crude way if to make a global find in the main program with the structure name as the search string and place break points at each of the found locations.
Alternatively if you are looking to stop whne a particular field has a particular value, then you can create a watchpoint.
Regards,
Ravi
Hi,
While in debugger on, how do I set a break point if I want to stop at a structure for example 'ch_user_changed_fields' in a transaction (for example: M59N).
I do not know which function, method or program will use this structure.
Thanks,
Helen
2006 Jul 07 11:18 AM
Hi Helen,
In Debugging mode just double click on particular stamenent or structure the Break-Point will be set..
Regards,
Sridhar
2006 Jul 07 11:26 AM
Hi,Sridhar,
My problem is I don't know which program, method, or functioal module will contain that structure and will change the value. I only know during process the ME59N, this structure is used. I need trace the value of this sturcture.
Thanks,
Helen
2006 Jul 07 11:38 AM
Hi,
What you need to do is find the package in which the transaction ME59N is. To do this goto SE93 and give the transaction code and find the package
Go the structure in SE11 and click on where used list in programs and give in Search area also your package
This will help you refine the search to programs which may be involved in the ME59N transaction.
You could also get the program name from ME59N transaction
by clicking on STATUS in the MENU and search the program .
2006 Jul 07 11:44 AM
ME59N is PO creation. It calls many function modules, includes, methods. it will very hard to find which one cotains this structure 'ch_user_changed_fields'.
Thanks,
Helen
2006 Jul 07 11:19 AM
Hi,
Go to the structure program select the structure you want to debug and on the top you will find stop button jst press that.In this way the break point is declared
Regards,
Harini
2006 Jul 07 11:23 AM
Hello Helen,
For this purpose, you need to create a watch point. Assuming that the structure is initially empty, you can set a watchpoint at the condition that the fields are not initial.
You can read more about watch points <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/792442db42e22ce10000000a1550b0/frameset.htm">here</a>.
Regards,
Anand Mandalika.
2006 Jul 07 11:40 AM
I looked the documentation. The watch point only applies to local program.
I went to SE11, check data type to search straucture 'ch_user_changed_fields'. I did not get result. This structure uesed for 'TAXWARE' and may be define in method. How do I search in method?
Thanks,
Helen
2006 Jul 07 11:31 AM
Hi Helen,
You can omnly stop at a statement/subroutine/function module but not a structure. It makes no sense.
One crude way if to make a global find in the main program with the structure name as the search string and place break points at each of the found locations.
Alternatively if you are looking to stop whne a particular field has a particular value, then you can create a watchpoint.
Regards,
Ravi
2006 Jul 07 12:34 PM
Hi Helen,
i am not sure in this answer. anyhow plz check .
First go to me59n transaction , then goto system-->
status, here you will see the Program name for ME59N.
double click on the program name and finally using search option , you will search the Particular structure or FM whatever it is.
then put the Breakpoint where you want to put.
Plz Reward if it helps.
Thanks,
Neptune.M
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |