SAP Reports / Programs | Financial Services | Loans Management(FS-CML) SAP FS

RFV_PREP_NEW_AUTODEBIT_FORM SAP ABAP INCLUDE - Include RFV_PREP_NEW_AUTODEBIT_FORM







RFV_PREP_NEW_AUTODEBIT_FORM is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFV_PREP_NEW_AUTODEBIT_FORM into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RFV_PREP_NEW_AUTODEBIT_FORM. "Basic submit
SUBMIT RFV_PREP_NEW_AUTODEBIT_FORM AND RETURN. "Return to original report after report execution complete
SUBMIT RFV_PREP_NEW_AUTODEBIT_FORM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include RFV_PREP_NEW_AUTODEBIT_FORM


INCLUDES used within this REPORT RFV_PREP_NEW_AUTODEBIT_FORM

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RAUTODEBIT_DISPLAY' CHANGING ct_fieldcat = g_tab_fieldcatlog EXCEPTIONS OTHERS = 1.

BAL_LOG_CREATE * CALL FUNCTION 'BAL_LOG_CREATE' * EXPORTING * i_s_log = l_str_log * IMPORTING * e_log_handle = l_wrk_logh * EXCEPTIONS * log_header_inconsistent = 1 * OTHERS = 2.

BAL_LOG_MSG_ADD * CALL FUNCTION 'BAL_LOG_MSG_ADD' * EXPORTING * i_log_handle = l_wrk_logh * i_s_msg = l_wrk_msg * EXCEPTIONS * log_not_found = 1 * msg_inconsistent = 2 * log_is_full = 3 * OTHERS = 4.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_in_update_task = ' ' i_save_all = ' ' i_t_log_handle = l_tab_logh EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.

BAL_CNTL_CREATE CALL FUNCTION 'BAL_CNTL_CREATE' EXPORTING i_container = container_1 i_t_log_handle = l_tab_logh IMPORTING e_control_handle = cv_applog_control_handle EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_display_profile = l_s_display_profile i_t_log_handle = l_tab_logh EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

LVC_VARIANT_F4 CALL FUNCTION 'LVC_VARIANT_F4' EXPORTING is_variant = x_layout i_save = x_save IMPORTING e_exit = l_exit es_variant = spec_layout EXCEPTIONS not_found = 1 OTHERS = 2.

LVC_VARIANT_EXISTENCE_CHECK CALL FUNCTION 'LVC_VARIANT_EXISTENCE_CHECK' EXPORTING i_save = x_save CHANGING cs_variant = spec_layout EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

FVD_BANK_DATA_DB_UPDATE_CML_FI CALL FUNCTION 'FVD_BANK_DATA_DB_UPDATE_CML_FI' EXPORTING i_openitems = gt_bsid i_ritems = g_tab_ritems i_active_fields = lwa_active_fields i_calln_appln = con_callin_app * i_flg_no_db_update = con_true i_log_handle = g_log IMPORTING e_changed = l_flg_change e_t_failed_items = ltb_failed_items EXCEPTIONS fi_doc_not_read = 1 fi_doc_not_updated = 2 cml_doc_not_read = 3 cml_doc_not_updated = 4 OTHERS = 5.

DEQUEUE_EFVDARL CALL FUNCTION 'DEQUEUE_EFVDARL' " Unlock the Open-items of the Contract EXPORTING mode_vdarl = con_edit bukrs = lwa_vdarl-bukrs sarchiv = lwa_vdarl-sarchiv ranl = lwa_vdarl-ranl.

FVD_TABLE_UPDATE CALL FUNCTION 'FVD_TABLE_UPDATE' EXPORTING i_flg_update_task = con_true EXCEPTIONS error = 1 OTHERS = 2.

DEQUEUE_EFVDARL CALL FUNCTION 'DEQUEUE_EFVDARL' " Unlock the Contract EXPORTING mode_vdarl = con_edit bukrs = lwa_vdarl-bukrs sarchiv = lwa_vdarl-sarchiv ranl = lwa_vdarl-ranl.

BAL_LOG_CREATE ***** CALL FUNCTION 'BAL_LOG_CREATE' ***** EXPORTING ***** i_s_log = l_str_log ***** IMPORTING ***** e_log_handle = l_wrk_logh ***** EXCEPTIONS ***** log_header_inconsistent = 1 ***** OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = g_log i_s_msg = l_wrk_msg * IMPORTING * E_S_MSG_HANDLE = * E_MSG_WAS_LOGGED = * E_MSG_WAS_DISPLAYED = EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

ENQUEUE_EFVDARL CALL FUNCTION 'ENQUEUE_EFVDARL' EXPORTING mode_vdarl = con_edit bukrs = l_wa_vdarl-bukrs sarchiv = l_wa_vdarl-sarchiv ranl = l_wa_vdarl-ranl EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EFVDARL CALL FUNCTION 'DEQUEUE_EFVDARL' " unlock the contracts EXPORTING mode_vdarl = con_edit bukrs = lwa_vdarl-bukrs sarchiv = lwa_vdarl-sarchiv ranl = lwa_vdarl-ranl.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'RAUTODEBIT_DISPLAY' TABLES t_outtab = g_tab_alv EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'RAUTODEBIT_DISPLAY' TABLES t_outtab = g_tab_alv EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY





* CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' * EXPORTING * i_structure_name = 'RAUTODEBIT_DISPLAY' * TABLES * t_outtab = g_tab_alv * EXCEPTIONS * program_error = 1 * OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'RAUTODEBIT_DISPLAY' TABLES t_outtab = g_tab_alv EXCEPTIONS program_error = 1 OTHERS = 2.

LOAN_OPEN_ITEM_CHECK_LOCK CALL FUNCTION 'LOAN_OPEN_ITEM_CHECK_LOCK' EXPORTING i_application = con_appl_waiver s_rvzzbepp = l_str_rvzzbepp IMPORTING e_lock = l_lock e_mark = l_mark e_application = l_application.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_str_log IMPORTING e_log_handle = g_log EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_client = sy-mandt i_in_update_task = ' ' i_save_all = 'X' EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = l_tab_log_handle * i_s_display_profile = g_s_display_profile EXCEPTIONS OTHERS = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFV_PREP_NEW_AUTODEBIT_FORM or its description.