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

error log for BDC session

Former Member
0 Likes
578

Hi,

We have a requirement to show error log of BDC session. I am using the Function

modules RSTS_GET_ATTRIBUTES,RSTS_OPEN_RLC and

RSTS_READ.

The resulting log is not very clear and the errors are not being displayed .

The report RSBDCLOG does not exist in our server. So that couldnot be used.

Is there any other alternative ?

Can I display, just the error message only(without additional info) ?

Please help.

Thanks®ards

Ananya Mukherjee

3 REPLIES 3
Read only

Former Member
0 Likes
512

Hi ananya ,

u can use the messagetab and to display them u can use the

fm format_message ...also go thru these links where u can find sample code.

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b7df143d711d1893e0000e8323c4f/content.htm

hope this helps u a bit,

all the best,

regards,

sampath

  • mark helpful answers

Read only

0 Likes
512

Hi Sampath,

Thank you for the reply.

But,I am using the session method for my BDC. Do we have a message table for that ?

Thanks®ards

Ananya

Read only

Former Member
0 Likes
512

Hi ananya,

even in session...

i think all the message attributes are stored in the table 'MESSTAB'.

looping at this table and using the attributes you can retreive message text

from table t100....or use the fm MESSAGE_TEXT_BUILD...

hope this helps u a bit,

all the best,

regards,

sampath

  • mark helpful answers