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

Debugging call transaction statement

0 Likes
889

hi,

I am triggering a remotely enabled function module from a webdynpro application from portal. i am debugging this process from SM50 transaction. The function module has a call transaction statement calling VA42 transaction.

I tried below options and these did not work.

I tried changing the mode in debug mode to 'A'.

I tried to complete execution of this statement in background mode only, giving a breakpoint after this statement so that i can get bdcmsgcoll table and see the details.

But at the call transaction statement, the debug operation fails and the process is end abruptly.

Please tell me whether debugging for a call transaction statement from SM50 screen is possible and how?

Thanks in advance,

Padmini

Message was edited by:

Padmini Manickaraj

4 REPLIES 4
Read only

Former Member
0 Likes
780

Hi,

Try the mode 'P'...nod display, debugging possible

put a break point just before you are encoutering the error in the ..

should help u

santhosh

Read only

Peter_Inotai
Active Contributor
0 Likes
780

Hi,

Try 'P' mode and make sure there is a break-point in your FM in the remote system.

Best regards,

Peter

Read only

Former Member
0 Likes
780

If this is a custom code, modify it to write the contents of the internal table of type BDCMSGCOLL to a file in the unix system (the files that you can view using transaction AL11). The error message will probably give you an idea as to why the BDC has failed. Make sure that this piece of code should be executable only by you. This is just for debugging. You can remove this code after you have finished analysing it.

IF sy-uname EQ <your user id>.
...code to transfer data to the unix file
endif.

Read only

Former Member
0 Likes
780

is your native komarapalayam, bhavani