05-02-2005 11:11 PM
Hi All,
Can anybody tell me if there is an easy way to debug the SAP Script Layoutsets MR_PRINT and MR_REKL, which are triggered through MRKO and MIRO transactions. Also I need to know how to repeat the print out of the above layouts, which are outputs of Invoice reductions and Invoice corrections.
I already tried SE71 -> Utilities -> Activate Debugger and also placing a break-point in one of the performs, I call, but I think the print program is a dynamic call and it is not stopping at the break-points.
Let me know what I am missing.
Thank you for your time,
yrkanth
05-03-2005 12:23 AM
It is probably issued in an update task. Switch update debugging on in the debugger and it will stop at the break point.
in the debugger (Settings -> Update debugging)
Rishi
05-03-2005 1:42 AM
Rishi,
Tried the Update debugging also. Still, no luck. Its not stopping either with the SAP Script debugger switched on or with the ABAP Break-Point switched on.
05-03-2005 1:48 PM
05-03-2005 2:15 PM
Hi Rajani,
In Ur sap-script, you will ahve to ahve a hard breakpoint.
In a line, mention brak-point.
It will stop there only then.
Reg,
PP.
05-03-2005 6:47 PM
Update debugging and a Hard Break-Point in the code together worked to stop at the position desired.
Thank you all,
yrkanth
05-03-2005 6:48 PM
But, we cannot put a break-point hard coded one, in the script itself.
Thank you,
yrkanth.
05-03-2005 7:12 PM
Sorry, still I am not able to debug the script online. I put a hardcoded break point in one of the performs which are being called. The update debugger stops over there, but still there isn't a way that the script itself could be debug.
Thank you,
yrkanth.
05-04-2005 4:57 AM
The only way you can debug a scipt is by switching on the script debugger in se71 transaction. If u put a hard breakpoint, it will stop at that point.
I dont understand what u mean by "is there a way to debug the script itself" ?? pls elaborate what u want to debug..
05-04-2005 5:09 AM
Sorry, if it sounds dumb. But how will you put a hard breakpoint in a SAP Script? I don't hink there is a BREAK-POINT command which can be used in SAP Script? I activated the sap script debugger and am running the MRKO transaction which triggers the layoutset, but it is not stopping as it does stop for any other layouset.
The other way I tried was, to put in BREAK-POINT command in one of the performs the SAP script calls and I was able to stop at that only when I debug in Update debugging mode. This only allows me to debug the perform code but it still does not allow me to debug the script as we debug the script for PO (Purchase Order) by activating the SAP Script debugger and print previewing the PO.
Hope this helps?
I really appreciate your time.
Thank you,
yrkanth