‎2010 Sep 23 12:13 PM
Hi all,
I have a context menu in PR05 tocode, it contains field 'Attachment List' in the the context menu.
When I select the 'Attachment List' in the context menu I want to debug what the 'Attachment List' is doing.
I It's not possible to have dynamic debug.
Thank you!
Prasad
‎2010 Sep 23 12:16 PM
hmmm what about typing /h in the OK_CODE box, pressing enter ONE time, and after that using your context menu?
Edited by: Florian Kemmer on Sep 23, 2010 1:17 PM
‎2010 Sep 23 12:25 PM
create a SAP GUI short cut for system cammand /h.
then drag and drop that to the functionality and then debug.
or Put a break-point in the code and run the fuctionality.
‎2010 Sep 23 2:59 PM
You can't drag a breakpoint shortcut onto a context menu. You have to either set the breakpoint in the PAI and follow through the process or set the breakpoint in the DISPATCH method of class CL_GUI_CFW - the functionality is going to be triggered via an event and received by an event handler. Most likely, you've got a local class in that transaction for the context menu that adds the functions (ok codes) and handles the events - you just need to search for it.
‎2010 Oct 01 11:30 AM
Create one .TXT file as follow in your desktop then after when u select the 'Attachment List' before
that drag and drop this file in 'Attachment List' then select list
In short save it in your desktop.
You can simply drag and drop this notepad on the sap screen to activate debugging on screen.
[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand
Edited by: kk.adhvaryu on Oct 1, 2010 12:31 PM
‎2010 Oct 01 3:42 PM
You can simply drag and drop this notepad on the sap screen to activate debugging on screen.
NO, you can't - did you read the question or my post??? You can't use that technique for a CONTEXT MENU. Did you try it before posting?
‎2010 Oct 02 6:45 AM
Copy-paste from a site that has been banned here.
Moderator Message: I have already warned you against copy-pasting other people's work. Please acknowledge that you have received the warning.
pk
Edited by: kishan P on Oct 6, 2010 10:48 AM
‎2010 Oct 15 6:16 AM