|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Debugging Update Task and Background Task
By Ansumesh, IBM India
is a very common topic when we talk about ABAP.I am assuming all reader’s
reading this topic knows how to debug a dialog task (foreground) or do normal
time we come across such situations where we need to debug Update task and Background
task also. I have tried below to explain the procedure for same.
to debug Update task
create an Update module in SE37 like below.
simple code inside update module.
let’s create a simple program through SE38 and call this FM in update task.
we execute this program, FM ZUPDATE_TASK will be called in update task and
immediately it will be registered in VBLOG table on priority basis.
Note it will not get execute until unless control reaches to COMMIT WORK statement as shown above.
control executes COMMIT WORK, the above registered FM in VBLOG table will be
called and gets execute.
debug our update FM we need to switch on Update
Debugger in debugging mode
we do not perform above activity, update module will get execute in the
background and we would not able to see it in the foreground and debug the same
let’s execute and test the same. Execute program ZTESTPPL and see.
in next step Update debugger screen will open as given below.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards