SAP G_BOOL_CHECK_SYNTAX Function Module for
G_BOOL_CHECK_SYNTAX is a standard g bool check syntax SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 g bool check syntax FM, simply by entering the name G_BOOL_CHECK_SYNTAX into the relevant SAP transaction such as SE37 or SE38.
Function Group: GBL6
Program Name: SAPLGBL6
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function G_BOOL_CHECK_SYNTAX 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 'G_BOOL_CHECK_SYNTAX'".
EXPORTING
* BOOLCLASS = ' ' "Boolean class
* BOOLID = ' ' "Boolean rule name
* BOOLTYPE = 'A' "A:rule,B:set val.,C:check val., D:set substi.
BOOL_STATEMENT = "Boolean ones printout
* B_WITH_NAMES = ' ' "'X' existence check on objects
* X_MULTILINE = ' ' "
* HANDLE_WARNINGS = 'A' "
EXCEPTIONS
SYNTAX_ERROR = 1 WARNING = 2
IMPORTING Parameters details for G_BOOL_CHECK_SYNTAX
BOOLCLASS - Boolean class
Data type: RGBLO-BOOLCLASSDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
BOOLID - Boolean rule name
Data type: RGBLO-BOOLIDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
BOOLTYPE - A:rule,B:set val.,C:check val., D:set substi.
Data type: GB90-BOOLTYPEDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
BOOL_STATEMENT - Boolean ones printout
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
B_WITH_NAMES - 'X' existence check on objects
Data type: RGBL6-BMARKDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_MULTILINE -
Data type: GB9700I-MULTILINEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
HANDLE_WARNINGS -
Data type: GB01-BEXCLUDEDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
SYNTAX_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WARNING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for G_BOOL_CHECK_SYNTAX 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_boolclass | TYPE RGBLO-BOOLCLASS, " ' ' | |||
| lv_syntax_error | TYPE RGBLO, " | |||
| lv_boolid | TYPE RGBLO-BOOLID, " ' ' | |||
| lv_warning | TYPE RGBLO, " | |||
| lv_booltype | TYPE GB90-BOOLTYPE, " 'A' | |||
| lv_bool_statement | TYPE GB90, " | |||
| lv_b_with_names | TYPE RGBL6-BMARK, " ' ' | |||
| lv_x_multiline | TYPE GB9700I-MULTILINE, " ' ' | |||
| lv_handle_warnings | TYPE GB01-BEXCLUDE. " 'A' |
|   CALL FUNCTION 'G_BOOL_CHECK_SYNTAX' " |
| EXPORTING | ||
| BOOLCLASS | = lv_boolclass | |
| BOOLID | = lv_boolid | |
| BOOLTYPE | = lv_booltype | |
| BOOL_STATEMENT | = lv_bool_statement | |
| B_WITH_NAMES | = lv_b_with_names | |
| X_MULTILINE | = lv_x_multiline | |
| HANDLE_WARNINGS | = lv_handle_warnings | |
| EXCEPTIONS | ||
| SYNTAX_ERROR = 1 | ||
| WARNING = 2 | ||
| . " G_BOOL_CHECK_SYNTAX | ||
ABAP code using 7.40 inline data declarations to call FM G_BOOL_CHECK_SYNTAX
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 BOOLCLASS FROM RGBLO INTO @DATA(ld_boolclass). | ||||
| DATA(ld_boolclass) | = ' '. | |||
| "SELECT single BOOLID FROM RGBLO INTO @DATA(ld_boolid). | ||||
| DATA(ld_boolid) | = ' '. | |||
| "SELECT single BOOLTYPE FROM GB90 INTO @DATA(ld_booltype). | ||||
| DATA(ld_booltype) | = 'A'. | |||
| "SELECT single BMARK FROM RGBL6 INTO @DATA(ld_b_with_names). | ||||
| DATA(ld_b_with_names) | = ' '. | |||
| "SELECT single MULTILINE FROM GB9700I INTO @DATA(ld_x_multiline). | ||||
| DATA(ld_x_multiline) | = ' '. | |||
| "SELECT single BEXCLUDE FROM GB01 INTO @DATA(ld_handle_warnings). | ||||
| DATA(ld_handle_warnings) | = 'A'. | |||
Search for further information about these or an SAP related objects