SAP FVD_BANK_DATA_DB_UPDATE_CML_FI Function Module for Anpassen CML und FI Belege
FVD_BANK_DATA_DB_UPDATE_CML_FI is a standard fvd bank data db update cml fi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Anpassen CML und FI Belege 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 fvd bank data db update cml fi FM, simply by entering the name FVD_BANK_DATA_DB_UPDATE_CML_FI into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_BANK_DATA_DB
Program Name: SAPLFVD_BANK_DATA_DB
Main Program: SAPLFVD_BANK_DATA_DB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_BANK_DATA_DB_UPDATE_CML_FI 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 'FVD_BANK_DATA_DB_UPDATE_CML_FI'"Anpassen CML und FI Belege.
EXPORTING
I_OPENITEMS = "Tabellentyp für Tabelle BSID
I_RITEMS = "Tabellentyp von RITEMS_LOAN
I_ACTIVE_FIELDS = "Felder für Änderung
* I_CALLN_APPLN = "Aufruf der Applikation
* I_FLG_NO_DB_UPDATE = ' ' "Kennzeichen für Simulationsmodus
* I_LOG_HANDLE = "Anwendungs-Log: Handle eines Protokolls
* I_UPDATE_GROUP = "Gruppierung von Einträgen innerhalb eines Verbuchungsobjekte
IMPORTING
E_CHANGED = "Einstelliges Kennzeichen
E_T_FAILED_ITEMS = "Tabelle der nicht bearbeiteten Posten
EXCEPTIONS
FI_DOC_NOT_READ = 1 FI_DOC_NOT_UPDATED = 2 CML_DOC_NOT_READ = 3 CML_DOC_NOT_UPDATED = 4
IMPORTING Parameters details for FVD_BANK_DATA_DB_UPDATE_CML_FI
I_OPENITEMS - Tabellentyp für Tabelle BSID
Data type: TRTY_BSIDOptional: No
Call by Reference: Yes
I_RITEMS - Tabellentyp von RITEMS_LOAN
Data type: TRTY_RITEMS_LOANOptional: No
Call by Reference: Yes
I_ACTIVE_FIELDS - Felder für Änderung
Data type: RACTIVE_FIELDSOptional: No
Call by Reference: Yes
I_CALLN_APPLN - Aufruf der Applikation
Data type: TB_CALL_APPLNOptional: Yes
Call by Reference: Yes
I_FLG_NO_DB_UPDATE - Kennzeichen für Simulationsmodus
Data type: FLAGDefault: SPACE
Optional: No
Call by Reference: Yes
I_LOG_HANDLE - Anwendungs-Log: Handle eines Protokolls
Data type: BALLOGHNDLOptional: Yes
Call by Reference: Yes
I_UPDATE_GROUP - Gruppierung von Einträgen innerhalb eines Verbuchungsobjekte
Data type: SUPDATE_GROUPOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FVD_BANK_DATA_DB_UPDATE_CML_FI
E_CHANGED - Einstelliges Kennzeichen
Data type: CHAR1Optional: No
Call by Reference: Yes
E_T_FAILED_ITEMS - Tabelle der nicht bearbeiteten Posten
Data type: TRTY_BSIDOptional: No
Call by Reference: Yes
EXCEPTIONS details
FI_DOC_NOT_READ - FI document not read
Data type:Optional: No
Call by Reference: Yes
FI_DOC_NOT_UPDATED - FI document not updated
Data type:Optional: No
Call by Reference: Yes
CML_DOC_NOT_READ - CML document not read
Data type:Optional: No
Call by Reference: Yes
CML_DOC_NOT_UPDATED - CML document not updated
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_BANK_DATA_DB_UPDATE_CML_FI 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_changed | TYPE CHAR1, " | |||
| lv_i_openitems | TYPE TRTY_BSID, " | |||
| lv_fi_doc_not_read | TYPE TRTY_BSID, " | |||
| lv_i_ritems | TYPE TRTY_RITEMS_LOAN, " | |||
| lv_e_t_failed_items | TYPE TRTY_BSID, " | |||
| lv_fi_doc_not_updated | TYPE TRTY_BSID, " | |||
| lv_i_active_fields | TYPE RACTIVE_FIELDS, " | |||
| lv_cml_doc_not_read | TYPE RACTIVE_FIELDS, " | |||
| lv_i_calln_appln | TYPE TB_CALL_APPLN, " | |||
| lv_cml_doc_not_updated | TYPE TB_CALL_APPLN, " | |||
| lv_i_flg_no_db_update | TYPE FLAG, " SPACE | |||
| lv_i_log_handle | TYPE BALLOGHNDL, " | |||
| lv_i_update_group | TYPE SUPDATE_GROUP. " |
|   CALL FUNCTION 'FVD_BANK_DATA_DB_UPDATE_CML_FI' "Anpassen CML und FI Belege |
| EXPORTING | ||
| I_OPENITEMS | = lv_i_openitems | |
| I_RITEMS | = lv_i_ritems | |
| I_ACTIVE_FIELDS | = lv_i_active_fields | |
| I_CALLN_APPLN | = lv_i_calln_appln | |
| I_FLG_NO_DB_UPDATE | = lv_i_flg_no_db_update | |
| I_LOG_HANDLE | = lv_i_log_handle | |
| I_UPDATE_GROUP | = lv_i_update_group | |
| IMPORTING | ||
| E_CHANGED | = lv_e_changed | |
| E_T_FAILED_ITEMS | = lv_e_t_failed_items | |
| EXCEPTIONS | ||
| FI_DOC_NOT_READ = 1 | ||
| FI_DOC_NOT_UPDATED = 2 | ||
| CML_DOC_NOT_READ = 3 | ||
| CML_DOC_NOT_UPDATED = 4 | ||
| . " FVD_BANK_DATA_DB_UPDATE_CML_FI | ||
ABAP code using 7.40 inline data declarations to call FM FVD_BANK_DATA_DB_UPDATE_CML_FI
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_i_flg_no_db_update) | = ' '. | |||
Search for further information about these or an SAP related objects