RFKLET00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFKLET00 creates the extract (balance audit trail data set) for the historical balance audit trail...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 RFKLET00 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: ACCTYPE = Account Type
Selection Text: AUTOSEL = Automatic Selection
Selection Text: BA_BUPER = Reconcile a Period
Selection Text: BA_CHECK = Suppress Reconciliation
Selection Text: DKONTO = Customer Account
Selection Text: DS_INL = Old Dataset Logical Name
Selection Text: DS_OUTL = New Dataset Logical Name
Selection Text: HIGHDATE = Upper Limit (CPU Date)
Selection Text: IACC = Archive Account
Selection Text: IBAREA = Archive Business Area
Selection Text: IBUKRS = Archive Company Code
Selection Text: ICLEARY = Archive up to and incl.fisc.yr
Selection Text: IKOART = Archive Account Type
Selection Text: IRESET = Reset Tables
Selection Text: XWORKR = Read Extract from Work File
Selection Text: XWORK = Extract in Work File
Selection Text: SKONTO = G/L Account
Selection Text: P_TABOUT = In Database Table
Selection Text: P_TABIN = From Database Table
Selection Text: POSTEN = Accounts w/o Items
Selection Text: PA_WORK = Work File Logical Name
Selection Text: PAR_GKON = Offsetting Acct Determination
Selection Text: MERGE_N = Create New Dataset
Selection Text: MERGE_F = Create Initial Dataset
Selection Text: MAX_10 = File Size in MB
Selection Text: LOWDATE = Lower Limit (CPU Date)
Selection Text: KKONTO = Vendor Account
Selection Text: I_ONLY = Archive only
Title: Extract for the Accumulated Historical Balance Audit Trail
Text Symbol: 214 = Debit balance
Text Symbol: 216 = Credit balance
Text Symbol: 217 = ...Total Items ....Total Master .........Balance
Text Symbol: 218 = Special G/L balance
Text Symbol: 300 = Termination: incorrect sort indicator (not HKONT)
Text Symbol: 410 = Dataset parameters:
Text Symbol: 411 = Client:
Text Symbol: 412 = Report to be generated:
Text Symbol: 413 = Ignore indicator:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
UNICODE_REQUIRED CALL FUNCTION 'UNICODE_REQUIRED' IMPORTING unicode_required = l_unicode_required.
READ_SKC1C CALL FUNCTION 'READ_SKC1C' EXPORTING xbukrs = skc1a-bukrs xgjahr = skc1a-gjahr xgsber = skc1a-gsber xrtcur = skb1-waers xsaknr = skc1a-saknr IMPORTING xskc1c = skc1c EXCEPTIONS not_found = 4.
GET_GKONT_2 CALL FUNCTION 'GET_GKONT_2' EXPORTING gknkz = par_gkon TABLES xbseg = xbseg xbsegz = xbsegz EXCEPTIONS OTHERS = 0.
TABLE_COMPRESS CALL FUNCTION 'TABLE_COMPRESS' TABLES in = comp_in out = comp_out.
RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING name = ds_out length = cwa-length wa =
EXCEPTIONS cb_not_open = 01 length_zero = 02.
RKZ_READ_RECORD CALL FUNCTION 'RKZ_READ_RECORD' EXPORTING name = ds_in IMPORTING wa = wa EXCEPTIONS eof = 01 ioerr = 02.
TABLE_DECOMPRESS CALL FUNCTION 'TABLE_DECOMPRESS' TABLES in = comp_out out = comp_in.
RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING name = ds_out length = hd-length wa = hd EXCEPTIONS cb_not_open = 01 length_zero = 02.
RKZ_READ_RECORD CALL FUNCTION 'RKZ_READ_RECORD' EXPORTING name = ds_in IMPORTING wa = hd EXCEPTIONS eof = 01 ioerr = 02.
RKZ_OPEN_SEQ_FILE CALL FUNCTION 'RKZ_OPEN_SEQ_FILE' EXPORTING name = dsn maxlen = max_10 option = option.
RKZ_CLOSE_SEQ_FILE CALL FUNCTION 'RKZ_CLOSE_SEQ_FILE'.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = workfiles-workfile IMPORTING file_name = workfiles-output EXCEPTIONS OTHERS = 0.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DD_DROP_TABLE CALL FUNCTION 'DD_DROP_TABLE' EXPORTING tabname = itab EXCEPTIONS OTHERS = 0.
DDIF_TABL_ACTIVATE CALL FUNCTION 'DDIF_TABL_ACTIVATE' EXPORTING name = itab auth_chk = ' ' * PRID = -1 * IMPORTING * RC = EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3 .
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = logname IMPORTING file_name = pname EXCEPTIONS OTHERS = 4.
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 RFKLET00 or its description.
RFKLET00 - Extract for the Accumulated Historical Balance Audit Trail RFKLET00 - Extract for the Accumulated Historical Balance Audit Trail RFKLBU10_NACC - Account Details from Historical Accumulated Balance Audit Trail RFKLBU10_NACC - Account Details from Historical Accumulated Balance Audit Trail RFKLBU10 - Account Details from Historical Accumulated Balance Audit Trail RFKLBU10 - Account Details from Historical Accumulated Balance Audit Trail