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

How To Debug RFC which is called in background task?

former_member647955
Participant
0 Kudos
5,323

Hi ABAPers,

I want to debug Remote Function Module BBP_BC_EXTREQ_INB in SRM system which is called by program BBP_EXTREQ_TRANSFER in ECC system. The RFC is called in background taks. Is it possible to debug it?

I have tried several method suggested in this forum but they don't work. My suspicion goes to the backgound mode that is used in this call. But I will glad if any of you can help tell me how to do it?

Thanks alot

Regards

Hadi

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Kudos
2,003

Hello Hadi,

IN BACKGROUND TASK addition registers a tRFC call. You'll have to:

  1. Turn on the "tRFC (In Background Task): Block Sending" flag in the debugger settings.
  2. Go to SM58, select the tRFC & then debug LUW.

For more details refer to the Wiki.

BR,

Suhas

3 REPLIES 3
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Kudos
2,004

Hello Hadi,

IN BACKGROUND TASK addition registers a tRFC call. You'll have to:

  1. Turn on the "tRFC (In Background Task): Block Sending" flag in the debugger settings.
  2. Go to SM58, select the tRFC & then debug LUW.

For more details refer to the Wiki.

BR,

Suhas

Read only

former_member647955
Participant
0 Kudos
2,003

Thanks Suhas,

It's totally as expected

Thanks Neha, I think the suggestion you give doesn't work when the RFC is run in background mode. However it's a good knowledge to know

Regards

Hadi