SAP Reports / Programs

RFKORD50_PDF SAP ABAP Report - Print Program: Document Extract







RFKORD50_PDF is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFKORD50_PDF 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_PDF. "Basic submit
SUBMIT RFKORD50_PDF AND RETURN. "Return to original report after report execution complete
SUBMIT RFKORD50_PDF 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 = Sort Line Items
Selection Text: SORTVK = Sort 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 Printout 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 Imm.
Text Symbol: 110 = Output to Printer


INCLUDES used within this REPORT RFKORD50_PDF

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