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

how to debug global vars ??

Former Member
0 Likes
709

I have a problem with the tcode iw32. sometimes the dates are not updated by the system if the main date is changed in a operation.

this happens with 1 out of 10.000 orders but the impact on the process is very frustrating since it's hardly noticed in time

now I have a serviceorder where the corresponding date FSAVD is not changed after changing NTANF.

I thought I had debugged to a point that I thought the function was were the dates were changed unfornatunatly I noticed that somewhere in the programm the global table AFVG_BT is filled. but I can't find where this table is updated in the programm SAPLCOIH ???

anybody knows how to find the source of the changes ??

kind regards

arthur de smidt

1 ACCEPTED SOLUTION
Read only

alison_lloyd
Active Participant
0 Likes
678

Have you tried using st05/se30 to trace and show you the update on the DB table?

I have a problem with the tcode iw32. sometimes the dates are not updated by the system if the main date is changed in a operation.

this happens with 1 out of 10.000 orders but the impact on the process is very frustrating since it's hardly noticed in time

now I have a serviceorder where the corresponding date FSAVD is not changed after changing NTANF.

I thought I had debugged to a point that I thought the function was were the dates were changed unfornatunatly I noticed that somewhere in the programm the global table AFVG_BT is filled. but I can't find where this table is updated in the programm SAPLCOIH ???

anybody knows how to find the source of the changes ??

kind regards

arthur de smidt

5 REPLIES 5
Read only

alison_lloyd
Active Participant
0 Likes
679

Have you tried using st05/se30 to trace and show you the update on the DB table?

Read only

0 Likes
678

but it's not an update on a database table but on a global var. in st05 the runtime analysys you only see the database acces so I can't find how and when AFVG_BT is updated ?

also under se30 I can find a function which I already found before only then the global var is already updated by the system . I want to know when this global var is updated and what rules have been passed before this update took place

kind regards

arthur de smidt

Read only

0 Likes
678

I try now to create a watchpoint, it's only hard to determine where the global var is first updated in the programm or one of the many inlcudes or functions

Read only

Former Member
0 Likes
678

no answer