RFKKCOL3 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trados = fi With this report you can display items that you have submitted to collection agencies...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 RFKKCOL3 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FP03L - List of Collection Items
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.
Selection Text: SELINKPS = D .
Selection Text: SELVTREF = Contract
Selection Text: SELVKONT = Contract Account
Selection Text: SELOPBEL = Document Number
Selection Text: SELMAHNV = Dunning Procedure
Selection Text: SELINKGP = Collection Agency
Selection Text: SELHVORG = Main Transaction
Selection Text: SELGPART = Business Partner
Selection Text: SELFAEDN = Due Date for Net Payment
Selection Text: SELBUKRS = Company Code
Selection Text: SELBLART = Document Type
Selection Text: SELBETRW = Amount
Selection Text: SELAGSTA = Submission Status
Selection Text: SELAGGRD = Submission Reason
Selection Text: SELAGDAT = Submission Date
Selection Text: P_VARI = List Viewer Variant
Selection Text: OPBLINKP = Coll.items to be submitted
Title: List of Collection Items
Text Symbol: T01 = Selection Details
Text Symbol: P01 = Collection Item History: &1/&2
Text Symbol: A01 = Display Collection Items
Text Symbol: 010 = Name and Address of Business Partner
Text Symbol: 007 = Data is being read
Text Symbol: 006 = List Viewer Options
Text Symbol: 005 = List of collection items is being prepared
Text Symbol: 002 = Print Preview
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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_callback_program = g_repid i_structure_name = 'AFKKOP_FKKCOLL' i_callback_pf_status_set = g_status_set i_callback_user_command = g_user_command it_fieldcat = alv_t_fieldcat[] is_layout = gs_layout i_default = 'X' i_save = 'A' is_variant = g_variant it_events = g_events[] IMPORTING e_exit_caused_by_caller = g_exit_caused_by_caller es_exit_caused_by_user = gs_exit_caused_by_user TABLES t_outtab = afkkop_fkkcoll EXCEPTIONS program_error = 1 OTHERS = 2.
FKK_COLLECT_AGENCY_ITEM_SELECT CALL FUNCTION 'FKK_COLLECT_AGENCY_ITEM_SELECT' EXPORTING i_opbel = pt_opbelinkps-low-opbel ix_opbel = const_marked i_inkps = pt_opbelinkps-low-inkps ix_inkps = const_marked TABLES t_fkkcoll = ht_fkkcoll EXCEPTIONS initial_values = 1 not_found = 2 OTHERS = 3.
FKK_COLLECT_AGENCY_ITEM_SELECT CALL FUNCTION 'FKK_COLLECT_AGENCY_ITEM_SELECT' TABLES t_bukrs_range = ht_bukrs_range t_inkps_range = ht_inkps_range t_inkgp_range = ht_inkgp_range t_aggrd_range = ht_aggrd_range t_agsta_range = ht_agsta_range t_agdat_range = ht_agdat_range t_fkkcoll = pt_fkkcoll EXCEPTIONS initial_values = 1 not_found = 2 OTHERS = 3.
FKK_COLLECT_AGENCY_ITEM_SELECT CALL FUNCTION 'FKK_COLLECT_AGENCY_ITEM_SELECT' TABLES t_gpart_range = ht_gpart_range t_vkont_range = ht_vkont_range t_bukrs_range = ht_bukrs_range t_inkps_range = ht_inkps_range t_inkgp_range = ht_inkgp_range t_aggrd_range = ht_aggrd_range t_agsta_range = ht_agsta_range t_agdat_range = ht_agdat_range t_fkkcoll = pt_fkkcoll EXCEPTIONS initial_values = 1 not_found = 2 OTHERS = 3.
FKK_DB_DFKKCOLL_SEL_BY_OPBEL CALL FUNCTION 'FKK_DB_DFKKCOLL_SEL_BY_OPBEL' TABLES t_opbel_range = pt_opbel_range t_agsta_range = ht_agsta_range t_fkkcoll = pt_fkkcoll EXCEPTIONS not_found = 1 initial_value = 2 OTHERS = 3.
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 = pt_fkkcoll-vkont i_gpart = pt_fkkcoll-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 = pt_fkkcoll-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 = pt_fkkcoll-bukrs i_actvt = '03' " 03 is display EXCEPTIONS error_message = 1.
FKK_BP_LINE_ITEMS_SELECT CALL FUNCTION 'FKK_BP_LINE_ITEMS_SELECT' EXPORTING i_opbel = pt_fkkcoll-opbel ix_opbel = 'X' i_inkps = pt_fkkcoll-inkps ix_inkps = 'X' TABLES pt_fkkop = ht_fkkop EXCEPTIONS OTHERS = 1.
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.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = p_repid i_internal_tabname = p_tabname i_inclname = p_repid CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
FKK_PARTNER_HEADER_DISPLAY CALL FUNCTION 'FKK_PARTNER_HEADER_DISPLAY' EXPORTING x_partner = pt_fkkop_fkkcoll-gpart IMPORTING y_text1 = wa_partnertext EXCEPTIONS not_found = 1 OTHERS = 2.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = t_events.
FKK_FPE0_START_TRANSACTION CALL FUNCTION 'FKK_FPE0_START_TRANSACTION' EXPORTING tcode = 'FPE3' opbel = wa_alv-opbel i_opupk = wa_alv-opupk i_opupw = wa_alv-opupw i_opupz = wa_alv-opupz i_calling_tcode = 'FPE3' i_call_transaction = 'X'.
FKK_FPE0_START_TRANSACTION CALL FUNCTION 'FKK_FPE0_START_TRANSACTION' EXPORTING tcode = 'FPE3' opbel = wa_alv-augbl i_calling_tcode = 'FPE3' i_call_transaction = 'X'.
FKK_DB_DFKKCOLLH_SELECT CALL FUNCTION 'FKK_DB_DFKKCOLLH_SELECT' EXPORTING i_seltyp = '2' i_opbel = wa_alv-opbel i_inkps = wa_alv-inkps TABLES t_fkkcollh = ht_fkkcollh EXCEPTIONS not_found = 1 OTHERS = 2.
FKK_PARTNER_HEADER_DISPLAY CALL FUNCTION 'FKK_PARTNER_HEADER_DISPLAY' EXPORTING x_partner = wa_alv-gpart IMPORTING y_text1 = wa_partnertext.
POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING titel = text-010 textline1 = wa_partnertext.
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 = 'DFKKCOLL' 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 = 'DFKKCOLL' 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 = 'DFKKCOLL' 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 = 'DFKKCOLL' i_value = h_dd07l_domvalue_l EXCEPTIONS OTHERS = 1.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = par_iconn IMPORTING result = par_iconf EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = w_opbel IMPORTING output = w_opbel.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = alv_tabname CHANGING ct_fieldcat = it_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = text1 i_selection = ' ' i_zebra = 'X' * I_SCREEN_START_COLUMN = 5 * I_SCREEN_START_LINE = 5 * I_SCREEN_END_COLUMN = 120 * I_SCREEN_END_LINE = 20 * I_CHECKBOX_FIELDNAME = * I_LINEMARK_FIELDNAME = * I_SCROLL_TO_SEL_LINE = 'X' i_tabname = '1' * i_structure_name = 'DFKKCOLLH' it_fieldcat = it_fieldcat * IT_EXCLUDING = * I_CALLBACK_PROGRAM = * I_CALLBACK_USER_COMMAND = is_private = gs_private * IMPORTING * ES_SELFIELD = GS_SELFIELD * E_EXIT = G_EXIT TABLES t_outtab = p_t_fkkcollh EXCEPTIONS program_error = 1 OTHERS = 2.
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 RFKKCOL3 or its description.