SAP APB_LPD_SH_ALV_LAYOUT Function Module for Search Help: BI Query
APB_LPD_SH_ALV_LAYOUT is a standard apb lpd sh alv layout SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Search Help: BI Query 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 apb lpd sh alv layout FM, simply by entering the name APB_LPD_SH_ALV_LAYOUT into the relevant SAP transaction such as SE37 or SE38.
Function Group: APB_LPD_RFC_SEARCH_HELP
Program Name: SAPLAPB_LPD_RFC_SEARCH_HELP
Main Program: SAPLAPB_LPD_RFC_SEARCH_HELP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function APB_LPD_SH_ALV_LAYOUT 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 'APB_LPD_SH_ALV_LAYOUT'"Search Help: BI Query.
EXPORTING
ID_CONFIG_ID = "
* ID_CONFIG_VAR = "Web Dynpro: Configuration of Additional Variant
* ID_MAX_RECORDS = 0 "Natural number
* ID_LANGU = SY-LANGU "Language Key of Current Text Environment
* ID_USER = "User Name
IMPORTING
ET_RECORDS = "F4 Help
EXCEPTIONS
NO_F4_AVAILABLE = 1
IMPORTING Parameters details for APB_LPD_SH_ALV_LAYOUT
ID_CONFIG_ID -
Data type: WDY_CONFIG_IDOptional: No
Call by Reference: No ( called with pass by value option)
ID_CONFIG_VAR - Web Dynpro: Configuration of Additional Variant
Data type: WDY_CONFIG_VAROptional: Yes
Call by Reference: No ( called with pass by value option)
ID_MAX_RECORDS - Natural number
Data type: INT4Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_LANGU - Language Key of Current Text Environment
Data type: SYLANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_USER - User Name
Data type: UNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for APB_LPD_SH_ALV_LAYOUT
ET_RECORDS - F4 Help
Data type: WDR_PERS_VARIANTSOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_F4_AVAILABLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for APB_LPD_SH_ALV_LAYOUT 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_et_records | TYPE WDR_PERS_VARIANTS, " | |||
lv_id_config_id | TYPE WDY_CONFIG_ID, " | |||
lv_no_f4_available | TYPE WDY_CONFIG_ID, " | |||
lv_id_config_var | TYPE WDY_CONFIG_VAR, " | |||
lv_id_max_records | TYPE INT4, " 0 | |||
lv_id_langu | TYPE SYLANGU, " SY-LANGU | |||
lv_id_user | TYPE UNAME. " |
  CALL FUNCTION 'APB_LPD_SH_ALV_LAYOUT' "Search Help: BI Query |
EXPORTING | ||
ID_CONFIG_ID | = lv_id_config_id | |
ID_CONFIG_VAR | = lv_id_config_var | |
ID_MAX_RECORDS | = lv_id_max_records | |
ID_LANGU | = lv_id_langu | |
ID_USER | = lv_id_user | |
IMPORTING | ||
ET_RECORDS | = lv_et_records | |
EXCEPTIONS | ||
NO_F4_AVAILABLE = 1 | ||
. " APB_LPD_SH_ALV_LAYOUT |
ABAP code using 7.40 inline data declarations to call FM APB_LPD_SH_ALV_LAYOUT
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.DATA(ld_id_langu) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects