08-22-2006 9:58 AM
Hi,
in one of the exits of transaction VA02 (change sales order) during saving, i have a call of a Z-function module in update task.
When i have reached the call of this function during debugging, i'm setting the update debugging on. After saving, the system says 'Update debugging has been triggered', but i'm not getting a debugging session of the Z-function module.
How can i debug the z-function ?
regards,
Hans
08-22-2006 10:02 AM
Hans,
Once you get the message 'Update debugging has been triggered' then automatically there will be a new session created if you have not opened 6 sessions already. The new session will open up and you can now set a breakpoint in the FM and once you execute it will stop at this FM.
Cheers
VJ
08-22-2006 10:18 AM
Hi VJ,
i only have open 3 sessions, but still no extra session is opened for update debugging. I'm getting only the message 'Update debugging is triggered'.
Hans
08-31-2006 3:53 PM
It looks like my problem !
I want to debug an user-exit wich is called in update task by activating the "update debugging" but I on ly get the message 'Update debugging is triggered' and no debug window appear.
It seems this problem appeared with a kernel update (production environnement is ok and not patched).
The problem has been submitted to OSS. I'll inform you when i'll have news
08-31-2006 4:38 PM
Try this
1) Put Update Debugging on.
Apply Break Point at the FM - RV_MESSAGE_UPDATE.
2) When the Control Reaches RV_MESSAGE_UPDATE, only press F5 or F6.
All the FM's called in Update Task in the Program are called one by one.
Debug till the FM which you are looking comes.
10-22-2010 6:12 AM
Hi ..
If you get the message "Update is being triggered' means that the FM has been triggered.
To debug - Press F7 till the time your screen appears - but before that ...
NOTE: You have to set an external breakpoint in the FM which has Update Task, Other wise the FM will not appear on F7.
Thanks and Regards,
Jitesh.
08-22-2006 10:07 AM
Hi hans,
1) Update function modules do not run in the same user session as the program that is currently running in the ABAP Debugger. These function modules are therefore not included in debugging. Only if you select the Update Debugging option can you display and debug them after the COMMIT WORK.
Update function modules do not run in the same user session as the program that is currently running in the ABAP Debugger. These function modules are therefore not included in debugging. Only if you select the Update Debugging option can you display and debug them after the COMMIT WORK.
2) call the update module func using CALL FUNCTION func IN UPDATE TASK, a new window is opened in which you can debug this function module in the update session. All the breakpoints that were set in the calling processing unit can also be processed here.
Thanks
Sudheer
08-22-2006 10:37 AM
Hi,
Copy and paste the below link, this is a PDF file which explains about the Update task debuging
Thanks
Sudheer
08-22-2006 10:52 AM
Sudheer,
thanx for the link, but i'm doing exactly what is described. During debugging, just before the call of the function (IN UPDATE TASK) i'm putting the Update debugging setting on. After that i'm continuing with the program (F8) and i'm getting the message 'Update debugging has been triggered'. However, i'm not getting an extra screen with the debugging of the called function. I have only 2 or 3 screens open !
Any suggestions ?
Has it maybe to do with authorisations ?
regards,
Hans
08-22-2006 11:00 AM
Hi Hans,
I doubt if it could be a authorization issue. May be you can check with the Basis team. There is authorization if the persn can debugg or not and if he can change anything in debugg or not. I have never heard of special authorizations for debugg in update task.
This is something really strange.
Cheers
VJ
08-22-2006 11:08 AM
Did you check in SM58 transaction after update debuggoing is activated ?
08-22-2006 11:15 AM
08-22-2006 11:15 AM
Hi Geeta Yash,
i've tried transaction SM58, but nothing is in it. The Help tells that it is linked to the IN BACKGROUND TASK, and i'm talking about IN UPDATE TASK.
Hans
08-22-2006 11:11 AM
Hey Hans,
One reason of the function not being visible in update debugging is that the function is not registered to be called in the update task. You need to include an COMMIT WORK statement in the program which calls the function in update task.
Read the following link
http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbae4135c111d1829f0000e829fbfe/content.htm
-Kiran
Please reward useful answers
11-02-2007 12:02 PM
Hi Hans -
I beleive we are experiencing very similar issue as you (update window not appearing). We are on kernel version 640, patch 129 (non-Unicode). Is this the kernel you are running? Have you received a response to your OSS message?
Thanks,
Michael Harding
11-07-2010 8:57 AM
Hi,
I was facing exactly the same issue. We are on SAP ECC 5.0, kernel 640/0025. For me, the solution was to switch to classic debugger before the debugging is started (the new debugger is not working correctly here). So, in ABAP editor, use menu path: Utilities/Settings/Debugging tab/Classic Debugger radio.button Then set the break-point on COMMIT WORK statement and when hit, then switch on update debugging and continue with pressing F6 *you will go through update task administration in few steps) until the body of your update function module is hit - here you should continue with F5 to enter the update function module debugging. Hope this helps.