SAP Reports / Programs

RFKORS00 SAP ABAP Report - Customer: Standard Letters







RFKORS00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report selects the customers for whom standard letters are to be output and creates corresponding requests in the table for correspondence requests in accounting...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 RFKORS00 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 RFKORS00. "Basic submit
SUBMIT RFKORS00 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKORS00 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: NB1VERDT = Valid To
Selection Text: NB1URLID = Known/negotiated leave
Selection Text: NB1TOGRU = Tolerance group
Selection Text: NB1SPERR = Posting block for comp.code
Selection Text: NB1REMIT = Next payee
Selection Text: NB1PERKZ = Collective invoice variant
Selection Text: NB1MGRUP = Dunning grouping
Selection Text: NB1LOEVM = Delete flag for company code
Selection Text: NB1KVERM = Account memo
Selection Text: NB1KULTG = Cashed checks duration
Selection Text: NB1KNRZE = Head office
Selection Text: NB1KNRZB = Alternative payee
Selection Text: NB1HBKID = House bank
Selection Text: NB1FDGRV = Cash management group
Selection Text: NB1ERNAM = Entry in company code
Selection Text: NB1ERDAT = Creation date in company code
Selection Text: NB1EIKTO = Account at customer
Selection Text: NB1DATLZ = Last interest calculation date
Selection Text: NB1DAT Z = Last interest calculation date
Selection Text: NB1BUSAB = Accounting clerk
Selection Text: NB1BLNKZ = Preference indicator
Selection Text: NB1BEGRU = Authorization group in co.code
Selection Text: NB1ALTKN = Old master record number
Selection Text: NB1AKONT = Reconciliation account
Selection Text: NA1XZEMP = Alternative payee in document
Selection Text: NA1VBUND = Trading partner
Selection Text: NA1UWAER = Sales currency
Selection Text: NA1UMSA1 = Annual sales
Selection Text: NA1UMJAH = Sales year
Selection Text: NA1TXJCD = Jurisdiction cde for tax calc.
Selection Text: NA1TELX1 = Telex number
Selection Text: NA1TELTX = Teletext number
Selection Text: NA1TELFX = Telefax
Selection Text: NA1TELF2 = 2nd telephone number
Selection Text: NB1VLIBB = Amount Insured
Selection Text: UMSPER = Sales period
Selection Text: UMSATZ = Sales
Selection Text: RXBUKR = Individual request





Selection Text: RSTEXT = Text name
Selection Text: RSTDID = Text ID
Selection Text: RSPRAS = Language
Selection Text: RSHBKZ = Special G/L indicator
Selection Text: REVENT = Correspondence
Selection Text: PRDEST = Log to printer
Selection Text: NB1ZWELS = Payment methods
Selection Text: NB1ZUAWA = Sort key
Selection Text: NB1ZTERM = Terms of payment key
Selection Text: NB1ZSABE = Accounting clerk at customer
Selection Text: NB1ZINRT = Interest calculation frequency
Selection Text: NB1ZINDT = Key date of last inter. calc.
Selection Text: NB1ZGRUP = Payment grouping
Selection Text: NB1ZAMIV = Payment notice to sales
Selection Text: NB1ZAMIR = Legal department pmnt notice
Selection Text: NB1ZAMIO = Customer pmnt notice (w/o OI)
Selection Text: NB1ZAMIM = Customer pmnt notice (w.OI)
Selection Text: NB1ZAMIB = Accounting payment notices
Selection Text: NB1ZAHLS = Payment block
Selection Text: NB1XZVER = Payment history record entry
Selection Text: NB1XVERR = Clearing with vendor
Selection Text: NB1XPORE = Single payment
Selection Text: NB1XDEZV = Local processing
Selection Text: NB1XAUSZ = Account statement
Selection Text: NB1WEBTR = Bill of exchange limit
Selection Text: NB1WAKON = Requirement key b/e charges
Selection Text: NB1VZSKZ = Interest indicator
Selection Text: NB1VRSZL = Lead months
Selection Text: NB1VRSPR = Deductible
Selection Text: NB1VRSNR = Contract Number
Selection Text: NB1VRBKZ = Institution number
Selection Text: NA1TELF1 = 1st telephone number
Selection Text: NA1KONZS = Group key
Selection Text: NA1KNRZA = Alternative payer
Selection Text: NA1KNAZK = Working times
Selection Text: NA1JMZAH = Yearly number of employees
Selection Text: NA1JMJAH = Year for no. of employees
Selection Text: NA1GFORM = Business form
Selection Text: NA1FISKN = Fiscal address





Selection Text: NA1FAKSD = Head office billing block
Selection Text: NA1EXABL = Unloading point
Selection Text: NA1ERNAM = General data entered by
Selection Text: NA1ERDAT = General data creation data
Selection Text: NA1EKONT = First contact
Selection Text: NA1DEAR3 = Indicator: Sales prospect
Selection Text: NA1DEAR2 = Indicator: Sales partner
Selection Text: NA1DEAR1 = Indicator: Competitor
Selection Text: NA1DATLT = Data communication line no.
Selection Text: NA1COUNC = Country code
Selection Text: NA1CITYC = City zip code
Selection Text: NA1BUBKZ = Company number (check digit)
Selection Text: NA1BRSCH = Industry
Selection Text: NA1BEGRU = Authorization group
Selection Text: NA1BBSNR = Company number (additional)
Selection Text: NA1BBBNR = Company number
Selection Text: NA1BAHNS = Train station
Selection Text: NA1BAHNE = Express train station
Selection Text: NA1AUFSD = Central order block
Selection Text: NA1ANRED = Title
Selection Text: MONAT = Month
Selection Text: CURRY = Fiscal year
Selection Text: AGOBLIG2 = Total liabilities
Selection Text: NA1KTOKD = Account group
Selection Text: NA1TELBX = Telebox number
Selection Text: NA1STRAS = Street
Selection Text: NA1STKZU = Taxes on sales/purchases
Selection Text: NA1STKZN = Indicator: Natural person
Selection Text: NA1STKZA = Output tax
Selection Text: NA1STCEG = VAT registration number
Selection Text: NA1STCD2 = Tax code 2
Selection Text: NA1STCD1 = Tax code 1
Selection Text: NA1SPRAS = Language
Selection Text: NA1SPERR = Central posting block
Selection Text: NA1SORTL = Search term
Selection Text: NA1RPMKR = Regional market
Selection Text: NA1REGIO = Region
Selection Text: NA1PSTLZ = Postal code
Selection Text: NA1PSTL2 = PO Box postal code



Selection Text: NA1KUKLA = Customer classification
Selection Text: NA1LAND1 = Country key
Selection Text: NA1LIFNR = Vendor
Selection Text: NA1LIFSD = Head office delivery block
Selection Text: NA1LOCCO = Location code
Selection Text: NA1LOEVM = Head office delete flag
Selection Text: NA1LZONE = Transportation zone
Selection Text: NA1NAME1 = Name 1
Selection Text: NA1NAME2 = Name 2
Selection Text: NA1NAME3 = Name 3
Selection Text: NA1NAME4 = Name 4
Selection Text: NA1NIELS = Nielsen ID
Selection Text: NA1ORT01 = City
Selection Text: NA1ORT02 = District
Selection Text: NA1PFACH = PO Box
Title: Customer: Standard Letters
Text Symbol: 205 = Error list
Text Symbol: 204 = Individual Letters and Standard Letters
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: 001 = Configuration-dependent select options


INCLUDES used within this REPORT RFKORS00

INCLUDE RFKORI00.
INCLUDE RFKORIS0.


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:

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

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

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = RSPRAS NAME = HTDNAM2 OBJECT = 'BKORM' IMPORTING HEADER = HTHEADER2 TABLES LINES = HTLINES.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = RSTDID LANGUAGE = RSPRAS NAME = RSTEXT OBJECT = 'TEXT' IMPORTING HEADER = HTHEADER TABLES LINES = HTLINES EXCEPTIONS * ID = 01 * LANGUAGE = 02 * NAME = 03 * OBJECT = 04.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = HTHEADER2 * INSERT = 'X' SAVEMODE_DIRECT = 'X' TABLES LINES = HTLINES.

CORRESPONDENCE_GET_DEPEND_CC CALL FUNCTION 'CORRESPONDENCE_GET_DEPEND_CC' EXPORTING I_BUKRS = KONTTAB-BUKRS TABLES T_BUKRS = DBUKRS.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = RSPRAS NAME = HTDNAM2 OBJECT = 'BKORM' SAVEMODE_DIRECT = 'X'.



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