‎2007 Jan 31 5:03 AM
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
‎2007 Jan 31 5:14 AM
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
‎2007 Jan 31 5:25 AM
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
‎2007 Jan 31 5:36 AM
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