SAP Reports / Programs

RFKORDP2 SAP ABAP Report - Printout of Official Receipts Before Payment (Philippines)







RFKORDP2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to create official receipts from invoices prior to payment, as required in the Philippines...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 RFKORDP2 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 RFKORDP2. "Basic submit
SUBMIT RFKORDP2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKORDP2 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: TITLE = Additional Heading
Selection Text: TDDEST = Output to Printer
Selection Text: SORTVK = Sort Var. for Internal Docs
Selection Text: RXBKOR = Data from Trigger Table
Selection Text: RUZEIT = Time of Request
Selection Text: RUSNAM = User
Selection Text: RSPRAS = Language Key
Selection Text: RINDKO = Individual Correspondence
Selection Text: RGJAHR = Fiscal Year
Selection Text: RFREPR = Reprint Receipt Number
Selection Text: RFRANGE = Lot
Selection Text: RFORID = Form Set
Selection Text: RFNUMBER = No New Numbers
Selection Text: RFEXNR = External Number
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: P_SCRIPT = SAPscript Form
Selection Text: P_ADOBE = PDF-Based Print Form
Selection Text: PRDEST = Log to Printer
Selection Text: DSPRAS = Print in Logon Language
Selection Text: DANZZL = Number of Lines in Address
Title: Printout of Official Receipts Before Payment (Philippines)
Text Symbol: 906 = Mssng
Text Symbol: 903 = Number Int.
Text Symbol: 302 = Year
Text Symbol: 301 = Rcpt No.
Text Symbol: 300 = No New Numbers
Text Symbol: 205 = Error List
Text Symbol: 204 = Internal Document
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: 150 = Official Receipt Numbers
Text Symbol: 111 = Print Imm.





Text Symbol: 110 = Output to Printer


INCLUDES used within this REPORT RFKORDP2

INCLUDE RFKORI00.
INCLUDE RFKORI01.
INCLUDE RFKORI04.
INCLUDE RFKORIPH.
INCLUDE RFKORI13PH.


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

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

START_FORM * CALL FUNCTION 'START_FORM' * EXPORTING FORM = SAVE_FORM * LANGUAGE = LANGUAGE * STARTPAGE = 'IB_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 RFKORDP2 or its description.