BTFR_CHECK is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BTFR_CHECK into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BTFR_SERVICES_INT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BTFR_CHECK' "
EXPORTING
* langu = SY-LANGU " sprsl
* alias = " sotr_alias Unique Alias Name for OTR Concept
check = " btfr_check Internal Checks
* text = " btfr_text-text Text Field in the OTR
* string = " btfr_string-text Text Field
* flag_string = " btfr_f_string Indicator: 'X': Long Text (String), ' ': Short Text
* message_type = 'E' " symsgty
* object_type = " trobjtype
* object_name = " trobj_name
IMPORTING
alias_new = " sotr_alias Unique Alias Name for OTR Concept
check_result = " btfr_check_result_tt Check Texts, Error Table
CHANGING
btfr_head = " btfr_head Structure for Header Fields
EXCEPTIONS
INVALID_PACKAGE = 1 "
. " BTFR_CHECK
The ABAP code below is a full code listing to execute function module BTFR_CHECK including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_alias_new | TYPE SOTR_ALIAS , |
| ld_check_result | TYPE BTFR_CHECK_RESULT_TT . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_btfr_head | TYPE BTFR_HEAD , |
| ld_alias_new | TYPE SOTR_ALIAS , |
| ld_langu | TYPE SPRSL , |
| ld_check_result | TYPE BTFR_CHECK_RESULT_TT , |
| ld_alias | TYPE SOTR_ALIAS , |
| ld_check | TYPE BTFR_CHECK , |
| ld_text | TYPE BTFR_TEXT-TEXT , |
| ld_string | TYPE BTFR_STRING-TEXT , |
| ld_flag_string | TYPE BTFR_F_STRING , |
| ld_message_type | TYPE SYMSGTY , |
| ld_object_type | TYPE TROBJTYPE , |
| ld_object_name | TYPE TROBJ_NAME . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BTFR_CHECK or its description.