SAP FAA_DC_ENGINE_CALL_ON_RET Function Module for
FAA_DC_ENGINE_CALL_ON_RET is a standard faa dc engine call on ret 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 faa dc engine call on ret FM, simply by entering the name FAA_DC_ENGINE_CALL_ON_RET into the relevant SAP transaction such as SE37 or SE38.
Function Group: FAA_DC_ERP
Program Name: SAPLFAA_DC_ERP
Main Program: SAPLFAA_DC_ERP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FAA_DC_ENGINE_CALL_ON_RET 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 'FAA_DC_ENGINE_CALL_ON_RET'".
EXPORTING
IS_POSTING_INFO = "Help structure for asset line item
* IB_WRITE_TRACE = "Checkbox
IB_CALC_CLOSED_YEARS = "Checkbox
IS_ANTS = "
IMPORTING
EB_USE_OLD_CALC = "
EO_SEGMENT_HANDLE = "Data Object Reference
TABLES
* IT_ANEPI = "Interface Structure for Posting to Assets
* IT_ANLZ = "
* CT_ANLB = "Depreciation Terms
* CT_ANLC = "Asset Value Fields
* ET_ANFM = "Error messages from dep. calc.
* ET_ANEA_NEW = "Asset Value Fields
* ET_ANEA_OLD = "Asset Value Fields
* ET_ANEP_NEW = "Asset Value Fields
* ET_ANEP_OLD = "Asset Value Fields
EXCEPTIONS
ERROR_OCCURRED = 1 NO_VALUES = 2 INV_SUPPORT = 3
IMPORTING Parameters details for FAA_DC_ENGINE_CALL_ON_RET
IS_POSTING_INFO - Help structure for asset line item
Data type: RLAMBUOptional: No
Call by Reference: Yes
IB_WRITE_TRACE - Checkbox
Data type: XFELDOptional: Yes
Call by Reference: Yes
IB_CALC_CLOSED_YEARS - Checkbox
Data type: XFELDOptional: No
Call by Reference: Yes
IS_ANTS -
Data type: ANTSOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FAA_DC_ENGINE_CALL_ON_RET
EB_USE_OLD_CALC -
Data type: BOOLEANOptional: No
Call by Reference: Yes
EO_SEGMENT_HANDLE - Data Object Reference
Data type: FAA_DC_SEGMENT_HANDLEOptional: No
Call by Reference: Yes
TABLES Parameters details for FAA_DC_ENGINE_CALL_ON_RET
IT_ANEPI - Interface Structure for Posting to Assets
Data type: ANEPIOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_ANLZ -
Data type: ANLZOptional: Yes
Call by Reference: No ( called with pass by value option)
CT_ANLB - Depreciation Terms
Data type: ANLBOptional: Yes
Call by Reference: No ( called with pass by value option)
CT_ANLC - Asset Value Fields
Data type: ANLCOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ANFM - Error messages from dep. calc.
Data type: ANFMOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_ANEA_NEW - Asset Value Fields
Data type: ANEAOptional: Yes
Call by Reference: Yes
ET_ANEA_OLD - Asset Value Fields
Data type: ANEAOptional: Yes
Call by Reference: Yes
ET_ANEP_NEW - Asset Value Fields
Data type: ANEPOptional: Yes
Call by Reference: Yes
ET_ANEP_OLD - Asset Value Fields
Data type: ANEPOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
ERROR_OCCURRED -
Data type:Optional: No
Call by Reference: Yes
NO_VALUES -
Data type:Optional: No
Call by Reference: Yes
INV_SUPPORT -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FAA_DC_ENGINE_CALL_ON_RET 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: | ||||
| lt_it_anepi | TYPE STANDARD TABLE OF ANEPI, " | |||
| lv_error_occurred | TYPE ANEPI, " | |||
| lv_eb_use_old_calc | TYPE BOOLEAN, " | |||
| lv_is_posting_info | TYPE RLAMBU, " | |||
| lt_it_anlz | TYPE STANDARD TABLE OF ANLZ, " | |||
| lv_no_values | TYPE ANLZ, " | |||
| lv_ib_write_trace | TYPE XFELD, " | |||
| lv_eo_segment_handle | TYPE FAA_DC_SEGMENT_HANDLE, " | |||
| lt_ct_anlb | TYPE STANDARD TABLE OF ANLB, " | |||
| lv_inv_support | TYPE ANLB, " | |||
| lv_ib_calc_closed_years | TYPE XFELD, " | |||
| lt_ct_anlc | TYPE STANDARD TABLE OF ANLC, " | |||
| lv_is_ants | TYPE ANTS, " | |||
| lt_et_anfm | TYPE STANDARD TABLE OF ANFM, " | |||
| lt_et_anea_new | TYPE STANDARD TABLE OF ANEA, " | |||
| lt_et_anea_old | TYPE STANDARD TABLE OF ANEA, " | |||
| lt_et_anep_new | TYPE STANDARD TABLE OF ANEP, " | |||
| lt_et_anep_old | TYPE STANDARD TABLE OF ANEP. " |
|   CALL FUNCTION 'FAA_DC_ENGINE_CALL_ON_RET' " |
| EXPORTING | ||
| IS_POSTING_INFO | = lv_is_posting_info | |
| IB_WRITE_TRACE | = lv_ib_write_trace | |
| IB_CALC_CLOSED_YEARS | = lv_ib_calc_closed_years | |
| IS_ANTS | = lv_is_ants | |
| IMPORTING | ||
| EB_USE_OLD_CALC | = lv_eb_use_old_calc | |
| EO_SEGMENT_HANDLE | = lv_eo_segment_handle | |
| TABLES | ||
| IT_ANEPI | = lt_it_anepi | |
| IT_ANLZ | = lt_it_anlz | |
| CT_ANLB | = lt_ct_anlb | |
| CT_ANLC | = lt_ct_anlc | |
| ET_ANFM | = lt_et_anfm | |
| ET_ANEA_NEW | = lt_et_anea_new | |
| ET_ANEA_OLD | = lt_et_anea_old | |
| ET_ANEP_NEW | = lt_et_anep_new | |
| ET_ANEP_OLD | = lt_et_anep_old | |
| EXCEPTIONS | ||
| ERROR_OCCURRED = 1 | ||
| NO_VALUES = 2 | ||
| INV_SUPPORT = 3 | ||
| . " FAA_DC_ENGINE_CALL_ON_RET | ||
ABAP code using 7.40 inline data declarations to call FM FAA_DC_ENGINE_CALL_ON_RET
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