2008 May 20 12:49 PM
I have RFC in R/3. I am calling this RFC from APO. is it possible to debug the RFC in APO in Zprogram? How?
Hi,
You can put the external break point. And start executing the Zprogram from APO.
Debugger will start as soon as it comes to break point.
regards,
mahantesh
2008 May 20 12:54 PM
Hi,
in zprogram.
add this code.
clear sy-subrc.
do.
if sy-subrc = 4.
exit.
endif.
enddo.
Execute zprogram. Goto SM50 and select zprogram and select debug (on menu).
Cheers.
...Reward if useful.
2008 May 20 12:54 PM
you need a trick.
add an import parameter with a name of your choice, type xfeld.
then code a endless loop for your new parameter = 'X'.
now if you want to debug the RFC, set your new parameter = 'X'.
it will run into your coded endless loop.
then goto SM50 and catch your process.
now you can debug. but dont forget to set your new parameter = space otherwise you can just debug your endless loop.
2008 May 20 1:34 PM
Hi,
You can put the external break point. And start executing the Zprogram from APO.
Debugger will start as soon as it comes to break point.
regards,
mahantesh
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |