SAP BBPLOC_SHLP_CALL Function Module for Search help validation for local system
BBPLOC_SHLP_CALL is a standard bbploc shlp call 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 validation for local system 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 bbploc shlp call FM, simply by entering the name BBPLOC_SHLP_CALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_BD_DRIVER_LOCAL
Program Name: SAPLBBP_BD_DRIVER_LOCAL
Main Program: SAPLBBP_BD_DRIVER_LOCAL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BBPLOC_SHLP_CALL 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 'BBPLOC_SHLP_CALL'"Search help validation for local system.
EXPORTING
SHLP_FIELD = "Technical Field to Determine a Search Help
TABLES
CONTROL_RECORD = "Control Record for META BAPI control
INTERFACE = "Interface description of a F4 help method
RETURN_TAB = "Interface Structure Search Help <-> Help System
EXCEPTIONS
FIELD_NOT_FOUND = 1 NO_HELP_FOR_FIELD = 2 INCONSISTENT_HELP = 3 NO_VALUES_FOUND = 4
IMPORTING Parameters details for BBPLOC_SHLP_CALL
SHLP_FIELD - Technical Field to Determine a Search Help
Data type: BBP_SHLP_FIELDOptional: No
Call by Reference: Yes
TABLES Parameters details for BBPLOC_SHLP_CALL
CONTROL_RECORD - Control Record for META BAPI control
Data type: BBP_CONTROL_RECORDOptional: No
Call by Reference: Yes
INTERFACE - Interface description of a F4 help method
Data type: DDSHIFACEOptional: No
Call by Reference: Yes
RETURN_TAB - Interface Structure Search Help <-> Help System
Data type: DDSHRETVALOptional: No
Call by Reference: Yes
EXCEPTIONS details
FIELD_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
NO_HELP_FOR_FIELD -
Data type:Optional: No
Call by Reference: Yes
INCONSISTENT_HELP -
Data type:Optional: No
Call by Reference: Yes
NO_VALUES_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for BBPLOC_SHLP_CALL 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_shlp_field | TYPE BBP_SHLP_FIELD, " | |||
| lt_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD, " | |||
| lv_field_not_found | TYPE BBP_CONTROL_RECORD, " | |||
| lt_interface | TYPE STANDARD TABLE OF DDSHIFACE, " | |||
| lv_no_help_for_field | TYPE DDSHIFACE, " | |||
| lt_return_tab | TYPE STANDARD TABLE OF DDSHRETVAL, " | |||
| lv_inconsistent_help | TYPE DDSHRETVAL, " | |||
| lv_no_values_found | TYPE DDSHRETVAL. " |
|   CALL FUNCTION 'BBPLOC_SHLP_CALL' "Search help validation for local system |
| EXPORTING | ||
| SHLP_FIELD | = lv_shlp_field | |
| TABLES | ||
| CONTROL_RECORD | = lt_control_record | |
| INTERFACE | = lt_interface | |
| RETURN_TAB | = lt_return_tab | |
| EXCEPTIONS | ||
| FIELD_NOT_FOUND = 1 | ||
| NO_HELP_FOR_FIELD = 2 | ||
| INCONSISTENT_HELP = 3 | ||
| NO_VALUES_FOUND = 4 | ||
| . " BBPLOC_SHLP_CALL | ||
ABAP code using 7.40 inline data declarations to call FM BBPLOC_SHLP_CALL
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.Search for further information about these or an SAP related objects