SAP APPL_LOG_DISPLAY_INTERN Function Module for Application Log: Read local memory









APPL_LOG_DISPLAY_INTERN is a standard appl log display intern SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Application Log: Read local memory processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for appl log display intern FM, simply by entering the name APPL_LOG_DISPLAY_INTERN into the relevant SAP transaction such as SE37 or SE38.

Function Group: SLG3
Program Name: SAPLSLG3
Main Program: SAPLSLG3
Appliation area:
Release date: 22-Dec-1994
Mode(Normal, Remote etc): Normal Function Module
Update:



Function APPL_LOG_DISPLAY_INTERN pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'APPL_LOG_DISPLAY_INTERN'"Application Log: Read local memory
EXPORTING
OBJECT = "Object name
* SUBOBJECT = ' ' "Subobject name
* TITLE_LIST_SCREEN = ' ' "Log display title
* COLUMN_SELECTION = '11112221122 ' "Selection of columns in the header list
* COLUMN_SELECTION_MSG_JUMP = '1' "
* EXTERNAL_NUMBER_DISPLAY_LENGTH = 20 "
* I_S_DISPLAY_PROFILE = "

IMPORTING
NUMBER_OF_PROTOCOLS = "Number of logs read

EXCEPTIONS
OBJECT_NOT_FOUND = 1 SUBOBJECT_NOT_FOUND = 2
.



IMPORTING Parameters details for APPL_LOG_DISPLAY_INTERN

OBJECT - Object name

Data type: BALHDR-OBJECT
Optional: No
Call by Reference: No ( called with pass by value option)

SUBOBJECT - Subobject name

Data type: BALHDR-SUBOBJECT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TITLE_LIST_SCREEN - Log display title

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

COLUMN_SELECTION - Selection of columns in the header list

Data type: BALDISP
Default: '11112221122 '
Optional: Yes
Call by Reference: No ( called with pass by value option)

COLUMN_SELECTION_MSG_JUMP -

Data type: BALDISP2-MSG_JUMP
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXTERNAL_NUMBER_DISPLAY_LENGTH -

Data type: I
Default: 20
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_S_DISPLAY_PROFILE -

Data type: BAL_S_PROF
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for APPL_LOG_DISPLAY_INTERN

NUMBER_OF_PROTOCOLS - Number of logs read

Data type: SY-DBCNT
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

OBJECT_NOT_FOUND - Object not found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

SUBOBJECT_NOT_FOUND - Subobject not found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for APPL_LOG_DISPLAY_INTERN Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_object  TYPE BALHDR-OBJECT, "   
lv_object_not_found  TYPE BALHDR, "   
lv_number_of_protocols  TYPE SY-DBCNT, "   
lv_subobject  TYPE BALHDR-SUBOBJECT, "   SPACE
lv_subobject_not_found  TYPE BALHDR, "   
lv_title_list_screen  TYPE BALHDR, "   SPACE
lv_column_selection  TYPE BALDISP, "   '11112221122 '
lv_column_selection_msg_jump  TYPE BALDISP2-MSG_JUMP, "   '1'
lv_external_number_display_length  TYPE I, "   20
lv_i_s_display_profile  TYPE BAL_S_PROF. "   

  CALL FUNCTION 'APPL_LOG_DISPLAY_INTERN'  "Application Log: Read local memory
    EXPORTING
         OBJECT = lv_object
         SUBOBJECT = lv_subobject
         TITLE_LIST_SCREEN = lv_title_list_screen
         COLUMN_SELECTION = lv_column_selection
         COLUMN_SELECTION_MSG_JUMP = lv_column_selection_msg_jump
         EXTERNAL_NUMBER_DISPLAY_LENGTH = lv_external_number_display_length
         I_S_DISPLAY_PROFILE = lv_i_s_display_profile
    IMPORTING
         NUMBER_OF_PROTOCOLS = lv_number_of_protocols
    EXCEPTIONS
        OBJECT_NOT_FOUND = 1
        SUBOBJECT_NOT_FOUND = 2
. " APPL_LOG_DISPLAY_INTERN




ABAP code using 7.40 inline data declarations to call FM APPL_LOG_DISPLAY_INTERN

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single OBJECT FROM BALHDR INTO @DATA(ld_object).
 
 
"SELECT single DBCNT FROM SY INTO @DATA(ld_number_of_protocols).
 
"SELECT single SUBOBJECT FROM BALHDR INTO @DATA(ld_subobject).
DATA(ld_subobject) = ' '.
 
 
DATA(ld_title_list_screen) = ' '.
 
DATA(ld_column_selection) = '11112221122 '.
 
"SELECT single MSG_JUMP FROM BALDISP2 INTO @DATA(ld_column_selection_msg_jump).
DATA(ld_column_selection_msg_jump) = '1'.
 
DATA(ld_external_number_display_length) = 20.
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!