SAP Reports / Programs

RFKKCOLLFILE SAP ABAP Report - Generate Submission File for Collection Agency







RFKKCOLLFILE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for If the mass run for submitting to collection agencies (transaction FP03DM) terminates and does not create a submission file, you can use this report to create the submission file...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 RFKKCOLLFILE into the relevant SAP transactions such as SE38 or SE80


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 RFKKCOLLFILE. "Basic submit
SUBMIT RFKKCOLLFILE AND RETURN. "Return to original report after report execution complete
SUBMIT RFKKCOLLFILE 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_FILE = File Name
Selection Text: P_LAUFD = Run Date
Selection Text: P_LAUFI = Run ID
Selection Text: P_SIMU = Simulation
Selection Text: P_UNICD = Unicode
Selection Text: VARIANTE = Variant
Title: Generate Submission File for Collection Agency
Text Symbol: 002 = Header
Text Symbol: 003 = Footer
Text Symbol: 004 = Body
Text Symbol: 005 = ALV Parameter


INCLUDES used within this REPORT RFKKCOLLFILE

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:

FKK_DB_DFKKCOLL_SELECT call function 'FKK_DB_DFKKCOLL_SELECT' exporting i_opbel = t_fkkop_fkkcoll-opbel i_inkps = t_fkkop_fkkcoll-inkps tables t_fkkcoll = ht_fkkcoll exceptions not_found = 1 initial_values = 2 others = 3.

FKK_BP_LINE_ITEMS_SELECT call function 'FKK_BP_LINE_ITEMS_SELECT' exporting i_opbel = t_fkkop_fkkcoll-opbel ix_opbel = 'X' i_inkps = t_fkkop_fkkcoll-inkps ix_inkps = 'X' tables pt_fkkop = ht_fkkop exceptions others = 1.

FILE_GET_NAME call function 'FILE_GET_NAME' exporting logical_filename = p_file importing file_name = lc_filename exceptions file_not_found = 1 others = 2.

FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = 'FI-CA-COL-SUB' changing physical_filename = h_filename exceptions logical_filename_not_found = 1 validation_failed = 2 others = 3.

POPUP_NO_LIST call function 'POPUP_NO_LIST'.

FKK_DB_FKKMAZE_SELECT_BY_OPBEL call function 'FKK_DB_FKKMAZE_SELECT_BY_OPBEL' exporting i_opbel = pt_fkkop-opbel i_opupw = pt_fkkop-opupw i_opupk = pt_fkkop-opupk i_opupz = pt_fkkop-opupz tables t_fkkmaze = ht_fkkmaze exceptions not_found = 1 initial_values = 2 others = 3.

FKK_COLLECTION_FILE_HEADER call function 'FKK_COLLECTION_FILE_HEADER' exporting i_file_name = p_filename i_inkgp = p_inkgp i_unicode = p_unicd "Note 1436672 tables t_fkkcoll = pt_fkkcoll t_fkkop = pt_file_fkkop t_fkkmaze = pt_file_fkkmaze exceptions general_fault = 1 others = 2.

FKK_COLLECTION_FILE_BODY call function 'FKK_COLLECTION_FILE_BODY' exporting i_file_name = p_filename tables t_fkkcoll = pt_fkkcoll t_fkkop = pt_file_fkkop t_fkkmaze = pt_file_fkkmaze changing i_lines = p_lines exceptions general_fault = 1 others = 2.

FKK_COLLECTION_FILE_TRAILER call function 'FKK_COLLECTION_FILE_TRAILER' exporting i_file_name = p_filename i_inkgp = p_inkgp i_lines = p_lines tables t_fkkcoll = pt_fkkcoll t_fkkop = pt_file_fkkop t_fkkmaze = pt_file_fkkmaze exceptions general_fault = 1 others = 2.

FKK_AKTIV_GET_TCODE_FOR_AKTYP call function 'FKK_AKTIV_GET_TCODE_FOR_AKTYP' exporting i_aktyp = '0098' importing e_tcode = h_tcode exceptions not_found = 1 others = 2.

FKK_AKTIV_HELP_TCODE_SET call function 'FKK_AKTIV_HELP_TCODE_SET' exporting i_tcode = h_tcode.

F4IF_FIELD_VALUE_REQUEST call function 'F4IF_FIELD_VALUE_REQUEST' exporting tabname = 'FKKAKTIV2_DYNP_1000' fieldname = 'LAUFD' searchhelp = 'FKKAKTIV2_RUN' exceptions field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 others = 5.

FKK_AKTIV_HELP_TCODE_RESET call function 'FKK_AKTIV_HELP_TCODE_RESET'.

CONVERT_DATE_TO_EXTERNAL call function 'CONVERT_DATE_TO_EXTERNAL' exporting date_internal = p_laufd importing date_external = h_c10 exceptions date_internal_is_invalid = 1 others = 2.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = sy-cprog dynumb = sy-dynnr tables dynpfields = t_dynpfields.

FI_MESSAGE_CHECK call function 'FI_MESSAGE_CHECK' exceptions no_message = 1 others = 2.

FI_MESSAGE_PRINT call function 'FI_MESSAGE_PRINT' exporting i_xausn = ' ' exceptions others = 1.

FI_MESSAGE_PROTOCOL call function 'FI_MESSAGE_PROTOCOL' exceptions no_message = 1 not_batch = 2 others = 3.

REUSE_ALV_FIELDCATALOG_MERGE





call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_program_name = p_repid i_internal_tabname = p_tabname i_structure_name = p_structure_name i_client_never_display = 'X' changing ct_fieldcat = pt_fieldcat exceptions inconsistent_interface = 1 program_error = 2 others = 3.

REUSE_ALV_VARIANT_DEFAULT_GET call function 'REUSE_ALV_VARIANT_DEFAULT_GET' exporting i_save = p_save changing cs_variant = p_variant exceptions wrong_input = 1 not_found = 2 program_error = 3 others = 4.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_grid_title = gv_title i_callback_program = p_repid * i_callback_pf_status_set = p_status_set * i_callback_user_command = p_user_command it_fieldcat = pt_fieldcat[] is_layout = gs_layout it_sort = pt_sort[] i_save = p_save is_variant = ps_variant tables t_outtab = pt_fkkop_fkkcoll exceptions program_error = 1 others = 2.

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'.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = alv_variant i_save = alv_save importing e_exit = alv_exit es_variant = gx_variant exceptions not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' exporting i_save = alv_save changing cs_variant = gx_variant.



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