SAP Reports / Programs

RFFMINTCALC SAP ABAP Report - Dunning Interest Calculation According to Receivable Clearing







RFFMINTCALC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With program RFFMINTCALC, you can calculate dunning interest or penalty surchares for receivables already cleared taking into account the Customizing settings for dunning procedure in FI and the enhanncements of the dunning program in IS-PS...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

F8M1 - Calculate Penalty Surcharge


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 RFFMINTCALC. "Basic submit
SUBMIT RFFMINTCALC AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMINTCALC 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_AUGDT = Clearing Date from
Selection Text: P_NOTIFD = D .
Selection Text: P_TESTR = Test run
Selection Text: P_TRACE = Detail Log
Selection Text: S_BUKRS = Company codes
Selection Text: S_KUNNR = Customers
Title: Dunning Interest Calculation According to Receivable Clearing
Text Symbol: 001 = Selection
Text Symbol: 002 = Parameters
Text Symbol: 003 = Dunn.notices:Sample printout
Text Symbol: 004 = Dnng Printout


INCLUDES used within this REPORT RFFMINTCALC

INCLUDE INTCATOP.
INCLUDE RKASMAWF.


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:

FM_FYC_SCHEDMAN_INIT CALL FUNCTION 'FM_FYC_SCHEDMAN_INIT' EXPORTING i_repid = sy-repid "report id" i_tcode = 'F8M1' "transaction code i_wfitem = wf_witem "parameter of RKASMAWF i_wflist = wf_wlist "parameter of RKASMAWF i_flg_test = p_testr "flag for test mode IMPORTING e_f_schedman_key = g_f_schedman_key.

CURRENCY_CHECK_FOR_PROCESS CALL FUNCTION 'CURRENCY_CHECK_FOR_PROCESS' EXPORTING process = 'SAPF150' EXCEPTIONS process_not_maintained = 1.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'MHND_EXT' TABLES dfies_tab = l_t_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

FI_MESSAGE_INIT CALL FUNCTION 'FI_MESSAGE_INIT'.

OUTBOUND_CALL_00103035_P CALL FUNCTION 'OUTBOUND_CALL_00103035_P' EXPORTING u_test_run = p_testr u_t_bsid = g_t_bsid u_t_bsec = g_t_bsec u_t_bsad = g_t_bsad u_t_mhnd = g_t_mhnd u_t_mhnk = g_t_mhnk u_notify_date = p_notifd.

FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key "obtained from schedman init i_wfitem = wf_witem "parameter of RKASMAWF i_wfokey = wf_okey "parameter of RKASMAWF i_aplstat = g_aplstat. "result filled

FI_PSO_PROCESS_00001068 CALL FUNCTION 'FI_PSO_PROCESS_00001068' EXPORTING i_mahna = l_mahna i_applk = 'IS-PS' IMPORTING e_group_interest = l_group_du.

FI_PSO_PROCESS_00001074 CALL FUNCTION 'FI_PSO_PROCESS_00001074' EXPORTING i_ausdt = l_ausdt i_trace = u_trace TABLES t_mhnd_ext = l_t_mhnd_ext t_t047b = l_t_t047b t_fimsg = l_t_fimsg CHANGING cs_mhnk = l_f_mhnk.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = u_ausdt foreign_currency = c_t_mhnd_ext-waers local_amount = c_t_mhnd_ext-zsbtr local_currency = u_f_t001-waers IMPORTING foreign_amount = c_t_mhnd_ext-wzsbt.

FI_PSO_DUN_INTEREST_POST CALL FUNCTION 'FI_PSO_DUN_INTEREST_POST' EXPORTING i_f_mhnk = l_f_mhnk i_f_mhnd = l_f_mhnd i_update = u_update i_zield = u_ausdt i_dunn_run = space i_rffmintcalc = con_true i_notify_date = p_notifd IMPORTING e_bukrs = l_bukrs e_gjahr = l_gjahr e_belnr = l_belnr e_subrc = l_subrc e_msgid = l_msgid e_msgty = l_msgty e_msgno = l_msgno e_msgv1 = l_msgv1 e_msgv2 = l_msgv2 e_msgv3 = l_msgv3 e_msgv4 = l_msgv4 EXCEPTIONS OTHERS = 1.

FI_MESSAGE_GET CALL FUNCTION 'FI_MESSAGE_GET' TABLES t_fimsg = l_t_fimsg EXCEPTIONS no_message = 1 OTHERS = 2.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = l_log_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_log_handle i_s_msg = l_s_msg EXCEPTIONS log_not_found = 0 OTHERS = 1.

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile i_t_log_handle = l_t_log_handle EXCEPTIONS OTHERS = 1.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = l_f_fimsg i_xappn = 'X' EXCEPTIONS msgid_missing = 1 msgno_missing = 2 msgty_missing = 3 OTHERS = 4.

OUTBOUND_CALL_00103015_P CALL FUNCTION 'OUTBOUND_CALL_00103015_P' TABLES t_bsad = u_t_group CHANGING c_flg_no_calculation = c_exit.

FM_PSO_FMKW6_READ CALL FUNCTION 'FM_PSO_FMKW6_READ' EXPORTING i_mahna = c_mahna TABLES t_fmkw6 = l_t_fmkw6 EXCEPTIONS not_found = 1.

DETERMINE_DUE_DATE





CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING i_faede = l_faede IMPORTING e_faede = l_faede EXCEPTIONS OTHERS = 1.

MESSAGE_PREPARE CALL FUNCTION 'MESSAGE_PREPARE' EXPORTING msg_id = l_msg_id msg_no = l_msg_no msg_var1 = l_msg_var1 msg_var2 = l_msg_var2 msg_var3 = l_msg_var3 msg_var4 = l_msg_var4 IMPORTING msg_text = l_message_text.

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'NA' dokname = l_dokname msg_var_1 = g_t_bapiret2-message_v1 msg_var_2 = g_t_bapiret2-message_v2 msg_var_3 = g_t_bapiret2-message_v3 msg_var_4 = g_t_bapiret2-message_v4 TABLES links = l_t_dummy EXCEPTIONS object_not_found = 1 sapscript_error = 2 OTHERS = 3.

OUTBOUND_CALL_00103010_P CALL FUNCTION 'OUTBOUND_CALL_00103010_P' TABLES t_bsad = l_t_bsad CHANGING c_date = c_ausdt EXCEPTIONS OTHERS = 1.

DETERMINE_DUE_DATE CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING i_faede = l_faede IMPORTING e_faede = l_faede EXCEPTIONS OTHERS = 1.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = t_fimsg i_xappn = 'X' EXCEPTIONS msgid_missing = 1 msgno_missing = 2 msgty_missing = 3 OTHERS = 4.

CURRENCY_GET_SUBSEQUENT CALL FUNCTION 'CURRENCY_GET_SUBSEQUENT' EXPORTING currency = c_mhnd_ext-waers process = 'SAPF150' date = u_ausdt bukrs = c_mhnd_ext-bukrs IMPORTING currency_new = l_new_curr.

CURRENCY_DOCUMENT_CONVERT CALL FUNCTION 'CURRENCY_DOCUMENT_CONVERT' EXPORTING conversion_mode = 'O' from_currency = c_mhnd_ext-waers to_currency = l_new_curr date = u_ausdt local_currency = u_company_curr TABLES fieldlist = g_t_fieldlist CHANGING line = c_mhnd_ext EXCEPTIONS field_unknown = 1 field_not_amount = 2 error_in_conversion = 3 OTHERS = 4.

FI_PSO_PROCESS_00001070 CALL FUNCTION 'FI_PSO_PROCESS_00001070' EXPORTING i_ausdt = i_ausdt i_mhnk = h_mhnk i_mhnd = h_mhnd TABLES t_fimsg = t_fimsg CHANGING c_zinss = e_zinss c_zinst = e_zinst c_wzsbt = e_wzsbt c_zsbtr = e_zsbtr c_xzins = e_xzins.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = t_fimsg i_xappn = 'X' EXCEPTIONS msgid_missing = 1 msgno_missing = 2 msgty_missing = 3 OTHERS = 4.



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