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

RFKORDR1 SAP ABAP Report - Print Program: Internal Docs for Confederation of Independeant States







RFKORDR1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Print program: Receipts for cash payment for the Russian Federation Using this report country-specific receipts for cash payment can be generated for the Russian Federation...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 RFKORDR1 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 RFKORDR1. "Basic submit
SUBMIT RFKORDR1 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKORDR1 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: RBELNR = Document number
Selection Text: RBUKRS = Company code
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: TDDEST = Output to printer
Selection Text: RB2 = Reference Document Number
Selection Text: RB1 = Document Number
Selection Text: POSITION = Item
Selection Text: OUTGOORD = Outgoing payment document type
Selection Text: INCOMORD = Incoming payment document type
Selection Text: IDS = Text-ID "Take from/Allowance"
Selection Text: ID = ID text
Selection Text: CHIEFACC = G/L accountant
Selection Text: CHIEF = Head of Organization
Selection Text: CASHIER = Cashier
Selection Text: CASH = Cash Desk
Title: Print Program: Internal Docs for Confederation of Independeant States
Text Symbol: 205 = Error list
Text Symbol: 501 = January
Text Symbol: 502 = February
Text Symbol: 503 = March
Text Symbol: 504 = April
Text Symbol: 505 = May
Text Symbol: 506 = June
Text Symbol: 507 = July
Text Symbol: 508 = August
Text Symbol: 509 = September
Text Symbol: 510 = October
Text Symbol: 511 = November
Text Symbol: 001 = Output Control
Text Symbol: 002 = Print Control





Text Symbol: 003 = Test Run
Text Symbol: 110 = Output to printer
Text Symbol: 111 = Print Imm.
Text Symbol: 120 = Doc. type: Cash payment documnt
Text Symbol: 121 = Doc. type: Cash receipt documnt
Text Symbol: 200 = Log
Text Symbol: 201 = Overview of generated print request
Text Symbol: 202 = CoCd Correspondence................. Spool no. Title........................ Printed pages..
Text Symbol: 203 = Name is Missing in Logon Language
Text Symbol: 204 = Internal Document
Text Symbol: 512 = December


INCLUDES used within this REPORT RFKORDR1

INCLUDE RFKORI00.
INCLUDE RFKORI01.
INCLUDE RFKORI93.


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:

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING AMOUNT = RESULT-WRBTR CURRENCY = RESULT-WAERS FILLER = ' ' LANGUAGE = SY-LANGU IMPORTING IN_WORDS = SPELL EXCEPTIONS NOT_FOUND = 1 TOO_LARGE = 2 OTHERS = 3.

PRELIMINARY_POSTING_DOC_READ CALL FUNCTION 'PRELIMINARY_POSTING_DOC_READ' EXPORTING BELNR = SAVE_BELNR BUKRS = SAVE_BUKRS GJAHR = SAVE_GJAHR TABLES T_VBKPF = HVBKPF T_VBSEC = HVBSEC T_VBSEG = HVBSEG T_VBSET = HVBSET EXCEPTIONS DOCUMENT_LINE_NOT_FOUND = 1 DOCUMENT_NOT_FOUND = 2 OTHERS = 3.

START_FORM call function 'START_FORM' EXPORTING form = save_form language = sy-langu startpage = 'FIRST ' EXCEPTIONS form = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = EREIGNIS FUNCTION = 'SET' TYPE = 'BODY' WINDOW = 'MAIN' EXCEPTIONS WINDOW = 1 ELEMENT = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = EREIGNIS FUNCTION = 'SET' WINDOW = 'CHECK' EXCEPTIONS ELEMENT = 1 WINDOW = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = EREIGNIS FUNCTION = 'SET' WINDOW = 'CUTLINE' EXCEPTIONS ELEMENT = 1 WINDOW = 2.

END_FORM call function 'END_FORM' exceptions unopened = 1 bad_pageformat_for_print = 2 others = 3.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = idt LANGUAGE = LANG NAME = NAME OBJECT = OBJ TABLES LINES = TDLINE EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 NOT_FOUND = 4.

FORM_CHECK CALL FUNCTION 'FORM_CHECK' EXPORTING I_PZFOR = T001F-FORNR EXCEPTIONS NOT_DEFINED = 4.

GET_PRINT_PARAM CALL FUNCTION 'GET_PRINT_PARAM' EXPORTING I_BNAME = SY-UNAME IMPORTING E_USR01 = USR01.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING DEVICE = HTDDEVICE DIALOG = HDIALOG FORM = SAVE_FORM LANGUAGE = SY-LANGU OPTIONS = ITCPO IMPORTING RESULT = ITCPP EXCEPTIONS FORM = 3.

CLOSE_FORM





call function 'CLOSE_FORM' IMPORTING result = itcpp.



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