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

fetching log data from slg1

sap_beginner98
Explorer
0 Likes
11,396

help me to fetch log data from slg1.

i have used appl_log_data_read. but it is put whole log data into a internal table and i couldn't get separate details for each one.

I want to fetch logs details for each log id with specified object,sub-object and date.

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
9,636

This is a frequently asked question, you can find dozens of existing posts on this by using the keywords from the question in Google, thusly: read data SLG1 site:sap.com

Look at SZAL package, everything log-related is there, including demo programs. There is also ABAP Logger project on GitHub that could be useful.

5 REPLIES 5
Read only

jerryjanda
Community Manager
Community Manager
9,636

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members. For example, you can outline what steps you took to find answers (and why they weren't helpful). The more details you provide, the more likely it is that members will be able to assist you.

Should you wish, you can revise your question by selecting Actions, then Edit (although once someone answers your question, you'll lose the ability to edit the question -- but if that happens, you can leave more details in a comment).

Also, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS. By personalizing your profile with a photo of you, you encourage readers to respond.

Kind regards,

--Jerry

Make sure to subscribe to What's New!
Read only

venkateswaran_k
Active Contributor
9,636

Hi Nivetha

Please check this FMs - if it can help you

BAL_DB_LOAD

BAL_LOG_MSG_READ

Regards,

Venkat

Read only

teshanappadoo
Participant
9,636

Hi,

You can try APPL_LOG_READ_DB

By setting the importing parameter right such as object or sub-object etc., you can specify which logs are to be fetch.

Regards,

Teshan

Read only

Jelena_Perfiljeva
Active Contributor
9,637

This is a frequently asked question, you can find dozens of existing posts on this by using the keywords from the question in Google, thusly: read data SLG1 site:sap.com

Look at SZAL package, everything log-related is there, including demo programs. There is also ABAP Logger project on GitHub that could be useful.

Read only

former_member1716
Active Contributor
9,636

sap_beginner98,

You could try with FM APPL_LOG_READ_DB_WITH_LOGNO, if you have the log Number with you. Table BALHDR will hold other details regarding the Log numbers.

Regards!