SAP Reports / Programs | Financial Accounting | Accounts Receivable | Dunning(FI-AR-AR-DU) SAP FI

SAPMFKD0 SAP ABAP dialog Program - Dunning Procedure Customizing







SAPMFKD0 is a standard Module pool for a dialog screen ABAP Program 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 SAPMFKD0 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

FBMP - Maintain Dunning Procedure
FBMA - Display Dunning Procedure
FOSF - Maintain Dunning Procedure
FOSG - Display Dunning Procedure


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


Text pool values


Title: Dunning Procedure Customizing
Text Symbol: 026 = PDF
Text Symbol: PT1 = *
Text Symbol: PT2 = *
Text Symbol: T01 = List
Text Symbol: T02 = Charges
Text Symbol: T03 = Minimum amounts
Text Symbol: T04 = Overview
Text Symbol: T05 = Dunning levels
Text Symbol: T06 = Dunning texts
Text Symbol: T07 = Special G/L indicator
Text Symbol: T08 = Company code data
Text Symbol: T09 = Sort fields
Text Symbol: T10 = Sender details
Text Symbol: T11 = Curr.
Text Symbol: T12 = Form
Text Symbol: T13 = Company Code
Text Symbol: T14 = Ref. Company Cd
Text Symbol: T15 = Offset
Text Symbol: T16 = Sequence
Text Symbol: T17 = Field Name
Text Symbol: T18 = Long Text for Special General Ledger Indicator
Text Symbol: T19 = Indicator
Text Symbol: T20 = Dunning by Dunning Area
Text Symbol: T21 = Separate Dunning Notice per Dunning Leve
Text Symbol: 001 = Maintain standard texts
Text Symbol: 002 = Do you want to save the
Text Symbol: 003 = data?
Text Symbol: 004 = Maintain sorting
Text Symbol: 005 = Dunning Data was changed
Text Symbol: 006 = Delete dunning procedure
Text Symbol: 007 = Do you want to delete all data
Text Symbol: 008 = from dunning procedure $1 ?
Text Symbol: 009 = Maintain company codes
Text Symbol: 010 = Cancel Processing
Text Symbol: 011 = Do you really want
Text Symbol: 012 = to exit editing?
Text Symbol: 013 = Selected dunning procedures





Text Symbol: 014 = Sort fields
Text Symbol: 015 = Sender details for co.code $
Text Symbol: 016 = Selected company codes
Text Symbol: 017 = Add. components...
Text Symbol: 018 = Days in Arrears, Dunning Level $
Text Symbol: 019 = Interest Calculation? Dun. Level $
Text Symbol: 020 = Always Dun? Dunning Level $
Text Symbol: 021 = Print All Items, Dunning Level $
Text Symbol: 022 = Payment Deadline, Dunning Level $
Text Symbol: 023 = Form Selection
Text Symbol: 024 = Form & exists as Smart Form and PDF-based form. Which form are you using?
Text Symbol: 025 = Smart Forms


INCLUDES used within this REPORT SAPMFKD0

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:

OPEN_FI_PERFORM_00001730_E CALL FUNCTION 'OPEN_FI_PERFORM_00001730_E' IMPORTING e_abez = ofiwa-xtext TABLES t_ftexts = ftextstab.

FI_F4_FIELDNAME CALL FUNCTION 'FI_F4_FIELDNAME' EXPORTING i_modus = modus IMPORTING e_fname = fname TABLES tabtab = tabtab EXCEPTIONS internal_error = 4.

FI_F4_FIELDNAME CALL FUNCTION 'FI_F4_FIELDNAME' EXPORTING i_modus = modus IMPORTING e_fname = fname TABLES tabtab = tabtab EXCEPTIONS internal_error = 4.

FORM_CHECK CALL FUNCTION 'FORM_CHECK' EXPORTING i_pzfor = t047e-fornr EXCEPTIONS not_defined = 4.

FORM_CHECK CALL FUNCTION 'FORM_CHECK' EXPORTING i_pzfor = t047d-fornr EXCEPTIONS not_defined = 4.

OPEN_FI_PERFORM_00001740_E CALL FUNCTION 'OPEN_FI_PERFORM_00001740_E' EXPORTING i_aktyp = t020-aktyp EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = 'Mahnverfahren löschen'(006) textline1 = text1 textline2 = text2 defaultoption = 'J' IMPORTING answer = antwort.

VIEW_MAINTENANCE_CALL Call function 'VIEW_MAINTENANCE_CALL' "1875017 exporting Action = 'U' "1875017 View_name = 'V_T047I' "1875017 exceptions Client_reference = 1 "1875017 Invalid_action = 3 "1875017 No_database_function = 5 "1875017 No_editor_function = 6 "1875017 No_show_auth = 7 "1875017 No_tvdir_entry = 8 "1875017 No_upd_auth = 9 "1875017 System_failure = 11. "1875017

OPEN_FI_PERFORM_00001740_E CALL FUNCTION 'OPEN_FI_PERFORM_00001740_E' EXPORTING i_aktyp = t020-aktyp EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = 'Mahndaten wurden verändert'(005) textline1 = 'Sollen die Daten gesichert'(002) textline2 = 'werden?'(003) defaultoption = 'J' IMPORTING answer = antwort.

VIEW_MAINTENANCE_CALL Call function 'VIEW_MAINTENANCE_CALL' "1875017 exporting Action = 'U' "1875017 View_name = 'V_T047I' "1875017 exceptions Client_reference = 1 "1875017 Invalid_action = 3 "1875017 No_database_function = 5 "1875017 No_editor_function = 6 "1875017 No_show_auth = 7 "1875017 No_tvdir_entry = 8 "1875017 No_upd_auth = 9 "1875017 System_failure = 11. "1875017

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING titel = text-010 textline1 = text-011 textline2 = text-012 IMPORTING answer = antwort.






DISPLAY_REPORTING_TREE_F4 * CALL FUNCTION 'DISPLAY_REPORTING_TREE_F4' * EXPORTING * I_TREE_ID = 'SAPF' * I_GET_STANDARD_CLIENT = 'X' * I_NAME_OF_FIRST_NODE = 'FI-3' * IMPORTING * E_SKEYREPORT = HSKEYREPORT * EXCEPTIONS * OTHERS = 4.

DISPLAY_FORM_TREE_F4 CALL FUNCTION 'DISPLAY_FORM_TREE_F4' EXPORTING p_tree_name = 'FI-3' * P_DISPLAY_MODE = ' ' * I_FORM_NAME = IMPORTING p_form_name = hp_form_name * P_FORM_LANGUAGE = EXCEPTIONS * CANCELLED = 1 * PARAMETER_ERROR = 2 * NOT_FOUND = 3 OTHERS = 4.

DISPLAY_REPORTING_TREE_F4 * CALL FUNCTION 'DISPLAY_REPORTING_TREE_F4' * EXPORTING * I_TREE_ID = 'SAPF' * I_GET_STANDARD_CLIENT = 'X' * I_NAME_OF_FIRST_NODE = 'FI-3' * IMPORTING * E_SKEYREPORT = XSKEYREPORT * EXCEPTIONS * OTHERS = 4.

DISPLAY_FORM_TREE_F4 CALL FUNCTION 'DISPLAY_FORM_TREE_F4' EXPORTING p_tree_name = 'FI-3' * P_DISPLAY_MODE = ' ' * I_FORM_NAME = IMPORTING p_form_name = hp_form_nam2 * P_FORM_LANGUAGE = EXCEPTIONS * CANCELLED = 1 * PARAMETER_ERROR = 2 * NOT_FOUND = 3 OTHERS = 4 .

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'FT' I_DTYPE = 'E' I_MSGNR = '303'. "1470451

FI_CUST_AUTHORITY_CHECK CALL FUNCTION 'FI_CUST_AUTHORITY_CHECK' EXPORTING i_aktyp = t020-aktyp i_okcod = space i_okcod_to_change_aktyp = 'CHAE' i_tables = tables EXCEPTIONS no_authority = 1 no_authority_now_display = 2 no_authority_to_change_aktyp = 3.

FORM_CHECK CALL FUNCTION 'FORM_CHECK' EXPORTING i_pzfor = formular_name EXCEPTIONS not_defined = 4.

EDIT_FORM CALL FUNCTION 'EDIT_FORM' EXPORTING form = formular_name display = 'X'.

POPUP_TO_CONFIRM Call function 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-023 "Formularauswahl TEXT_QUESTION = text024 "Formular & existiert als Smart Forms- und als PDF-Formular. Welches Formular verwenden Sie?

FI_F4_FIELDNAME CALL FUNCTION 'FI_F4_FIELDNAME' EXPORTING i_modus = modus i_fname = fname IMPORTING e_outpl = dd03p-outputlen e_inttp = dd03p-inttype TABLES tabtab = tabtab EXCEPTIONS internal_error = 4.

VIEW_MARK_WRITE CALL FUNCTION 'VIEW_MARK_WRITE' EXPORTING objname = 'F47A' begin = 'X'.

VIEW_MARK_WRITE CALL FUNCTION 'VIEW_MARK_WRITE' EXPORTING objname = 'F47A' begin = space.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'SAPMFKD0' dynumb = dynnr TABLES dynpfields = f4hlp EXCEPTIONS OTHERS = 01.

RETRIEVAL_TEXT CALL FUNCTION 'RETRIEVAL_TEXT' EXPORTING id = t047i-txtid IMPORTING header = thead EXCEPTIONS canceled = 1 OTHERS = 5.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = titel35 textline1 = text-002 textline2 = text-003 IMPORTING answer = antwort.

IMG_EDIT_TEXT CALL FUNCTION 'IMG_EDIT_TEXT' EXPORTING id = thead-tdid language = thead-tdspras name = thead-tdname TABLES lines = edtext.

FI_CUST_ENQUEUE_CHECK CALL FUNCTION 'FI_CUST_ENQUEUE_CHECK' EXPORTING i_okcod = space i_okcod_to_change_aktyp = 'CHAE' i_tables = tables EXCEPTIONS foreign_lock = 1 foreign_lock_now_display = 2 system_failure = 3.



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