Skip to Content
0

how to download application log message through custom program?

Dec 04, 2017 at 10:14 AM

56

avatar image

Dear All,

My reqiurement is to download Application log(SLG1) all the header data and item text messages through custom program .

i am able to get the header details using function module APPL_LOG_READ_DB.

Header Details :

01.12.2017 07:00:11 SOLOMON 2 20171201 E-Recruiting Batch processing 00000000000009500800 .

I want to get the item text message for the above log "00000000000009500800"

"Periodic service was not executed due to concurrent service" is the item message for the above log no in SLG1.

Kindly advise how to get the item message.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Raymond Giuseppi
Dec 04, 2017 at 10:50 AM
2

Some times ago, I built such program (to allow download of data) using

  • BAL_DB_SEARCH - read list from selection-screen
  • BAL_DB_READ - read log from database
  • BAL_LOG_HDR_READ - extract header information
  • BAL_LOG_MSG_READ - extract message/item information
  • BAL_GLB_MEMORY_REFRESH - some cleaning

But what did you get in MESSAGES and MESSAGE_PARAMETERS returned table parameters of APPL_LOG_READ_DB, are you aware of the MESSAGE ... INTO statement?

Show 1 Share
10 |10000 characters needed characters left characters exceeded

For more information, refer to the official documentation: SAP Library: Application Log (BC-SRV-BAL)

0