SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_3RFKORDR2_A SAP ABAP Report - Print Program: Cash Documents







J_3RFKORDR2_A 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_3RFKORDR2_A into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT J_3RFKORDR2_A. "Basic submit
SUBMIT J_3RFKORDR2_A AND RETURN. "Return to original report after report execution complete
SUBMIT J_3RFKORDR2_A VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: PRDEST = Log to Printer
Selection Text: P_ALT = Print Altern. Account Numbers
Selection Text: P_CNAME = Print cashier name
Selection Text: P_EDIT = D .
Selection Text: P_WAERS = Currency for Conversion
Selection Text: RB1 = FI Document Number
Selection Text: RB2 = Reference Document Number
Selection Text: RB3 = Document Number for Display
Selection Text: RBELNR = Document Number
Selection Text: RBUKRS = Company Code
Selection Text: RCAJON = Cash Journal Number
Selection Text: RDATUM = Date of Request
Selection Text: RERLDT = Repeat Printing from
Selection Text: REVENT = Correspondence
Selection Text: RFORID = Form Set
Selection Text: RGJAHR = Fiscal Year
Selection Text: RIMMD = Print Immediately
Selection Text: RUSNAM = User
Selection Text: RUZEIT = Time of Request
Selection Text: RXBKOR = Data from Trigger Table
Selection Text: SORTVK = Sorting of Cash Documents
Selection Text: TDDEST = Output to Printer
Selection Text: MISSION = Print Assignment Code
Selection Text: LONGTR = Print Business Trans Long Text
Selection Text: DSPRAS = Print in Logon Language
Title: Print Program: Cash Documents
Text Symbol: 001 = kop.
Text Symbol: 002 = /
Text Symbol: 003 = rub.
Text Symbol: 004 = VAT
Text Symbol: 005 = tenge
Text Symbol: 006 = tiin
Text Symbol: 110 = Output to Printer
Text Symbol: 111 = Print Immediately
Text Symbol: 200 = Log
Text Symbol: 201 = Overview of Generated Output Requests
Text Symbol: 202 = CoCd Correspondence Spool no.Title Output pages
Text Symbol: 203 = Name is missing in logon language ;;





Text Symbol: 204 = Cash Document
Text Symbol: 205 = Error List
Text Symbol: 300 = Incoming Payment
Text Symbol: 301 = Payment
Text Symbol: 303 = Passport
Text Symbol: 304 = -
Text Symbol: 305 = vydan


INCLUDES used within this REPORT J_3RFKORDR2_A

INCLUDE RFKORI00.
INCLUDE RFKORI04.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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 .

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.

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING USER_NAME = puser_name * READ_DB_DIRECTLY = ' ' IMPORTING * USER_ADDRESS = USER_USR03 = cashier_usr03 EXCEPTIONS USER_ADDRESS_NOT_FOUND = 1 OTHERS = 2 .

J_3RT_FIO_USER call function 'J_3RT_FIO_USER' exporting p_bname = cashier_usr03-bname * P_DATE = P_LANG = save_langu importing full_name = pfull_name EXCEPTIONS USER_NOT_FOUND = 1 NO_ADDRESS_FOUND = 2 OTHERS = 3 .



Contribute (Add Comments)

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 J_3RFKORDR2_A or its description.