‎2005 Dec 20 9:52 AM
Hi Friends,
How to debug a dialog box.
In MM02 i am attaching some documents.
When i click view attachment my attachments are coming in a dialog box.When i click it,it got opened.I want debug this dialog box.Your help highly appreciated..
Regards,
Abdul
‎2005 Dec 20 9:59 AM
Hi Abdul...
1 - click on the create shortcut(top right icons of sap window)
In the application part of the next popup choose system command and in the command enter /h !
The you have a shortcut on the desktop that you can drag and drop on your popup !
2 - you can hardcode the breakpoint : BREAK USERNAME.
don't forget the reward plz
‎2005 Dec 20 9:59 AM
Hi Abdul...
1 - click on the create shortcut(top right icons of sap window)
In the application part of the next popup choose system command and in the command enter /h !
The you have a shortcut on the desktop that you can drag and drop on your popup !
2 - you can hardcode the breakpoint : BREAK USERNAME.
don't forget the reward plz
‎2005 Dec 20 10:05 AM
‎2005 Dec 20 10:13 AM
this is the same suggested by stephan, in a different approach.
create a .txt file on your desktop and place the following lines in that file.
<b>[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand</b>
now wherever you want to debugg in SAPGUI for your case dialog box. drag and drop the text file on the popup it will trigger debugging.
Regards
Raja
‎2005 Dec 20 10:07 AM
Hi Abdul,
You can put a breakpoint in the standard program.
Goto->SE80 and find the Screen number on which the attachments appear.
Now you can put a breakpoint in the PAI of the screen and then debug...
Hope it helps...
Lokesh
Pls. reward appropriate points
‎2005 Dec 20 10:12 AM
Hi Abdul,
1. For that u need to do 2 things.
a) Create a shortcut file
b) Drag&Drop this file, on the modal box
for debugging purpose.
2. On the standard toolbar,
there is a icon for SHORTCUT. (click on it)
3. A new window will come.
4. In the TYPE FIELD , select SYSTEM COMMAND.
In the COMMAND FIELD, write
/h
5. Save this file on desktop.
6. Now run your program .
when the modal dialog box comes,
DRAG & DROP this shortcut file on the modal box.
I hope it helps.
Regards,
Amit M.
‎2005 Dec 20 10:14 AM
Hi,
Just paste this to a file and save it as <b>debugger.txt</b> on your system.
Then whenever you have to debug a dialog box just drop this over it.
<b>[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand</b>
Hope this will help you.
Regards,
Amit
‎2005 Dec 20 10:22 AM
Can WE STOP ANSWERING ALL THE SAME ANSWERS????
TOPIC SHOULD BE CLOSED.
‎2005 Dec 20 11:11 AM
Hi Stephan/Raja.
Thanks a lot for your replies.
Issue solved now!!
Thanks,
Abdul