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

GUI_DOWNLOAD Debug

Former Member
0 Likes
691

Hi All,

I am using GUI_DOWNLOAD Function module in my program to download data to text file and I want to know how the FM save the text file as format 'ANSI' . So I want to debug and see what is happening but I am unable to get in to GUI_DOWNLOAD FM in debugging.When I hit F5 at the FM I am seeing a method constructor and not able to go to the real code part of FM and when I hit F7 I am out of the GUI_DOWNLOAD. Please let me know if someone know how to debug FM GUI_DOWNLOAD or let me know what is that I am doing wrong.

Thanks,

Eileen

3 REPLIES 3
Read only

FredericGirod
Active Contributor
0 Likes
566

Hi,

some codes are specified as "system", so you could only debug it using System debug -> /hs  not /h

second, to debug pop-up window, the most simple way, is to create a SAP short cut in your desktop. Set the command /h (or /hs) and drag/drop in the SAP pop-up ..

regards

Fred

Read only

0 Likes
566

Hi Fred,

Thank you for you replay.

Could you tell me how to create a SAP short cut?

Read only

RaymondGiuseppi
Active Contributor
0 Likes
566

For debug using shortcut : How to Debug a Popup Screen

But don’t expect the Abap debugger to continue deep into C code of Kernel functions or SAP GUI application

Regards,

Raymond