SAP Reports / Programs | Financial Accounting | Contract Accounts Receivable and Payable(FI-CA) SAP FI

RFKKMA02 SAP ABAP Report - Display Dunning History







RFKKMA02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trados = fi You use this report to output the line item-related dunning history...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 RFKKMA02 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

FPM3 - Display Dunning History


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 RFKKMA02. "Basic submit
SUBMIT RFKKMA02 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKKMA02 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: VTREFGRP = D .
Selection Text: VTREF = D .
Selection Text: VKONTGRP = D .
Selection Text: VKONT = D .
Selection Text: STRAT = D .
Selection Text: STEP = D .
Selection Text: P_STORN = D .
Selection Text: P_PRINT = D .
Selection Text: P_GPTXT = D .
Selection Text: MAZAE = D .
Selection Text: MAX_SEL = D .
Selection Text: MAHNV = D .
Selection Text: MAHNS = D .
Selection Text: LAUFI = D .
Selection Text: LAUFD = D .
Selection Text: GPART = D .
Selection Text: BUKRS = D .
Selection Text: P_VARI2 = Dunning Reductions Disp. Var.
Selection Text: P_VARI1 = Display variant for line item
Selection Text: P_VARI = Display variant for header
Title: Display Dunning History
Text Symbol: 502 = Do you want to release all selected dunning notices?
Text Symbol: 501 = Warning
Text Symbol: 500 = Do you want to reverse all the selected dunning notices?
Text Symbol: 202 = Reason for Reduction
Text Symbol: 201 = External Reference
Text Symbol: 200 = Dunning Reduction
Text Symbol: 100 = Name and Address of Business Partner
Text Symbol: 020 = Warning: Large Database Selection
Text Symbol: 011 = Continue?
Text Symbol: 010 = Large number of dunning notices selected
Text Symbol: 005 = Data is Being Read
Text Symbol: 001 = Display dunning history


INCLUDES used within this REPORT RFKKMA02

INCLUDE RFKKMA02TOP.


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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save1 CHANGING cs_variant = gx_variant1 EXCEPTIONS not_found = 2.

FKK_GET_APPLICATION CALL FUNCTION 'FKK_GET_APPLICATION' IMPORTING e_applk = h_applk EXCEPTIONS OTHERS = 0.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save2 CHANGING cs_variant = gx_variant2 EXCEPTIONS not_found = 2.

FKK_FUNC_MODULE_DETERMINE CALL FUNCTION 'FKK_FUNC_MODULE_DETERMINE' EXPORTING i_fbeve = '0391' i_applk = h_applk TABLES t_fbstab = t_fbstab_0391 EXCEPTIONS error_message = 1.

FKK_SAMPLE_0391 CALL FUNCTION 'FKK_SAMPLE_0391'.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = g_user_command i_callback_pf_status_set = g_status_set i_save = g_save is_variant = g_variant is_layout = layout it_fieldcat = gt_fieldcat[] it_sort = g_sort[] TABLES t_outtab = gt_outtab.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = g_tabname i_structure_name = 'FKKMAKO_PLUS' i_client_never_display = 'X' CHANGING ct_fieldcat = rt_fieldcat EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC FB_OLDED EXPORTING defaultoption = 'N' textline1 = text-010 textline2 = text-011 titel = text-020 cancel_display = ' ' IMPORTING answer = l_answer.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-005.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-005.

FKK_DUNNING_HISTORY_AUTH_CHECK CALL FUNCTION 'FKK_DUNNING_HISTORY_AUTH_CHECK' EXPORTING i_applk = h_applk IMPORTING e_x_lines_dropped = l_x_lines_dropped TABLES ct_fkkmako = gt_outtab.

FKK_DUNNING_GPART_TEXT * CALL FUNCTION 'FKK_DUNNING_GPART_TEXT' * EXPORTING * i_fkkmako_plus = * IMPORTING * e_txt1gp = -txt1gp.

FKK_READ_DUNNING_ACTIVITIES CALL FUNCTION 'FKK_READ_DUNNING_ACTIVITIES' EXPORTING i_dunning_key = l_dunning_key TABLES et_activities = i_fkkmakt.

FKK_BUPA_DISPLAY CALL FUNCTION 'FKK_BUPA_DISPLAY' EXPORTING i_partner = gt_outtab-gpart EXCEPTIONS wrong_parameters = 1 OTHERS = 2.

FKK_ACCOUNT_CHANGE CALL FUNCTION 'FKK_ACCOUNT_CHANGE' EXPORTING i_vkont = gt_outtab-vkont i_gpart = gt_outtab-gpart i_ch_mode = '1' i_no_other = 'X' i_no_change = 'X' EXCEPTIONS error_message = 1.

FKKCM_BRFTRACE_GET CALL FUNCTION 'FKKCM_BRFTRACE_GET' EXPORTING it_laufd = lrt_laufd[] it_laufi = lrt_laufi[] it_gpart = lrt_gpart[] it_vkontgrp = lrt_vkontgrp[] it_vtrefgrp = lrt_vtrefgrp[] it_grpfield = lrt_grpfield[] it_itemgrp = lrt_itemgrp[] IMPORTING et_brftrace = lt_brftrace.

POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING titel = text-100 textline1 = gt_outtab-txt1gp.

SAPGUI_PROGRESS_INDICATOR





CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * percentage = 30 text = text-005.

FKK_DB_FKKMAZE_FORALL_FKKMAKO CALL FUNCTION 'FKK_DB_FKKMAZE_FORALL_FKKMAKO' EXPORTING x_laufd = gt_outtab-laufd x_laufi = gt_outtab-laufi x_gpart = gt_outtab-gpart x_vkont = gt_outtab-vkont x_mazae = gt_outtab-mazae x_xinfo = i_xinfo TABLES yt_fkkmaze = gt_outtab1 EXCEPTIONS OTHERS = 0.

FKK_SELECT_DFKKCOH_FOR_FKKMAKO CALL FUNCTION 'FKK_SELECT_DFKKCOH_FOR_FKKMAKO' EXPORTING i_laufd = gt_outtab-laufd i_laufi = gt_outtab-laufi i_gpart = gt_outtab-gpart i_vkont = gt_outtab-vkont i_mazae = gt_outtab-mazae TABLES e_dfkkcoh = lt_dfkkcoh[] EXCEPTIONS not_found = 1 OTHERS = 2.

FKK_CORR_ARCHIVE_GET_OBJECT_ID CALL FUNCTION 'FKK_CORR_ARCHIVE_GET_OBJECT_ID' EXPORTING i_dfkkcohi = lf_dfkkcohi IMPORTING e_object_id = l_objkey e_sap_object = l_sap_object EXCEPTIONS unknown_business_object = 1 archiv_id_not_found = 2 OTHERS = 3.

SWU_OBJECT_PUBLISH CALL FUNCTION 'SWU_OBJECT_PUBLISH' EXPORTING objtype = 'CA_DUNNING' objkey = l_objkey.

FKK_FUNC_MODULE_DETERMINE CALL FUNCTION 'FKK_FUNC_MODULE_DETERMINE' EXPORTING i_fbeve = '0392' i_applk = h_applk TABLES t_fbstab = t_fbstab_0392 EXCEPTIONS error_message = 1.

FKK_SAMPLE_0392 CALL FUNCTION 'FKK_SAMPLE_0392'.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = g_user_command1 i_callback_pf_status_set = g_status_set1 i_save = g_save1 is_variant = g_variant1 it_fieldcat = gt_fieldcat1[] * it_sort = g_sort[] TABLES t_outtab = gt_outtab1.

SWU_OBJECT_RESTORE CALL FUNCTION 'SWU_OBJECT_RESTORE' EXPORTING objtype = 'CA_DUNNING' objkey = l_objkey.

FKK_DB_FKKMAZE_FORALL_FKKMAKO CALL FUNCTION 'FKK_DB_FKKMAZE_FORALL_FKKMAKO' EXPORTING x_laufd = gt_outtab-laufd x_laufi = gt_outtab-laufi x_gpart = gt_outtab-gpart x_vkont = gt_outtab-vkont x_mazae = gt_outtab-mazae TABLES yt_fkkmareduct = gt_outtab2 EXCEPTIONS OTHERS = 0.

DOMAIN_VALUE_GET CALL FUNCTION 'DOMAIN_VALUE_GET' EXPORTING i_domname = 'OBJ1T_KK' i_domvalue = l_domvalue IMPORTING e_ddtext = gt_outtab2-obj1t_txt EXCEPTIONS OTHERS = 1.

FKK_DUNN_REDUCTION_REASON_TEXT CALL FUNCTION 'FKK_DUNN_REDUCTION_REASON_TEXT' EXPORTING i_obj1t = gt_outtab2-obj1t i_reason = gt_outtab2-reason IMPORTING e_reason_text = gt_outtab2-reason_txt EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = g_user_command2 i_callback_pf_status_set = g_status_set2 i_save = g_save2 is_variant = g_variant2 it_fieldcat = gt_fieldcat2[] TABLES t_outtab = gt_outtab2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = g_tabname1 i_structure_name = 'FKKMAZE_STRUC' i_client_never_display = 'X' CHANGING ct_fieldcat = rt_fieldcat1 EXCEPTIONS OTHERS = 0.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = g_tabname2 i_structure_name = 'FKKMAREDUCT_PLUS' i_client_never_display = 'X' CHANGING ct_fieldcat = rt_fieldcat2 EXCEPTIONS OTHERS = 0.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save * it_default_fieldcat = IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant1 i_save = g_save1 * it_default_fieldcat = IMPORTING e_exit = g_exit1 es_variant = gx_variant1 EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant2 i_save = g_save2 * it_default_fieldcat = IMPORTING e_exit = g_exit2 es_variant = gx_variant2 EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save1 CHANGING cs_variant = gx_variant1.




FKK_FPE0_INIT CALL FUNCTION 'FKK_FPE0_INIT'.

FKK_FPE0_START_TRANSACTION CALL FUNCTION 'FKK_FPE0_START_TRANSACTION' EXPORTING tcode = 'FPE3' opbel = l_opbel EXCEPTIONS OTHERS = 1.

FKK_FPE0_INIT CALL FUNCTION 'FKK_FPE0_INIT'.

FKK_FPE0_START_TRANSACTION CALL FUNCTION 'FKK_FPE0_START_TRANSACTION' EXPORTING tcode = l_tcode opbel = gt_outtab1-opbel i_opupk = gt_outtab1-opupk i_opupw = gt_outtab1-opupw i_opupz = gt_outtab1-opupz EXCEPTIONS OTHERS = 1.

FKK_FPE0_START_TRANSACTION CALL FUNCTION 'FKK_FPE0_START_TRANSACTION' EXPORTING tcode = l_tcode opbel = gt_outtab1-opbel EXCEPTIONS OTHERS = 1.

FKK_EDIT_DUNNING_HISTORY_HEAD CALL FUNCTION 'FKK_EDIT_DUNNING_HISTORY_HEAD' EXPORTING i_applk = h_applk i_fkkmako = l_fkkmako IMPORTING e_xmsto = gt_outtab-xmsto TABLES t_fkkmaze = gt_outtab1 EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-500 titel = text-501 cancel_display = ' ' IMPORTING answer = answer.

FKK_EDIT_DUNNING_HISTORY_HEAD CALL FUNCTION 'FKK_EDIT_DUNNING_HISTORY_HEAD' EXPORTING i_applk = h_applk i_fkkmako = l_fkkmako i_suppress_dialog = 'X' i_fikey_suppr_dialog = l_fikey IMPORTING e_xmsto = l_f_xmsto TABLES t_fkkmaze = gt_outtab1.

FKK_EDIT_DUNNING_HISTORY CALL FUNCTION 'FKK_EDIT_DUNNING_HISTORY' EXPORTING i_fkkmako = l_fkkmako i_fkkmaze = l_fkkmaze i_xdisplay = xdisplay TABLES t_fkkmaze = gt_outtab1 EXCEPTIONS OTHERS = 0.

FKK_GET_DUN_DATA_FOR_REFERENCE CALL FUNCTION 'FKK_GET_DUN_DATA_FOR_REFERENCE' EXPORTING i_fkkop = i_fkkop i_xdialog = 'X' i_xfetch_first = 'X' EXCEPTIONS OTHERS = 0.

FKK_ACCOUNT_CHANGE CALL FUNCTION 'FKK_ACCOUNT_CHANGE' EXPORTING i_vkont = gt_outtab1-vkont i_gpart = gt_outtab1-gpart i_ch_mode = '1' i_no_other = 'X' i_no_change = 'X' EXCEPTIONS error_message = 1.

FKK_SELECT_DFKKCOH_FOR_FKKMAKO CALL FUNCTION 'FKK_SELECT_DFKKCOH_FOR_FKKMAKO' EXPORTING i_laufd = p_fkkmako-laufd i_laufi = p_fkkmako-laufi i_gpart = p_fkkmako-gpart i_vkont = p_fkkmako-vkont i_mazae = p_fkkmako-mazae i_cokey = p_fkkmako-cokey TABLES e_dfkkcoh = lt_dfkkcoh EXCEPTIONS not_found = 1 OTHERS = 2.

FKK_CORR_ARCHIVE_DISPLAY CALL FUNCTION 'FKK_CORR_ARCHIVE_DISPLAY' EXPORTING i_dfkkcohi = l_dfkkcohi i_set_exceptions = 'X'.

FKK_FUNC_MODULE_DETERMINE CALL FUNCTION 'FKK_FUNC_MODULE_DETERMINE' EXPORTING i_fbeve = '1113' i_applk = i_applk TABLES t_fbstab = t_fbstab.

FKK_SAMPLE_1113 IF 1 = 2. CALL FUNCTION 'FKK_SAMPLE_1113'. ENDIF.

FKK_FIKEY_CHECK CALL FUNCTION 'FKK_FIKEY_CHECK' EXPORTING i_fikey = i_fikey i_open_on_request = 'X' EXCEPTIONS error_message = 1.

FKK_FIKEY_OPEN CALL FUNCTION 'FKK_FIKEY_OPEN' EXPORTING i_fikey = i_fikey EXCEPTIONS error_message = 1.

FKK_DISPUTE_DISPLAY CALL FUNCTION 'FKK_DISPUTE_DISPLAY' EXPORTING i_case_guid = gt_outtab2-obj1r.

FKK_FUNC_MODULE_DETERMINE CALL FUNCTION 'FKK_FUNC_MODULE_DETERMINE' EXPORTING i_fbeve = '1201' i_applk = pv_applk TABLES t_fbstab = t_fbstab.

FKK_SAMPLE_1201 IF 1 = 2. CALL FUNCTION 'FKK_SAMPLE_1201'. ENDIF.



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