Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

You cannot debug type T connections in SM58

aravinth_anandhan
Active Participant
0 Likes
2,736

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

7 REPLIES 7
Read only

gouravkumar64
Active Contributor
0 Likes
1,977

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.

Read only

0 Likes
1,977

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

Read only

aravinth_anandhan
Active Participant
0 Likes
1,977

Hi All,

Please give me some inputs to resolve this.

Regards,

Aravinth

Read only

0 Likes
1,977

Hi,

Have U look at that link?

there is a point that how to debug T Type Connections.

Gourav.

Read only

0 Likes
1,977

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

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,977

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..

Read only

0 Likes
1,977

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