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

Session method BDC error log

Former Member
0 Likes
475

Hi All,

I have created one program which will be called internally through RFC.In this I have used session method for BDC and RSBDCSUB is processing it.

Now my question is if I am getting any errors in BDC I want to track those and take into 1 internal table.I want to send this file as an attachment to tthe user.

Please tell me how to track the errord and sending as attachment to the user.

3 REPLIES 3
Read only

Former Member
0 Likes
430

Hi,

You will not be able to do that as a part of the same program. A different program might have to read the session log and send that as a mail.

Regards,

Ravi

Note : Please mark the helpful answers

Read only

Former Member
0 Likes
430

Hi friends...

thanx ravi for ur suggstion but I need to use the error log file in the same program itself.

i know programs rsbdclog and rsbdc_protocol but I ma not able to use it properly.

sample code will be appreciated.

Read only

0 Likes
430

Hi Yuvaraj,

Check program RSBDCDRU.

Hope this provides some inputs

Thanks

Lakshman