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

RFKORD11 SAP ABAP Report - Print Program: Customer Statement







RFKORD11 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program prints customer statements and open item lists as letters for customers and vendors...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 RFKORD11 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 RFKORD11. "Basic submit
SUBMIT RFKORD11 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKORD11 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: RDATUM = Date of request
Selection Text: RERLDT = Repeat printing of
Selection Text: REVENT = Correspondence
Selection Text: RFORID = Form set
Selection Text: RINDKO = Individual correspondence
Selection Text: RKOART = Account type
Selection Text: RKONTO = Account
Selection Text: RSALDO = Balance in local currency
Selection Text: RSPRAS = Language key
Selection Text: RTKOID = Sender details
Selection Text: RUSNAM = User
Selection Text: RUZEIT = Time of request
Selection Text: RVZTAG = Arrears for clearing
Selection Text: RXAVIS = Create payment advice
Selection Text: RXBKOR = Data from trigger table
Selection Text: RXBUKR = Individual request
Selection Text: RXDEZV = Decentralized processing
Selection Text: RXKPOS = Statement also w/o items
Selection Text: RXOPOL = Open item list
Selection Text: RXVERR = Clearing
Selection Text: RZLSCH = Form ID for payment medium
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: STATBL = Noted items
Selection Text: TDDEST = Output to printer
Selection Text: UMSKZ = Special G/L indicator
Selection Text: VOREBL = Parked documents
Selection Text: RDATAR = Key date type
Selection Text: RBUKRS = Company code
Selection Text: RAUGBL = No cleared items
Selection Text: RART-UEB = Days overdue sorted list
Selection Text: RART-SK2 = Csh disc.2 due date sort.list
Selection Text: RART-SK1 = Csh disc.1 due date sort.list
Selection Text: RART-NET = Net due date sorted list
Selection Text: RART-ALT = Document age sorted list
Selection Text: PRDEST = Log to printer
Selection Text: BSCHL = Posting key





Title: Print Program: Customer Statement
Text Symbol: 100 = Key dates for acct statement
Text Symbol: 101 = Key date for due dates
Text Symbol: 102 = Standard
Text Symbol: 103 = Due date sorted list
Text Symbol: 104 = Doc. Date
Text Symbol: 105 = List sorted by doc. dates
Text Symbol: 106 = Buying Group
Text Symbol: 107 = Line Items
Text Symbol: 108 = Totals
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 = 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


INCLUDES used within this REPORT RFKORD11

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_GET_DEPEND_CC CALL FUNCTION 'CORRESPONDENCE_GET_DEPEND_CC' EXPORTING I_BUKRS = HDBUKRS TABLES T_BUKRS = DBUKRS.

FI_ITEMS_PROC_CURR_CHANGE CALL FUNCTION 'FI_ITEMS_PROC_CURR_CHANGE' EXPORTING IV_PROCESS = process IV_DATE = datum02 IV_TABNAME = 'BSEG' * IS_KNA1 = * IS_LFA1 = * IS_BSEC = * IS_BKPF = * IS_T001 = * IV_NOCHECK = * TABLES * IT_FIELDLIST = CHANGING CS_LINE = BSEG CV_CURRENCY = BKPF-waers EXCEPTIONS * FIELD_NOT_AMOUNT = 1 * CURRENCY_MISSING = 2 * ERROR_IN_CONVERSION = 3 OTHERS = 4 .

FI_ITEMS_PROC_CURR_CHANGE CALL FUNCTION 'FI_ITEMS_PROC_CURR_CHANGE' EXPORTING IV_PROCESS = process IV_DATE = datum02 IV_TABNAME = 'BSEG' * IS_KNA1 = * IS_LFA1 = * IS_BSEC = * IS_BKPF = * IS_T001 = * IV_NOCHECK = * TABLES * IT_FIELDLIST = CHANGING CS_LINE = BSEG CV_CURRENCY = BKPF-waers EXCEPTIONS * FIELD_NOT_AMOUNT = 1 * CURRENCY_MISSING = 2 * ERROR_IN_CONVERSION = 3 OTHERS = 4 .

FI_ITEMS_PROC_CURR_CHANGE CALL FUNCTION 'FI_ITEMS_PROC_CURR_CHANGE' EXPORTING IV_PROCESS = process IV_DATE = datum02 IV_TABNAME = 'BSEG' * IS_KNA1 = * IS_LFA1 = * IS_BSEC = * IS_BKPF = * IS_T001 = * IV_NOCHECK = * TABLES * IT_FIELDLIST = CHANGING CS_LINE = BSEG CV_CURRENCY = BKPF-waers EXCEPTIONS * FIELD_NOT_AMOUNT = 1 * CURRENCY_MISSING = 2 * ERROR_IN_CONVERSION = 3 OTHERS = 4 .

FI_ITEMS_PROC_CURR_CHANGE CALL FUNCTION 'FI_ITEMS_PROC_CURR_CHANGE' EXPORTING IV_PROCESS = process IV_DATE = datum02 IV_TABNAME = 'BSEG' * IS_KNA1 = * IS_LFA1 = * IS_BSEC = * IS_BKPF = * IS_T001 = * IV_NOCHECK = * TABLES * IT_FIELDLIST = CHANGING CS_LINE = BSEG CV_CURRENCY = BKPF-waers EXCEPTIONS * FIELD_NOT_AMOUNT = 1 * CURRENCY_MISSING = 2 * ERROR_IN_CONVERSION = 3 OTHERS = 4 .

CORRESPONDENCE_GET_LEADING_CC CALL FUNCTION 'CORRESPONDENCE_GET_LEADING_CC' EXPORTING I_BUKRS = KNB1-BUKRS IMPORTING E_BUKRS = SAVE_BUKRS.

CORRESPONDENCE_GET_LEADING_CC





CALL FUNCTION 'CORRESPONDENCE_GET_LEADING_CC' EXPORTING I_BUKRS = LFB1-BUKRS 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.

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