RFKKCOPG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report generates a test file for the collection agency file transfer program...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 RFKKCOPG into the relevant SAP transactions such as SE38 or SE80
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: P_CCINS = Payment Cards: Card Type
Selection Text: P_CCCKO = Clrg Acct for Credit Card Pymt
Selection Text: P_BVRKO = Bank Clearing Account
Selection Text: P_BVRCH = Clrg Acct for Check Payments
Selection Text: P_BLDAT = Document Date
Selection Text: P_BETRZ = Payment Amount
Selection Text: P_BETRI = Interest Amount
Selection Text: P_BETRC = Charge Amount
Selection Text: P_BANKS = Bank Country Key
Selection Text: P_BANKN = Bank Account Number
Selection Text: P_BANKL = Bank Number
Selection Text: P_APPLK = Application
Selection Text: DS_NAME = Name of Target File
Selection Text: P_CCNUM = Payment Cards: Card Number
Selection Text: XPC = Write to PC
Selection Text: P_WAERS = Currency Key
Selection Text: P_VKONT = Contract Account
Selection Text: P_CHCKN = Check Number
Selection Text: P_DATAB = Payment Cards: Valid From
Selection Text: P_DATBI = Payment Cards: Valid Through
Selection Text: P_GPART = Business Partner
Selection Text: P_INKGP = Collection Agency
Selection Text: P_INKPS = Collection Item
Selection Text: P_KOINHK = Name of Cardholder
Selection Text: P_KOINHS = Name of Check Issuer
Selection Text: P_NINKB = Uncollectable Amount
Selection Text: P_NRZAS = Payment Form Number
Selection Text: P_OPBEL = Document Number
Selection Text: P_POSANZ = Number of Items
Selection Text: P_REPEAT = Number of Coll. Agency File
Selection Text: P_TRATYP = Trans. Cat. for Coll. Agency
Selection Text: P_TXTVW = Usage Text
Selection Text: P_TYP = Local File Type
Selection Text: P_VALUT = Value Date
Title: Generate Test File for Collection Agency Payments
Text Symbol: 006 = Addit. Fields for Credit Card Lot
Text Symbol: 005 = Add. Fields for Check Lot
Text Symbol: 004 = Foot
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FKK_GET_APPLICATION call function 'FKK_GET_APPLICATION' importing e_applk = p_applk exceptions no_appl_selected = 1 others = 2.
FILE_VALIDATE_NAME call function 'FILE_VALIDATE_NAME' exporting logical_filename = 'FI-CA-COL-TEST' changing physical_filename = ds_name exceptions logical_filename_not_found = 1 validation_failed = 2 others = 3.
DYNPRO_STRING_READ call function 'DYNPRO_STRING_READ' exporting i_fieldname = 'XPC' i_repid = 'RFKKCOPG' importing * heval contains value e_string = heval.
KD_GET_FILENAME_ON_F4 call function 'KD_GET_FILENAME_ON_F4' exporting mask = ' ' static = 'X' changing file_name = dest.
GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting filename = filename filetype = filetype tables data_tab = p_itab exceptions file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 others = 22.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.