Application Development 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: 

TCODE from RFC

former_member216168
Active Participant
0 Kudos
191

Hi there

I need to retrive sy-tcode from RFC (BAPI_SALESORDER_CHANGE) that is called by .net program.

I'll do a customizing at include MV45AFZZ, USEREXIT_MOVE_FIELD_TO_VBKD.

I tried to use SRDEBUG transaction and I put a external Break-Point but I don't know why it doesn't work... (maybe it's because the user in this .net program is type system - SU01)

Does anyone have a sugestion?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
123

Hi Thiago,

To debug a RFC which is being called from .net end , put a endless loop in RFC (like do enddo, while endwhile) . so when the RFC will get called it will struck at this point and you can debug it from SM50->program/session->program->debugging.

Do not forget to remove endless loop after debug.

Regards,

Dipesh

2 REPLIES 2

Former Member
0 Kudos
124

Hi Thiago,

To debug a RFC which is being called from .net end , put a endless loop in RFC (like do enddo, while endwhile) . so when the RFC will get called it will struck at this point and you can debug it from SM50->program/session->program->debugging.

Do not forget to remove endless loop after debug.

Regards,

Dipesh

0 Kudos
123

Thank you very much...!