SAP Reports / Programs

RFVDMAU0 SAP ABAP Report - Automatic Clearing for Overpayments







RFVDMAU0 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 RFVDMAU0 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 RFVDMAU0. "Basic submit
SUBMIT RFVDMAU0 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVDMAU0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_BTR = Amount Limit
Selection Text: P_BTRGL = Equal Amounts
Selection Text: P_BUDAT = Posting Date
Selection Text: P_FLGGB =
Selection Text: P_SIMU = Simulation
Selection Text: P_VALUT = Clear to Value Date
Selection Text: P_ZLSPR = Receiv. With Payment Block IP
Selection Text: S_BUKRS = Company Code
Selection Text: S_GSART = Product Type
Selection Text: S_KUNNR = Customer
Selection Text: S_RANL = Contract Number
Title: Automatic Clearing for Overpayments
Text Symbol: 001 = rollback01
Text Symbol: 002 = rollback02
Text Symbol: 003 = rollback03
Text Symbol: 004 = Automatic Clearing of Overpayments
Text Symbol: 005 = With Limit Value (Amount in LC)
Text Symbol: 006 = Automatic Clearing of Overpayments of
Text Symbol: 007 = - Warnings And Errors -
Text Symbol: 008 = Log for AutOPC
Text Symbol: 009 = End of List


INCLUDES used within this REPORT RFVDMAU0

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:

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.

FVD_ENQUEUE_EFVDARL CALL FUNCTION 'FVD_ENQUEUE_EFVDARL' EXPORTING bukrs = bukrs * SARCHIV = ranl = ranl EXCEPTIONS foreign_lock = 1 system_failure = 2 .

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.

MAU0_AUFLOESUNG_UEBERZAHLUNG CALL FUNCTION 'MAU0_AUFLOESUNG_UEBERZAHLUNG' EXPORTING btci = flag_buchen budat = p_budat protocol = ' ' "machen wir selber für alle Aufrufe s_primanota = h_rpnsp 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_vdbeki_old = lt_vdbeki_sav "-> EXCEPTIONS posting_error = 01 program_error = 02 error_message = 03 OTHERS = 04.

LOAN_IST_SCHREIBEN CALL FUNCTION 'LOAN_IST_SCHREIBEN' EXPORTING herkunft = t_vdbeki-reher TABLES ibeki = t_vdbeki ibepi = t_vdbepi.

LOAN_REFERENCE_ADD CALL FUNCTION 'LOAN_REFERENCE_ADD' TABLES xt_loanref = t_loanref EXCEPTIONS table_empty = 1 invalid_data = 2 OTHERS = 3.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'FVVD_RPNSP' subobject = t_bsidh-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.

LOAN_MESSAGES_GIVE





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.



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 RFVDMAU0 or its description.