Skip to Content
Former Member
Sep 11, 2012 at 03:00 PM

CRM-ABAP how to capture long text of error log from SLG1


Hi experts,

I need to get capture error messages from log and long text for the error message.

I am using CRM_ORDER_READ to get teh detials.

I am using APPL_LOG_READ_DB to get the log details and messages from my custom program.

I was able to get the error messages but need to fetch long text also.

I tried to call the fm's CRM_MESSAGES_SEARCH and CRM_MESSAGES_GET_LONGTEXT using teh log handle got from APPL_LOG_READ_DB..

Log not found in memory - message I am getting.

I am capturing the errors from outside the transaction.

If any one has idea please guide me.

Thanks in advance.