RFKKET00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RFKKET00 creates the extract (balance audit trail dataset) for the balance audit trail of customers, vendors and G/L accounts managed on an open item basis...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 RFKKET00 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: AKONTO = Reconciliation account
Selection Text: AUTOSEL = Automatic selection
Selection Text: BELMAX = Maximum number of documents
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: IBUKRS = Archive company code
Selection Text: ICLEARY = Archive up to and incl.fisc.yr
Selection Text: IKOART = Archive account type
Selection Text: IRESET = Reset database tables
Selection Text: I_ONLY = Only archive dataset tape
Selection Text: KKONTO = Vendor account
Selection Text: KONTOART = Account type
Selection Text: LOWDATE = Lower limit (CPU date)
Selection Text: MAX_10 = D File Size in MB
Selection Text: MERGE_F = Create first tape
Selection Text: MERGE_N = Create new tape
Selection Text: PAR_GKON = Offsetting acct determination
Selection Text: PA_WORK = Work file name
Selection Text: P_DS_IN = Phys. file of old dataset
Selection Text: P_DS_OUT = Phys. file of new dataset
Selection Text: P_TABIN = D From database table
Selection Text: P_TABOUT = D In database table
Selection Text: SKONTO = G/L account
Selection Text: XWORK = Extract in work file
Selection Text: XWORKR = Read extract from work file
Title: Extract for Accumulated Open Item Balance Audit Trail
Text Symbol: 463 = Work file does not exist
Text Symbol: 462 = Name of Work Files Recds
Text Symbol: 461 = No work file was opened. Termination!
Text Symbol: 460 = Error opening work file
Text Symbol: 452 = Error: old and new datasets are identical!
Text Symbol: 451 = Specify new dataset
Text Symbol: 450 = Specify old dataset
Text Symbol: 416 = Error during transf.
Text Symbol: 415 = Error during first reading: EOF found
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GET_GKONT_2 CALL FUNCTION 'GET_GKONT_2' EXPORTING gknkz = par_gkon TABLES xbseg = xbseg xbsegz = xbsegz EXCEPTIONS OTHERS = 0.
READ_KNA1 CALL FUNCTION 'READ_KNA1' EXPORTING xkunnr = xx-konto IMPORTING xkna1 = kna1 EXCEPTIONS key_incomplete = 04 not_authorized = 04 not_found = 04.
READ_KNB1 CALL FUNCTION 'READ_KNB1' EXPORTING xkunnr = xx-konto xbukrs = xx-bukrs IMPORTING xknb1 = knb1 EXCEPTIONS key_incomplete = 04 not_authorized = 04 not_found = 04.
READ_LFA1 CALL FUNCTION 'READ_LFA1' EXPORTING xlifnr = xx-konto IMPORTING xlfa1 = lfa1 EXCEPTIONS key_incomplete = 04 not_authorized = 04 not_found = 04.
READ_LFB1 CALL FUNCTION 'READ_LFB1' EXPORTING xlifnr = xx-konto xbukrs = xx-bukrs IMPORTING xlfb1 = lfb1 EXCEPTIONS key_incomplete = 04 not_authorized = 04 not_found = 04.
READ_SKA1 CALL FUNCTION 'READ_SKA1' EXPORTING xktopl = t001-ktopl xsaknr = xx-konto IMPORTING xska1 = ska1 xskat = skat EXCEPTIONS key_incomplete = 04 not_authorized = 04 not_found = 04.
READ_SKB1 CALL FUNCTION 'READ_SKB1' EXPORTING xsaknr = xx-konto xbukrs = xx-bukrs IMPORTING xskb1 = skb1 EXCEPTIONS key_incomplete = 04 not_authorized = 04 not_found = 04.
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.
GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' EXPORTING bukrs = x-bukrs date = x-augdt IMPORTING curry = wf_cleary.
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'.
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.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = workfiles-workfile IMPORTING file_name = workfiles-output EXCEPTIONS OTHERS = 4.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = pa_work IMPORTING file_name = workfiles-output EXCEPTIONS OTHERS = 4.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
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 EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
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 RFKKET00 or its description.
RFKKET00 - Extract for Accumulated Open Item Balance Audit Trail RFKKET00 - Extract for Accumulated Open Item Balance Audit Trail RFKKES_SAL2 - Annual Sales Report (Spain), According to Legal Change 2008 RFKKES_SAL2 - Annual Sales Report (Spain), According to Legal Change 2008 RFKKES_SAL1 - Annual Tax Return (Spain) RFKKES_SAL1 - Annual Tax Return (Spain)