Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

一些debug的基本知识(1)

Insert /h in the OKCODE field and the debugger will start after next hit of the ENTER key

Insert /hs in the OKCODE field and system debugging will start after next hit of the ENTER key

Via the menu option UTILITIES>BREAKPOINTS in SE38, SE80

Via SM50 (to debug a batch job)

Via SE37 to debug function modules or BAPIs

(Button u201ASingle Testu2018)

-


how to debug a popup

Generate a shortcut on desktop

Select u201ASystem Commandu2018

Insert the debug command

/h or /hs

Drag the shortcut directly on the screen where you want to start debugging. This technique

is really helpful to start debugging on a popup, because you canu2018t access the ok-field.

-


<Function keys>

F5 - Sigle step

F6 - Execute

F7 - Return

F8 - Continue

-


<Tab>

Table - Display internal table

Breakpoints - Overview of breakpoints

Watchpoints - Overview of watchpoints

Calls - Active call stack

You can also goto the current cursor position by clicking button [Display current statement]

-


Not what you were looking for? View more on this topic or Ask a question