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

RFKKCOL4 SAP ABAP Report - History of Collection Items







RFKKCOL4 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to display items the history of a collection item that you have submitted to a collection agency...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 RFKKCOL4 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

FP03H - History of Collection Items


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 RFKKCOL4. "Basic submit
SUBMIT RFKKCOL4 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKKCOL4 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: OPBLINKP = Coll. Items to be Submitted
Selection Text: P_VARI = List Viewer Variant
Selection Text: SELAGGRD = Submission Reason
Selection Text: SELAGSTA = Submission Status
Selection Text: SELBETRW = Amount
Selection Text: SELBUKRS = Company Code
Selection Text: SELGPART = Business Partner
Selection Text: SELINKGP = Collection Agency
Selection Text: SELOPBEL = Document Number
Selection Text: SELVKONT = Contract Account
Selection Text: SELVTREF = D .
Title: History of Collection Items
Text Symbol: 002 = Print Preview
Text Symbol: 005 = History of Collection Items Displayed
Text Symbol: 006 = List Viewer Options
Text Symbol: 007 = Data is being read
Text Symbol: A01 = Display Collection Items
Text Symbol: T01 = Selection Details


INCLUDES used within this REPORT RFKKCOL4

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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = g_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

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

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

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = 'X' i_callback_program = g_repid * i_structure_name = 'DFKKCOLLH' i_structure_name = lv_struc_name "PSCD EHP6D i_callback_pf_status_set = g_status_set i_callback_user_command = g_user_command is_layout = gs_layout i_default = 'X' i_save = 'A' is_variant = g_variant IMPORTING e_exit_caused_by_caller = g_exit_caused_by_caller es_exit_caused_by_user = gs_exit_caused_by_user TABLES * t_outtab = t_fkkcollh t_outtab = t_fkkcollh_enh "PSCD EHP6D EXCEPTIONS program_error = 1 OTHERS = 2.

FKK_GET_APPLICATION CALL FUNCTION 'FKK_GET_APPLICATION' IMPORTING E_APPLK = LV_APPLK.

FKK_FUNC_MODULE_DETERMINE CALL FUNCTION 'FKK_FUNC_MODULE_DETERMINE' EXPORTING I_APPLK = LV_APPLK I_FBEVE = FBEVE TABLES T_FBSTAB = I_FBSTAB.

FKK_DB_DFKKCOLLH_SELECT CALL FUNCTION 'FKK_DB_DFKKCOLLH_SELECT' EXPORTING i_seltyp = '1' TABLES t_fkkcollh = pt_fkkcollh t_seltab = it_seltab EXCEPTIONS not_found = 1 initial_values = 2 OTHERS = 3.

FKK_DB_DFKKCOLLH_SELECT CALL FUNCTION 'FKK_DB_DFKKCOLLH_SELECT' EXPORTING i_seltyp = '1' TABLES t_fkkcollh_enh = pt_fkkcollh_enh t_seltab = it_seltab EXCEPTIONS not_found = 1 initial_values = 2 OTHERS = 3.

FKK_DB_DFKKCOLLH_SELECT CALL FUNCTION 'FKK_DB_DFKKCOLLH_SELECT' EXPORTING i_seltyp = '3' TABLES t_fkkcollh = pt_fkkcollh i_rt_gpart = ht_gpart_range EXCEPTIONS not_found = 1 initial_values = 2 OTHERS = 3.

FKK_DB_DFKKCOLLH_SELECT CALL FUNCTION 'FKK_DB_DFKKCOLLH_SELECT' EXPORTING i_seltyp = '3' TABLES t_fkkcollh_enh = pt_fkkcollh_enh i_rt_gpart = ht_gpart_range EXCEPTIONS not_found = 1 initial_values = 2 OTHERS = 3.

FKK_DB_DFKKCOLLH_SELECT CALL FUNCTION 'FKK_DB_DFKKCOLLH_SELECT' EXPORTING i_seltyp = '3' TABLES t_fkkcollh = pt_fkkcollh i_rt_vkont = pt_vkont i_rt_gpart = pt_gpart EXCEPTIONS not_found = 1 initial_values = 2 OTHERS = 3.

FKK_DB_DFKKCOLLH_SELECT CALL FUNCTION 'FKK_DB_DFKKCOLLH_SELECT' EXPORTING i_seltyp = '3' TABLES t_fkkcollh_enh = pt_fkkcollh_enh i_rt_vtref = pt_vtref i_rt_vkont = pt_vkont i_rt_gpart = pt_gpart EXCEPTIONS not_found = 1 initial_values = 2 OTHERS = 3.

FKK_DB_DFKKCOLLH_SELECT CALL FUNCTION 'FKK_DB_DFKKCOLLH_SELECT' EXPORTING i_seltyp = '4' TABLES t_fkkcollh = pt_fkkcollh i_rt_opbel = pt_opbel_range EXCEPTIONS not_found = 1 initial_values = 2 OTHERS = 3.

FKK_DB_DFKKCOLLH_SELECT CALL FUNCTION 'FKK_DB_DFKKCOLLH_SELECT' EXPORTING i_seltyp = '4' TABLES t_fkkcollh_enh = pt_fkkcollh_enh[] i_rt_opbel = pt_opbel_range EXCEPTIONS not_found = 1 initial_values = 2 OTHERS = 3.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save 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.

FKK_FPE0_START_TRANSACTION CALL FUNCTION 'FKK_FPE0_START_TRANSACTION' EXPORTING tcode = 'FPE3' opbel = opbel i_calling_tcode = 'FPE3' i_call_transaction = 'X'.

BUP_PARTNER_CHECK CALL FUNCTION 'BUP_PARTNER_CHECK' EXPORTING i_partner = pt_selgpart-low EXCEPTIONS partner_not_found = 1 role_not_found = 2 wrong_parameters = 3 OTHERS = 4.

FKK_FKKVK_READ





CALL FUNCTION 'FKK_FKKVK_READ' EXPORTING i_vkont = pt_selvkont-low EXCEPTIONS not_found = 1 OTHERS = 2.

FKK_BP_LINE_ITEMS_SEL_BY_OPBEL CALL FUNCTION 'FKK_BP_LINE_ITEMS_SEL_BY_OPBEL' EXPORTING i_opbel = pt_selopbel-low IMPORTING e_count = h_count.

FKK_DB_TFK050B_SINGLE CALL FUNCTION 'FKK_DB_TFK050B_SINGLE' EXPORTING i_inkgp = pt_selinkgp-low EXCEPTIONS not_found = 1 initial_parameter = 2 OTHERS = 3.

FKK_DB_TFK050B_SINGLE CALL FUNCTION 'FKK_DB_TFK050B_SINGLE' EXPORTING i_inkgp = pt_selinkgp-low EXCEPTIONS not_found = 1 initial_parameter = 2 OTHERS = 3.

FKK_FIELD_DOMAINVALUES_CHECK CALL FUNCTION 'FKK_FIELD_DOMAINVALUES_CHECK' EXPORTING i_field = 'AGGRD' i_table = 'DFKKCOLLH' i_value = h_dd07l_domvalue_l EXCEPTIONS OTHERS = 1.

FKK_FIELD_DOMAINVALUES_CHECK CALL FUNCTION 'FKK_FIELD_DOMAINVALUES_CHECK' EXPORTING i_field = 'AGGRD' i_table = 'DFKKCOLLH' i_value = h_dd07l_domvalue_l EXCEPTIONS OTHERS = 1.

FKK_FIELD_DOMAINVALUES_CHECK CALL FUNCTION 'FKK_FIELD_DOMAINVALUES_CHECK' EXPORTING i_field = 'AGSTA' i_table = 'DFKKCOLLH' i_value = h_dd07l_domvalue_l EXCEPTIONS OTHERS = 1.

FKK_FIELD_DOMAINVALUES_CHECK CALL FUNCTION 'FKK_FIELD_DOMAINVALUES_CHECK' EXPORTING i_field = 'AGSTA' i_table = 'DFKKCOLLH' i_value = h_dd07l_domvalue_l EXCEPTIONS OTHERS = 1.

FKK_DOC_AUTHORITY_CHECK CALL FUNCTION 'FKK_DOC_AUTHORITY_CHECK' EXPORTING i_bukrs = all_bukrs i_actvt = '03' " 03 is display EXCEPTIONS error_message = 1.

FKK_DOC_AUTHORITY_CHECK CALL FUNCTION 'FKK_DOC_AUTHORITY_CHECK' EXPORTING i_begru = all_begru i_actvt = '03' " 03 is display EXCEPTIONS error_message = 1.

FKK_ACCOUNT_READ CALL FUNCTION 'FKK_ACCOUNT_READ' EXPORTING i_vkont = p_t_fkkcollh-vkont i_gpart = p_t_fkkcollh-gpart IMPORTING e_fkkvkp = l_fkkvkp EXCEPTIONS OTHERS = 0. " ignore problems with READ

FKK_DOC_AUTHORITY_CHECK CALL FUNCTION 'FKK_DOC_AUTHORITY_CHECK' EXPORTING i_bukrs = p_t_fkkcollh-bukrs i_begru = l_fkkvkp-begru i_actvt = '03' " 03 is display EXCEPTIONS error_message = 1.

FKK_DOC_AUTHORITY_CHECK CALL FUNCTION 'FKK_DOC_AUTHORITY_CHECK' EXPORTING i_bukrs = p_t_fkkcollh-bukrs i_actvt = '03' " 03 is display EXCEPTIONS error_message = 1.



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