J_1UFKORDR2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Cash orders print program for cash transaction...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 J_1UFKORDR2 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: TDDEST = Output to printer
Selection Text: SORTVK = Sorting of cash documents
Selection Text: RXBKOR = Data from trigger table
Selection Text: RUZEIT = Time of request
Selection Text: RUSNAM = User
Selection Text: RIMMD = Print immediately
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: RBELNR = Document number
Selection Text: RB2 = Reference Document Number
Selection Text: RB1 = FI Document Number
Selection Text: P_WAERS = Convert to currency
Selection Text: P_CNAME = Print cashier name
Selection Text: P_ALT = Print altern. account numbers
Selection Text: PRDEST = Log to printer
Selection Text: MISSION = Print Special Purpose Code
Selection Text: LONGTR = Print Business Trans Long Text
Selection Text: DSPRAS = Print in logon language
Title: Print Program: Cash Documents
Text Symbol: 305 = is given
Text Symbol: 304 = -
Text Symbol: 303 = Passport
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 = CoCd Correspondence Spool no.Title 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.
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 IMPORTING E_TCJ_DOCUMENTS = tcj_documents EXCEPTIONS * NOT_FOUND = 1 OTHERS = 2 .
SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING USER_NAME = tcj_documents-accountant * READ_DB_DIRECTLY = ' ' IMPORTING * USER_ADDRESS = USER_USR03 = cashier_usr03 * EXCEPTIONS * USER_ADDRESS_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 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 .
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SELECTION * ADDRESS_GROUP = 'CA01' IMPORTING ADDRESS_VALUE = ADDRESS_VALUE EXCEPTIONS ADDRESS_NOT_EXIST = 1 OTHERS = 2. "SADR40A
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SELECTION IMPORTING ADDRESS_VALUE = ADDRESS_VALUE EXCEPTIONS ADDRESS_NOT_EXIST = 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.