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

Application log program

Former Member
0 Likes
1,140

Hello gurus,

I like to have All Logs to be displayed for given object and sub object for preferred date and time

I made use of FM,

BAL_GLB_SEARCH_LOG

BAL_LOG_HDR_READ

BAL_LOG_MSG_READ

But i am not getting any logs.

Where as in slg1, i am getting logs.

I checked out S_DEMO programs but i am not getting the required info.

Could anyone help me in providing Skeleton for given scenario

Thanks and Regards

Path

3 REPLIES 3
Read only

Former Member
0 Likes
708

After some searching in the documentation for FM BAL_GLB_SEARCH_LOG and some debugging, I realized the logs for BAL_GLB_SEARCH_LOG reside in memory, not the database.

These demo programs are interesting - much better display than SLG1 I think so now I might try to make a program like the demo but for the database. If I come accross your answer, I'll let you know.

Read only

Former Member
708

I got this sequence of FM to run without errors.

BAL_DB_SEARCH - searches the database

BAL_DB_LOAD - loads the log into memory

BAL_LOG_HDR_READ - read the header from memory

... from here it should progress as in the demo since the log entries are in memory!

Read only

Sandra_Rossi
Active Contributor
0 Likes
708

I don't understand why you can't take advantage of existing SBAL_DEMO_* programs. Especially SBAL_DEMO_03 in your case (as it uses BAL_GLB_SEARCH_LOG). They are like skeletons.