Skip to Content
avatar image
Former Member

Can we display application log in our own custom container on screen

Hi,

I want to display the application log in my custom container of screen.

i have loded the log by using these FMs.

step 1:setting filter by using

BAL_FILTER_CREATE

step 2:

BAL_DB_SEARCH and then BAL_Log_exist and then calling BAL_db_load

step 3:getting the standard display profile BAL_DSP_profile_standard_get

step:after this i tried to display the data by using BAl_cntl_create FM but its not working

its not displaying any data

however i checked in log handle parameter there are 20 records.

Is ther any way through which i can dispay the data in my custome control

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 26, 2017 at 12:47 PM

    Look at sample report SBAL_DEMO_04 in the available options there is display in a subscreen (report SBAL_DEMO_04_SUBSCREEN)

    Look for:

    CALL FUNCTION 'BAL_LOG_CREATE', 'BAL_LOG_MSG_ADD', etc.
    CALL FUNCTION 'BAL_DSP_OUTPUT_INIT, 'BAL_DSP_OUTPUT_SET_DATA'
    CALL SUBSCREEN subscreen INCLUDING 'SAPLSBAL_DISPLAY' '0101'.
    CALL FUNCTION 'BAL_DSP_OUTPUT_FREE'
    Add comment
    10|10000 characters needed characters exceeded