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

break point at a field/structure with multiple modules

Former Member
0 Likes
2,159

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,680

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,

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 .

9 REPLIES 9
Read only

sridharreddy_kondam
Active Contributor
0 Likes
1,680

Hi Helen,

In Debugging mode just double click on particular stamenent or structure the Break-Point will be set..

Regards,

Sridhar

Read only

0 Likes
1,680

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

Read only

0 Likes
1,680

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 .

Read only

0 Likes
1,680

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

Read only

Former Member
0 Likes
1,680

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

Read only

Former Member
0 Likes
1,680

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.

Read only

0 Likes
1,680

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

Read only

Former Member
0 Likes
1,681

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

Read only

Former Member
0 Likes
1,680

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