2012 Oct 30 7:47 AM
HI ALL,
We are getting an error message while trying to debug a background task in SM58. We are trying to call an RFC in BACKGROUND TASK with DESTINATION. And our RFC destination is of connection type T, so can I debug my background task? Any idea?
Regards,
Aravinth
HI ALL,
We are getting an error message while trying to debug a background task in SM58. We are trying to call an RFC in BACKGROUND TASK with DESTINATION. And our RFC destination is of connection type T, so can I debug my background task? Any idea?
Regards,
Aravinth
2012 Oct 30 9:50 AM
Hi,
In general way background task can not be debugged.
U can try few options out of this
1)In SM50
choose ur bakground job.
then admin....>program>deubugging...
2)In Debug mode, "In background task: Do not process" use this,
then go to SM58 .
choose menu...edit>debug luw(logical unit of work).
and lastly have a look at this help in wiki.
http://wiki.sdn.sap.com/wiki/display/ABAP/ABAP+Debugger#ABAPDebugger-HowtodebugtRFCfunctionmodule
Thanks
Gourav.
2012 Oct 30 11:23 AM
Hi Gourav,
I can able to debug background tasks but when I use RFC destination with connection type T, it is giving me an error message like "You cannot debug type T connections"
Please find the below screenshot for your reference.
Regards,
Aravinth
2012 Oct 31 3:33 AM
Hi All,
Please give me some inputs to resolve this.
Regards,
Aravinth
2012 Oct 31 5:25 AM
Hi,
Have U look at that link?
there is a point that how to debug T Type Connections.
Gourav.
2012 Oct 31 7:19 AM
Hi,
I am calling my RFC using DESTINATION addition, my RFC destination is T type connection i.e, TCP/IP connection.
For this I am getting that error message.
Regards,
Aravinth
2012 Oct 31 6:20 AM
there is a option from the Menu Debug LUW.. Did you tried from this one.
one more possibility is that just put a wait command in your RFC FM.
Got to SM37 and select your job and click on Application Servers
Click on Processes. Then select your Job and menu Debug the program.
Hope this helps..
2012 Oct 31 7:26 AM
Hi,
I can able to debug LUW when my function call is having IN BACKGROUND TASK addition. But I am getting error while trying to debug LUW, when I add DESTINATION <destination name > in my function call. My RFC destination type is T type connection.
Regards,
Aravinth