SAP TB_FLOW_ACCR_DEFR_CHECK Function Module for Check Accrual/Deferral Relevance of a Movement Type
TB_FLOW_ACCR_DEFR_CHECK is a standard tb flow accr defr check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check Accrual/Deferral Relevance of a Movement Type 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 tb flow accr defr check FM, simply by entering the name TB_FLOW_ACCR_DEFR_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: TB60
Program Name: SAPLTB60
Main Program: SAPLTB60
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TB_FLOW_ACCR_DEFR_CHECK 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 'TB_FLOW_ACCR_DEFR_CHECK'"Check Accrual/Deferral Relevance of a Movement Type.
EXPORTING
* ACCR_DEFR_ENTRY_IN = ' ' "Eintrag in der AT19 - eingehend
APPLICATION = "Application
FLOWTYPE = "Transaction Type
IMPORTING
ACCR_DEFR_ENTRY = "Eintrag in der AT19
EXCEPTIONS
ACCR_DEFR = 1 ACCR_DEFR_METHOD = 2 ACCR_DEFR_PROCEDURE = 3 FLOWTYPE = 4
IMPORTING Parameters details for TB_FLOW_ACCR_DEFR_CHECK
ACCR_DEFR_ENTRY_IN - Eintrag in der AT19 - eingehend
Data type: AT19Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
APPLICATION - Application
Data type: AT19-RANTYPOptional: No
Call by Reference: No ( called with pass by value option)
FLOWTYPE - Transaction Type
Data type: AT19-SBEWARTOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TB_FLOW_ACCR_DEFR_CHECK
ACCR_DEFR_ENTRY - Eintrag in der AT19
Data type: AT19Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ACCR_DEFR - Bewegungsart ist nicht abzugrenzen
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ACCR_DEFR_METHOD - Accrual/Deferral Procedure
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ACCR_DEFR_PROCEDURE - Bewegungsart hat kein oder unzulässiges Verfahr.
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FLOWTYPE - Transaction Type
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TB_FLOW_ACCR_DEFR_CHECK 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_accr_defr | TYPE STRING, " | |||
| lv_accr_defr_entry | TYPE AT19, " | |||
| lv_accr_defr_entry_in | TYPE AT19, " SPACE | |||
| lv_application | TYPE AT19-RANTYP, " | |||
| lv_accr_defr_method | TYPE AT19, " | |||
| lv_flowtype | TYPE AT19-SBEWART, " | |||
| lv_accr_defr_procedure | TYPE AT19, " | |||
| lv_flowtype | TYPE AT19. " |
|   CALL FUNCTION 'TB_FLOW_ACCR_DEFR_CHECK' "Check Accrual/Deferral Relevance of a Movement Type |
| EXPORTING | ||
| ACCR_DEFR_ENTRY_IN | = lv_accr_defr_entry_in | |
| APPLICATION | = lv_application | |
| FLOWTYPE | = lv_flowtype | |
| IMPORTING | ||
| ACCR_DEFR_ENTRY | = lv_accr_defr_entry | |
| EXCEPTIONS | ||
| ACCR_DEFR = 1 | ||
| ACCR_DEFR_METHOD = 2 | ||
| ACCR_DEFR_PROCEDURE = 3 | ||
| FLOWTYPE = 4 | ||
| . " TB_FLOW_ACCR_DEFR_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM TB_FLOW_ACCR_DEFR_CHECK
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_accr_defr_entry_in) | = ' '. | |||
| "SELECT single RANTYP FROM AT19 INTO @DATA(ld_application). | ||||
| "SELECT single SBEWART FROM AT19 INTO @DATA(ld_flowtype). | ||||
Search for further information about these or an SAP related objects