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

TCODE from RFC

Former Member
0 Likes
630

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
Read only

Former Member
0 Likes
562

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
Read only

Former Member
0 Likes
563

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

Read only

0 Likes
562

Thank you very much...!