‎2007 Nov 29 9:14 AM
Hi,
when I´m on the test function screen of se37, I can run the function in debugging mode and it´s starting with the debugger on the first code line.
Is it also call a function from a report in this debugging mode?
thank you!
reward points guaranteed
‎2007 Nov 29 9:17 AM
Hi Michael,
UInless you put a breakpoint in the funtion module , the funtion module used in program will not run in debug mode
while testing FM, there will be a separe radiobutton for debuggin mode, so this will not effect the use of that FM in ur program
‎2007 Nov 29 9:17 AM
yes u can do it..
place a breakpoint wer the function is called..in the report
Run it..
While running it ll go into debug mode from where the function is called.
Hope dis helps
‎2007 Nov 29 9:18 AM
Put a session break-point on the CALL Function statement, then it will do.
‎2007 Nov 29 9:18 AM
Hi
in debug mode we don't have any functionality to call a function . but you can debug a FM
‎2007 Nov 29 9:34 AM
Thank you for your answers...
Let me explain a little bit more in detail, what I want to do.
I have an XML interface function which is going to be called by an
external application about RFC, reading binary data,
interpreting that as XML and doing something in the SAP system afterwards.
As the system is a 4.6C I can´t debug externally, I want to provide
a debugging function in a monitoring application for that.
As people are using the monitoring, which are not familiar with all
the code behind that, I want to start the debugging mode by myself,
without setting a breakpoint.
Let me describe it like this:
When you type in /H in the transaction field in the SAP menu bar, the
debugging mode is going to be started for further actions.
All I want to do is starting that /h debug mode without typing anything
in the transaction field, just inside of the report.
How can I do that?
Michael
‎2007 Nov 29 9:57 AM
hi,
yes, you can do that. just enter /h then hit enter the debug mode will switch on. Then you just press execute it will go it debug page.
‎2007 Nov 29 10:04 AM
Hey!
I´ll do that WITHOUT entering /h in the input field.... I´ll do that inside the program!
Something like:
set_debug_mode(true)
call function ......
set_debug_mode(false)
‎2007 Nov 29 10:07 AM
Hi
inside program you can set a BREAK-POINT stament to set a break points thats all , you can't put any code to start the debug
The ABAP Debugger is an integrated test tool within the ABAP Workbench. You use it to check the program logic and to find errors in the source code of an ABAP program. In the Debugger, you can step through the source code of a program. The running program is interrupted after each step, allowing you to check its processing logic and the results of individual statements.
As of Release 6.10, you can also run Business Server Pages (BSP) in the debugging mode. You can also display and set breakpoints here. Business Server Pages can be displayed in the Object Navigator when you select an appropriate application under BSP Application.
<b>Rewar di fusefull</b>