Application Development 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: 

how to download application log message through custom program?

0 Kudos

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.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor

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?

2 REPLIES 2

raymond_giuseppi
Active Contributor

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?

0 Kudos

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