SAP EXPECTED_CASH_FLOW_DATE_GET Function Module for
EXPECTED_CASH_FLOW_DATE_GET is a standard expected cash flow date get 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 expected cash flow date get FM, simply by entering the name EXPECTED_CASH_FLOW_DATE_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMFA_CORE
Program Name: SAPLFMFA_CORE
Main Program: SAPLFMFA_CORE
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXPECTED_CASH_FLOW_DATE_GET 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 'EXPECTED_CASH_FLOW_DATE_GET'".
EXPORTING
I_BUKRS = "
I_ZBD1P = "
* I_UMSKS = ' ' "
* I_UMSKZ = ' ' "
I_SHKZG = "
* I_REBZG = ' ' "
I_KOART = "
* I_KUNNR = ' ' "
I_BUDAT = "
* I_VALUT = '00000000' "
* I_ZFBDT = '00000000' "
I_ZBD1T = "
I_ZBD2T = "
I_ZBD3T = "
IMPORTING
E_ZHLDT = "
IMPORTING Parameters details for EXPECTED_CASH_FLOW_DATE_GET
I_BUKRS -
Data type: FMBP-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_ZBD1P -
Data type: FMBP-ZBD1POptional: No
Call by Reference: No ( called with pass by value option)
I_UMSKS -
Data type: FMBP-UMSKSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_UMSKZ -
Data type: FMBP-UMSKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SHKZG -
Data type: FMBP-SHKZGOptional: No
Call by Reference: No ( called with pass by value option)
I_REBZG -
Data type: FMBP-REBZGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KOART -
Data type: FMBP-KOARTOptional: No
Call by Reference: No ( called with pass by value option)
I_KUNNR -
Data type: FMBP-KUNNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BUDAT -
Data type: FMBK-BUDATOptional: No
Call by Reference: No ( called with pass by value option)
I_VALUT -
Data type: FMBP-VALUTDefault: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ZFBDT -
Data type: FMBP-ZFBDTDefault: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ZBD1T -
Data type: FMBP-ZBD1TOptional: No
Call by Reference: No ( called with pass by value option)
I_ZBD2T -
Data type: FMBP-ZBD2TOptional: No
Call by Reference: No ( called with pass by value option)
I_ZBD3T -
Data type: FMBP-ZBD3TOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXPECTED_CASH_FLOW_DATE_GET
E_ZHLDT -
Data type: FMEPIN-ZHLDTOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXPECTED_CASH_FLOW_DATE_GET 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_e_zhldt | TYPE FMEPIN-ZHLDT, " | |||
| lv_i_bukrs | TYPE FMBP-BUKRS, " | |||
| lv_i_zbd1p | TYPE FMBP-ZBD1P, " | |||
| lv_i_umsks | TYPE FMBP-UMSKS, " SPACE | |||
| lv_i_umskz | TYPE FMBP-UMSKZ, " SPACE | |||
| lv_i_shkzg | TYPE FMBP-SHKZG, " | |||
| lv_i_rebzg | TYPE FMBP-REBZG, " SPACE | |||
| lv_i_koart | TYPE FMBP-KOART, " | |||
| lv_i_kunnr | TYPE FMBP-KUNNR, " SPACE | |||
| lv_i_budat | TYPE FMBK-BUDAT, " | |||
| lv_i_valut | TYPE FMBP-VALUT, " '00000000' | |||
| lv_i_zfbdt | TYPE FMBP-ZFBDT, " '00000000' | |||
| lv_i_zbd1t | TYPE FMBP-ZBD1T, " | |||
| lv_i_zbd2t | TYPE FMBP-ZBD2T, " | |||
| lv_i_zbd3t | TYPE FMBP-ZBD3T. " |
|   CALL FUNCTION 'EXPECTED_CASH_FLOW_DATE_GET' " |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_ZBD1P | = lv_i_zbd1p | |
| I_UMSKS | = lv_i_umsks | |
| I_UMSKZ | = lv_i_umskz | |
| I_SHKZG | = lv_i_shkzg | |
| I_REBZG | = lv_i_rebzg | |
| I_KOART | = lv_i_koart | |
| I_KUNNR | = lv_i_kunnr | |
| I_BUDAT | = lv_i_budat | |
| I_VALUT | = lv_i_valut | |
| I_ZFBDT | = lv_i_zfbdt | |
| I_ZBD1T | = lv_i_zbd1t | |
| I_ZBD2T | = lv_i_zbd2t | |
| I_ZBD3T | = lv_i_zbd3t | |
| IMPORTING | ||
| E_ZHLDT | = lv_e_zhldt | |
| . " EXPECTED_CASH_FLOW_DATE_GET | ||
ABAP code using 7.40 inline data declarations to call FM EXPECTED_CASH_FLOW_DATE_GET
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 ZHLDT FROM FMEPIN INTO @DATA(ld_e_zhldt). | ||||
| "SELECT single BUKRS FROM FMBP INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single ZBD1P FROM FMBP INTO @DATA(ld_i_zbd1p). | ||||
| "SELECT single UMSKS FROM FMBP INTO @DATA(ld_i_umsks). | ||||
| DATA(ld_i_umsks) | = ' '. | |||
| "SELECT single UMSKZ FROM FMBP INTO @DATA(ld_i_umskz). | ||||
| DATA(ld_i_umskz) | = ' '. | |||
| "SELECT single SHKZG FROM FMBP INTO @DATA(ld_i_shkzg). | ||||
| "SELECT single REBZG FROM FMBP INTO @DATA(ld_i_rebzg). | ||||
| DATA(ld_i_rebzg) | = ' '. | |||
| "SELECT single KOART FROM FMBP INTO @DATA(ld_i_koart). | ||||
| "SELECT single KUNNR FROM FMBP INTO @DATA(ld_i_kunnr). | ||||
| DATA(ld_i_kunnr) | = ' '. | |||
| "SELECT single BUDAT FROM FMBK INTO @DATA(ld_i_budat). | ||||
| "SELECT single VALUT FROM FMBP INTO @DATA(ld_i_valut). | ||||
| DATA(ld_i_valut) | = '00000000'. | |||
| "SELECT single ZFBDT FROM FMBP INTO @DATA(ld_i_zfbdt). | ||||
| DATA(ld_i_zfbdt) | = '00000000'. | |||
| "SELECT single ZBD1T FROM FMBP INTO @DATA(ld_i_zbd1t). | ||||
| "SELECT single ZBD2T FROM FMBP INTO @DATA(ld_i_zbd2t). | ||||
| "SELECT single ZBD3T FROM FMBP INTO @DATA(ld_i_zbd3t). | ||||
Search for further information about these or an SAP related objects