RFKORDJ4 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program prints a "statement of account" (a periodic invoice) which is used frequently in Japan...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 RFKORDJ4 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: JPCLITM = Cleared item list
Selection Text: JPSDITM = SD item
Selection Text: JPSDNUM = Reference Document Number
Selection Text: PRDEST = Log to printer
Selection Text: P_ADOBE = PDF
Selection Text: P_SCRIPT = Script
Selection Text: RART-UEB = Days overdue sorted list
Selection Text: RBUKRS = Company code
Selection Text: RDATAR = Key date type
Selection Text: RDATUM = Date of request
Selection Text: RERLDT = Repeat printing of
Selection Text: REVENT = Correspondence
Selection Text: RFORID = Form set
Selection Text: RKONTO = Account
Selection Text: RTKOID = Sender details
Selection Text: RUSNAM = User
Selection Text: RUZEIT = Time of request
Selection Text: RVZTAG = Arrears for clearing
Selection Text: RXBKOR = Data from trigger table
Selection Text: SORTVK = Sort Var. for Correspondence
Selection Text: SORTVP = Sort Var. for Open Item List
Selection Text: SORTVP2 = Sort Var. for Clearing Trans.
Selection Text: TDDEST = Output to printer
Selection Text: UMSKZ = Special G/L indicator
Title: Print Program: Statement of Account (Period. Billing)
Text Symbol: 322 = Type of Output
Text Symbol: 321 = Type of Display
Text Symbol: 320 = Moved-out Elements fr
Text Symbol: 319 = Overdue Since
Text Symbol: 100 = Key dates for invoice ;;
Text Symbol: 101 = Key Date for Days in Arrears
Text Symbol: 102 = Standard
Text Symbol: 103 = Due date sorted list
Text Symbol: 200 = Log
Text Symbol: 201 = Overview of generated output requests
Text Symbol: 202 = CC Correspondence Spool No./Fax ID Title/Fax No. .. Output Pages..
Text Symbol: 203 = Name is Missing in Logon Language
Text Symbol: 204 = Customer Statement
INCLUDE RFKORI00.
INCLUDE RFKORI02.
No SAP DATABASE tables are accessed within this REPORT code!
START_FORM * CALL FUNCTION 'START_FORM' * EXPORTING * FORM = SAVE_FORM * LANGUAGE = LANGUAGE * STARTPAGE = 'FIRST' * IMPORTING * LANGUAGE = LANGUAGE * EXCEPTIONS * FORM = 5.
START_FORM * CALL FUNCTION 'START_FORM' * EXPORTING FORM = SAVE_FORM * LANGUAGE = LANGUAGE * STARTPAGE = 'FIRST' * IMPORTING LANGUAGE = LANGUAGE * EXCEPTIONS FORM = 5.
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.
DETERMINE_DUE_DATE CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING I_FAEDE = FAEDE IMPORTING E_FAEDE = FAEDE EXCEPTIONS OTHERS = 1.
DETERMINE_DUE_DATE CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING I_FAEDE = FAEDE IMPORTING E_FAEDE = FAEDE EXCEPTIONS OTHERS = 1.
DETERMINE_DUE_DATE CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING I_FAEDE = FAEDE IMPORTING E_FAEDE = FAEDE EXCEPTIONS OTHERS = 1.
CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING I_FAEDE = FAEDE IMPORTING E_FAEDE = FAEDE EXCEPTIONS OTHERS = 1.
DETERMINE_DUE_DATE CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING I_FAEDE = FAEDE IMPORTING E_FAEDE = FAEDE EXCEPTIONS OTHERS = 1.
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 RFKORDJ4 or its description.