RFKORD80 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to print cash documents...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 RFKORD80 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: TITLE = Additional heading
Selection Text: TDDEST = Output to printer
Selection Text: SORTVK = Sorting of cash documents
Selection Text: SORTKZ = Sorting of output
Selection Text: RXBKOR = Data from trigger table
Selection Text: RUZEIT = Time of request
Selection Text: RUSNAM = User
Selection Text: RUNAME = Created by
Selection Text: RSPRAS = Language key
Selection Text: RINDKO = Individual correspondence
Selection Text: RGJAHR = Fiscal year
Selection Text: RFORID = Form set
Selection Text: REVENT = Correspondence
Selection Text: RERLDT = Repeat printing from
Selection Text: RDATUM = Date of request
Selection Text: RCAJON = Cash journal number
Selection Text: RBUKRS = Company code
Selection Text: RBLART = Document type
Selection Text: RBELNR = Document number
Selection Text: PRDEST = Log to printer
Selection Text: DSPRAS = Print in logon language
Selection Text: DANZZL = Number of Lines in Address
Title: Print Program: Cash Documents
Text Symbol: 301 = Payment
Text Symbol: 300 = Incoming payment
Text Symbol: 205 = Error list
Text Symbol: 204 = Cash document
Text Symbol: 203 = Name is missing in logon language
Text Symbol: 202 = CC Correspondence Spool No./Fax ID Title/Fax No. .. Output Pages..
Text Symbol: 201 = Overview of generated output requests
Text Symbol: 200 = Log
Text Symbol: 111 = Print Imm.
Text Symbol: 110 = Output to printer
INCLUDE RFKORI00.
INCLUDE RFKORI04.
No SAP DATABASE tables are accessed within this REPORT code!
FCJ_GET_CAJO_DATA2 CALL FUNCTION 'FCJ_GET_CAJO_DATA2' EXPORTING I_COMP_CODE = save_bukrs I_CAJO_NUMBER = hcajo_number I_LANGU = save_langu IMPORTING E_TCJ_C_JOURNALS = tcj_c_journals E_TCJ_CJ_NAMES = tcj_cj_names EXCEPTIONS * CAJO_NOT_EXISTENT = 1 OTHERS = 2 .
FCJ_GET_DOCUMENT CALL FUNCTION 'FCJ_GET_DOCUMENT' EXPORTING I_COMP_CODE = save_bukrs I_CAJO_NUMBER = hcajo_number I_POSTING_NUMBER = save_belnr I_FISC_YEAR = save_gjahr "1810648 IMPORTING E_TCJ_DOCUMENTS = tcj_documents EXCEPTIONS * NOT_FOUND = 1 OTHERS = 2 .
FCJ_GET_POSITIONS CALL FUNCTION 'FCJ_GET_POSITIONS' EXPORTING I_COMP_CODE = save_bukrs I_CAJO_NUMBER = hcajo_number I_POSTING_NUMBER = save_belnr I_FISC_YEAR = save_gjahr "1810648 TABLES ITCJ_POSITIONS = htcj_positions EXCEPTIONS * NOT_FOUND = 1 OTHERS = 2 .
FCJ_GET_WT CALL FUNCTION 'FCJ_GET_WT' EXPORTING I_COMP_CODE = save_bukrs I_CAJO_NUMBER = hcajo_number I_FISC_YEAR = save_gjahr I_POSTING_NUMBER = save_belnr * I_POSITION_NUMBER = TABLES ITCJ_WTAX_ITEMS = htcj_wtax_items EXCEPTIONS * NO_WTAX_ITEMS_GET = 1 OTHERS = 2 .
FCJ_GET_TRANSACTION_NAMES CALL FUNCTION 'FCJ_GET_TRANSACTION_NAMES' EXPORTING I_LANGU = save_langu I_COMP_CODE = save_bukrs TABLES ITCJ_TRANS_NAMES = hTCJ_TRANS_NAMES .
CORRESPONDENCE_GET_LEADING_CC CALL FUNCTION 'CORRESPONDENCE_GET_LEADING_CC' EXPORTING I_BUKRS = tcj_documents-comp_code IMPORTING E_BUKRS = SAVE_BUKRS.
CORRESPONDENCE_TEXT CALL FUNCTION 'CORRESPONDENCE_TEXT' EXPORTING I_BUKRS = HHEAD-HDBUKRS I_EVENT = REVENT I_SPRAS = RSPRAS IMPORTING E_FUNCTION = HFUNKTION E_TDNAME = HTDNAME E_TDSPRAS = HTDSPRAS E_THEAD = HTHEADER TABLES LINES = HTLINES EXCEPTIONS NO_EVENT_FOUND = 02 NO_SPRAS = 06.
SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = HTHEADER * INSERT = 'X' SAVEMODE_DIRECT = 'X' IMPORTING NEWHEADER = HTHEADER TABLES LINES = HTLINES.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.