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

RFKORD50 SAP ABAP Report - Print Program: Document Extract







RFKORD50 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 letters in which selected customer items and/or vendor items of a document are listed...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 RFKORD50 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 RFKORD50. "Basic submit
SUBMIT RFKORD50 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKORD50 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: XUMSTN = Net display of tax on sls/pur.
Selection Text: XUMSST = Display taxes on sales/purch.
Selection Text: UMSKZ = Special G/L indicator
Selection Text: TDDEST = Output to printer
Selection Text: STATBL = Noted items
Selection Text: SORTVP = Line item sorting
Selection Text: SORTVK = Sort Var. for Correspondence
Selection Text: SORTKZ = Sorting of correspondence
Selection Text: RXBKOR = Data from trigger table
Selection Text: RUZEIT = Time of request
Selection Text: RUSNAM = User
Selection Text: RTKOID = Sender details
Selection Text: RSPRAS = Language key
Selection Text: RINDKO = Individual correspondence
Selection Text: RGJAHR = Fiscal year
Selection Text: RFORID = Form set
Selection Text: REVENT = Correspondence
Selection Text: RERLDT = Repeat printing from
Selection Text: RDATUM = Date of request
Selection Text: RBUKRS = Company code
Selection Text: RBELNR = Document number
Selection Text: PRDEST = Log to printer
Selection Text: KODAT02 = Date 2 in document extract
Selection Text: KODAT01 = Date 1 in document extract
Selection Text: BSCHL = Posting key
Title: Print Program: Document Extract
Text Symbol: 205 = Error list
Text Symbol: 204 = Document extract
Text Symbol: 203 = Name is missing in logon language
Text Symbol: 202 = CC Correspondence Spool No./Fax ID Title/Fax No. .. Output Pages..
Text Symbol: 201 = Overview of generated output requests
Text Symbol: 200 = Log
Text Symbol: 111 = Print Immediately
Text Symbol: 110 = Output to printer


INCLUDES used within this REPORT RFKORD50

INCLUDE RFKORI00.


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 = STARTPAGE * IMPORTING LANGUAGE = LANGUAGE * EXCEPTIONS FORM = 5.

START_FORM * CALL FUNCTION 'START_FORM' * EXPORTING FORM = SAVE_FORM * LANGUAGE = LANGUAGE * STARTPAGE = 'BA_FIRST' * IMPORTING LANGUAGE = LANGUAGE * EXCEPTIONS FORM = 5.

START_FORM * CALL FUNCTION 'START_FORM' * EXPORTING FORM = SAVE_FORM * LANGUAGE = LANGUAGE * STARTPAGE = 'BA_FIRST' * IMPORTING LANGUAGE = LANGUAGE * EXCEPTIONS FORM = 5.

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



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