Skip to Content
0

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

Jul 26, 2017 at 12:21 PM

50

avatar image
Former Member

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

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

1 Answer

Raymond Giuseppi
Jul 26, 2017 at 12:47 PM
0

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'
Share
10 |10000 characters needed characters left characters exceeded