RFVDMAU2 is a standard Executable ABAP Report 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 RFVDMAU2 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: S_RANL = Contract Number
Selection Text: S_KUNNR = Customer
Selection Text: S_GSART = Product Type
Selection Text: S_BUKRS = Company Code
Selection Text: P_ZLSPR = Receiv. With Payment Block IP
Selection Text: P_VALUT = Clear to Value Date
Selection Text: P_SIMU = Simulation
Selection Text: P_FLGGB =
Selection Text: P_BUDAT = Posting Date
Selection Text: P_BTRGL = Consider Equal Amounts
Selection Text: P_BTR = Amount Limit
Title: Automatic Clearing of Overpayments According to Extended Hierarchy
Text Symbol: 013 = Name
Text Symbol: 011 = Simulate Auto. Clearing OP
Text Symbol: 010 = 'Automatic Clearing for Overpmnts'
Text Symbol: 009 = End of list
Text Symbol: 008 = Log for AutOPC
Text Symbol: 007 = - Warnings And Errors -
Text Symbol: 006 = Automatic Clearing of Overpayments on
Text Symbol: 005 = w.Limit Value (Amount in LC)
Text Symbol: 004 = Auto. Clear. OP
Text Symbol: 003 = rollback03
Text Symbol: 002 = rollback02
Text Symbol: 001 = rollback01
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
INIT_EVENT_REGISTER_FORM CALL FUNCTION 'INIT_EVENT_REGISTER_FORM' EXPORTING formname = 'SET_UPDATE_TASK_LOCAL' progname = 'RFVDMAU2'.
FVD_ENQUEUE_VDARL_MULT CALL FUNCTION 'FVD_ENQUEUE_VDARL_MULT' EXPORTING i_tab_vdarl_key = i_itab01 IMPORTING e_tab_vdarl_key_error = l_itab01_err e_tab_return = l_tab_return.
ENQUEUE_EFVDARL * call function 'ENQUEUE_EFVDARL' * exporting * bukrs = bukrs ** SARCHIV = E02 ** SANLF = E03 * ranl = ranl ** X_BUKRS = E05 ** X_SARCHIV = E06 ** X_SANLF = E07 ** X_RANL = E08 ** _SCOPE = E09 ** _WAIT = E10 * exceptions * foreign_lock = 01 * system_failure = 02.
LOAN_REFERENCE_INIT CALL FUNCTION 'LOAN_REFERENCE_INIT'.
TR_LOAN_GET_ACTUAL_ITEM_DATA CALL FUNCTION 'TR_LOAN_GET_ACTUAL_ITEM_DATA' EXPORTING is_bseg = ls_bseg i_flg_read_bseg = space CHANGING cs_vdbeki = t_vdbeki cs_vdbepi = t_vdbepi EXCEPTIONS error_reading_vdarl = 1 error_reading_bseg = 2 OTHERS = 3.
REBUILD_BEPP_FROM_BEPI CALL FUNCTION 'REBUILD_BEPP_FROM_BEPI' TABLES ibeki = t_vdbeki ibepi = t_vdbepi ibepp = h_vdbepp.
MAU2_CLEARING_OVERPAYMENT CALL FUNCTION 'MAU2_CLEARING_OVERPAYMENT' EXPORTING btci = flag_buchen budat = p_budat protocol = ' ' "machen wir selber für alle Aufrufe s_primanota = h_rpnsp export_bepp = 'X' i_tab_bsid = l_tab_bsid TABLES loanref = t_loanref "<- beki = t_vdbeki "<- pay_bseg = t_paybseg "-> t_tvz01 = t_tvz01 "-> t_vdarl = t_vdarl "-> ubepi = t_vdbepi "<- uvert_bepp = t_vdbepp "-> t_tzpab = gt_tzpab "-> t_vdbepp = gt_vdbepp "<- t_addbepp = gt_addbepp "<- t_vdbeki_old = lt_vdbeki_sav "-> CHANGING x_nvorgang = g_nvorgang EXCEPTIONS posting_error = 01 program_error = 02 error_message = 03 OTHERS = 04.
FVD_DB_VDARL_GET_MULT CALL FUNCTION 'FVD_DB_VDARL_GET_MULT' EXPORTING i_tab_vdarl_key = itab01[] IMPORTING * Tabelle der nicht gefundenen Vdarl-Sätze * E_TAB_VDARL_KEY_NF = e_tab_vdarl = t_vdarl[] EXCEPTIONS no_contract_found = 1 not_all_contract_found = 2 OTHERS = 3.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'FVVD_RPNSP' subobject = t_bsid-bukrs IMPORTING number = h_rpnsp EXCEPTIONS interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03 quantity_is_0 = 04.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p_budat foreign_amount = diff foreign_currency = l_waers local_currency = t001-waers IMPORTING local_amount = diff EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
LOAN_MESSAGES_WRITE_MESSAGE CALL FUNCTION 'LOAN_MESSAGES_WRITE_MESSAGE' EXPORTING I_FLG_MSGID_C20 = 'X' "N1407625 i_msgid = gt_mesg-msgid i_msgno = gt_mesg-msgno i_msgty = gt_mesg-msgty i_string = gt_mesg-text.
GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = jobcount jobname = jobname stepcount = stepcount EXCEPTIONS no_runtime_info = 01.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING layout = tbtcp-paart IMPORTING out_parameters = ls_params out_archive_parameters = ls_arc_params valid = lv_valid.
ACCOUNT_REPORT CALL FUNCTION 'ACCOUNT_REPORT' EXPORTING batch_kz = 'X' "alles aus globalem Ged. holen
LOAN_MESSAGES_INITIALIZE CALL FUNCTION 'LOAN_MESSAGES_INITIALIZE' EXPORTING i_collect_and_send = ' ' i_reset = 'X'.
LOAN_MESSAGES_STOP CALL FUNCTION 'LOAN_MESSAGES_STOP' EXCEPTIONS a_message = 1 e_message = 2 i_message = 3 s_message = 4 w_message = 5 OTHERS = 6.
LOAN_MESSAGES_STORE CALL FUNCTION 'LOAN_MESSAGES_STORE' EXPORTING is_mesg = is_trlomesg i_exception_if_not_active = 'X' EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.
LOAN_MESSAGES_SHOW CALL FUNCTION 'LOAN_MESSAGES_SHOW' EXPORTING i_anwnd = '0101' i_show_linno = ' ' EXCEPTIONS inconsistent_range = 1 no_messages = 2 OTHERS = 3.
CALL FUNCTION 'LOAN_MESSAGES_GIVE' TABLES et_mesg = gt_mesg.
LOAN_MESSAGES_WRITE_MESSAGE CALL FUNCTION 'LOAN_MESSAGES_WRITE_MESSAGE' EXPORTING I_FLG_MSGID_C20 = 'X' "N1407625 i_msgid = gt_mesg-msgid i_msgno = gt_mesg-msgno i_msgty = gt_mesg-msgty i_string = gt_mesg-text.
TR_LOAN_CHECK_DOC_IN_REGUS CALL FUNCTION 'TR_LOAN_CHECK_DOC_IN_REGUS' EXPORTING i_bukrs = t_bsid-bukrs i_belnr = t_bsid-belnr i_gjahr = t_bsid-gjahr i_kunnr = t_bsid-kunnr EXCEPTIONS document_in_regup = 1 OTHERS = 2.
FVD_SEL_TDPZZ_READ CALL FUNCTION 'FVD_SEL_TDPZZ_READ' IMPORTING e_wrk_tdpzz = pe_wrk_tdpzz EXCEPTIONS internal_error = 1 not_found = 2 OTHERS = 3.
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 RFVDMAU2 or its description.
RFVDMAU2 - Automatic Clearing of Overpayments According to Extended Hierarchy RFVDMAU2 - Automatic Clearing of Overpayments According to Extended Hierarchy RFVDMAU1 - Automatic Clearing for Overpayments RFVDMAU1 - Automatic Clearing for Overpayments RFVDMAU0 - Automatic Clearing for Overpayments RFVDMAU0 - Automatic Clearing for Overpayments