SAP CHECK_FORM_ITF_SYNTAX Function Module for SAPscript: Check all window text of a form
CHECK_FORM_ITF_SYNTAX is a standard check form itf syntax SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for SAPscript: Check all window text of a form 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 check form itf syntax FM, simply by entering the name CHECK_FORM_ITF_SYNTAX into the relevant SAP transaction such as SE37 or SE38.
Function Group: STSC
Program Name: SAPLSTSC
Main Program:
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CHECK_FORM_ITF_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 'CHECK_FORM_ITF_SYNTAX'"SAPscript: Check all window text of a form.
EXPORTING
HEADER = "
* DISPLAY = 'X' "
* SYMBOL_CHECK = ' ' "
* SYMBOL_FORM = "
* SYMBOL_PROGRAM = "
* DIALOG = 'X' "
IMPORTING
ERROR_OR_WARNING_FOUND = "
ERRORS = "
WARNINGS = "
TABLES
FORM_LINES = "
PARAGRAPHS = "
STRINGS = "
WINDOWS = "
EXCEPTIONS
EMPTY = 1 CANCELED = 2 PANIC = 3
IMPORTING Parameters details for CHECK_FORM_ITF_SYNTAX
HEADER -
Data type: THEADOptional: No
Call by Reference: No ( called with pass by value option)
DISPLAY -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SYMBOL_CHECK -
Data type: CDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
SYMBOL_FORM -
Data type: THEAD-TDFORMOptional: Yes
Call by Reference: No ( called with pass by value option)
SYMBOL_PROGRAM -
Data type: PROGRAMOptional: Yes
Call by Reference: No ( called with pass by value option)
DIALOG -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CHECK_FORM_ITF_SYNTAX
ERROR_OR_WARNING_FOUND -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
ERRORS -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
WARNINGS -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CHECK_FORM_ITF_SYNTAX
FORM_LINES -
Data type: TLINEOptional: No
Call by Reference: No ( called with pass by value option)
PARAGRAPHS -
Data type: ITCDPOptional: No
Call by Reference: No ( called with pass by value option)
STRINGS -
Data type: ITCDSOptional: No
Call by Reference: No ( called with pass by value option)
WINDOWS -
Data type: ITCTWOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
EMPTY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CANCELED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PANIC -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CHECK_FORM_ITF_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_empty | TYPE STRING, " | |||
| lv_header | TYPE THEAD, " | |||
| lt_form_lines | TYPE STANDARD TABLE OF TLINE, " | |||
| lv_error_or_warning_found | TYPE C, " | |||
| lv_errors | TYPE I, " | |||
| lv_display | TYPE C, " 'X' | |||
| lv_canceled | TYPE C, " | |||
| lt_paragraphs | TYPE STANDARD TABLE OF ITCDP, " | |||
| lv_panic | TYPE ITCDP, " | |||
| lt_strings | TYPE STANDARD TABLE OF ITCDS, " | |||
| lv_warnings | TYPE I, " | |||
| lv_symbol_check | TYPE C, " ' ' | |||
| lt_windows | TYPE STANDARD TABLE OF ITCTW, " | |||
| lv_symbol_form | TYPE THEAD-TDFORM, " | |||
| lv_symbol_program | TYPE PROGRAM, " | |||
| lv_dialog | TYPE C. " 'X' |
|   CALL FUNCTION 'CHECK_FORM_ITF_SYNTAX' "SAPscript: Check all window text of a form |
| EXPORTING | ||
| HEADER | = lv_header | |
| DISPLAY | = lv_display | |
| SYMBOL_CHECK | = lv_symbol_check | |
| SYMBOL_FORM | = lv_symbol_form | |
| SYMBOL_PROGRAM | = lv_symbol_program | |
| DIALOG | = lv_dialog | |
| IMPORTING | ||
| ERROR_OR_WARNING_FOUND | = lv_error_or_warning_found | |
| ERRORS | = lv_errors | |
| WARNINGS | = lv_warnings | |
| TABLES | ||
| FORM_LINES | = lt_form_lines | |
| PARAGRAPHS | = lt_paragraphs | |
| STRINGS | = lt_strings | |
| WINDOWS | = lt_windows | |
| EXCEPTIONS | ||
| EMPTY = 1 | ||
| CANCELED = 2 | ||
| PANIC = 3 | ||
| . " CHECK_FORM_ITF_SYNTAX | ||
ABAP code using 7.40 inline data declarations to call FM CHECK_FORM_ITF_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.| DATA(ld_display) | = 'X'. | |||
| DATA(ld_symbol_check) | = ' '. | |||
| "SELECT single TDFORM FROM THEAD INTO @DATA(ld_symbol_form). | ||||
| DATA(ld_dialog) | = 'X'. | |||
Search for further information about these or an SAP related objects