ABAP Forum
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to debug async update task via Eclipse ADT?

Sandra_Rossi
Active Contributor
0 Likes
498

I can't find an option in Eclipse ADT to debug a V1 update function module (V1 = start immediately) called via CALL FUNCTION ... IN UPDATE TASK (so, the function module effectively starts when COMMIT WORK runs).

NB: SET UPDATE TASK LOCAL was not run, so the call is asynchronous when COMMIT WORK runs.

How to do it?

Thanks.

Sandra

My system: Eclipse 2025-09, ADT 3.52.3, ABAP 7.58 SP 1.

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
497

The option is currently only available via SAP GUI for Windows (not available in SAP GUI inside Eclipse ADT):

  1. Type /H and Enter to start the debugger, change the debugger setting "Update task". You may either save it as a default setting, or set it only once.
  2. Run your code.
  3. When the first update function module starts, the debugger stops at the first line and the function module source code is shown in ADT if ADT was already running, otherwise it shows up in SAP GUI for Windows.

Notes:

  1. I don't know what happens if the update function module belongs to a function group flagged as system program (you may need to also activate the system debugger).
  2. I don't know what happens if the update task is started as a local update task (ABAP statement "SET UPDATE TASK LOCAL"), maybe you can fully debug via ADT.

View solution in original post

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
498

The option is currently only available via SAP GUI for Windows (not available in SAP GUI inside Eclipse ADT):

  1. Type /H and Enter to start the debugger, change the debugger setting "Update task". You may either save it as a default setting, or set it only once.
  2. Run your code.
  3. When the first update function module starts, the debugger stops at the first line and the function module source code is shown in ADT if ADT was already running, otherwise it shows up in SAP GUI for Windows.

Notes:

  1. I don't know what happens if the update function module belongs to a function group flagged as system program (you may need to also activate the system debugger).
  2. I don't know what happens if the update task is started as a local update task (ABAP statement "SET UPDATE TASK LOCAL"), maybe you can fully debug via ADT.