SAP Reports / Programs | Financial Accounting(FI) SAP FI

RFKORDJ4 SAP ABAP Report - Print Program: Statement of Account (Period. Billing)







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


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 RFKORDJ4. "Basic submit
SUBMIT RFKORDJ4 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKORDJ4 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: 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





Text Symbol: 205 = Error list
Text Symbol: 300 = Exeptional payment terms
Text Symbol: 301 = Date
Text Symbol: 302 = Our Accountant
Text Symbol: 303 = Tel.No.
Text Symbol: 304 = Fax
Text Symbol: 305 = Your Account w/Us
Text Symbol: 306 = YourAccountant
Text Symbol: 307 = Our Account with You
Text Symbol: 308 = Balance
Text Symbol: 309 = Transactions Without Special G/L Indicators
Text Symbol: 310 = No Open Items on Key Date
Text Symbol: 311 = Open Items to Notice:
Text Symbol: 312 = Items Acknowledged
Text Symbol: 313 = No Open Items on Key Date
Text Symbol: 314 = Items Based On
Text Symbol: 315 = Based on Items
Text Symbol: 316 = Net Due
Text Symbol: 317 = Discnt 1 in
Text Symbol: 318 = Discnt 2 in


INCLUDES used within this REPORT RFKORDJ4

INCLUDE RFKORI00.
INCLUDE RFKORI02.


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:

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.

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.



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