SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

RFKORDES SAP ABAP Report - Print Program: Self Invoices for Spain







RFKORDES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Goods purchased within the European Union (EU) are subject to 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 RFKORDES 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 RFKORDES. "Basic submit
SUBMIT RFKORDES AND RETURN. "Return to original report after report execution complete
SUBMIT RFKORDES 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: XSELDT = Self Invoices by Print Date
Selection Text: XSELALL = Non-Date-Based Self Invoices
Selection Text: TDDEST = D .
Selection Text: SCRIPT = Script
Selection Text: RXPRINT = Print Self Invoices Using Form
Selection Text: RXNUMB = D .
Selection Text: RXBLNR = D .
Selection Text: RXALV = Create List of Self Invoices
Selection Text: RUZEIT = D .
Selection Text: RUSNAM = D .
Selection Text: RTKOID = D .
Selection Text: RMWSKZ = D .
Selection Text: RIMMD = D .
Selection Text: RGJAHR = D .
Selection Text: RFORID = D .
Selection Text: RERLDT = D .
Selection Text: RDATUM = D .
Selection Text: RBUKRS = D .
Selection Text: RBUDAT = D .
Selection Text: RBLDAT = D .
Selection Text: RBELNR = D .
Selection Text: PRDEST = D .
Selection Text: PDF = PDF
Title: Print Program: Self Invoices for Spain
Text Symbol: H04 = Posting Date
Text Symbol: H03 = User
Text Symbol: H02 = Self Inv.
Text Symbol: H01 = Self Invoice
Text Symbol: F04 = Type Of Output
Text Symbol: F03 = Output Control
Text Symbol: F02 = Settings for Self Invoice
Text Symbol: F01 = Document Selection
Text Symbol: 120 = Print Date
Text Symbol: 111 = Print Immediately
Text Symbol: 110 = Output to Printer


INCLUDES used within this REPORT RFKORDES

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:

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid * I_CALLBACK_PF_STATUS_SET = ' ' i_callback_user_command = g_formname is_layout = gs_layout it_fieldcat = gt_fieldcat i_save = g_save * IS_VARIANT = it_events = gt_events TABLES t_outtab = l_invoice_tab EXCEPTIONS OTHERS = 1.

RF_GET_DOCUMENT_NUMBER CALL FUNCTION 'RF_GET_DOCUMENT_NUMBER' EXPORTING company = p_bukrs range = lwa_ides_si-es_si_numkr year = p_gjahr IMPORTING document_number = p_si_number EXCEPTIONS duplicate_number = 1 range_missing = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_header i_structure_name = 'RFID_ALV_ES_SI' CHANGING ct_fieldcat = gt_fieldcat[].

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'ADDRESS' EXCEPTIONS window = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'INFO' element = ereignis function = 'APPEND' EXCEPTIONS window = 1 element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'MAIN' element = '520' EXCEPTIONS window = 1 element = 2.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * window = 'MAIN' * element = '521' * EXCEPTIONS * window = 1 * element = 2.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * window = 'MAIN' * element = ereignis * EXCEPTIONS * window = 1 * element = 2.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * window = 'MAIN' * element = '530' * EXCEPTIONS * window = 1 * element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'MAIN' element = ereignis EXCEPTIONS window = 1 element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'MAIN' element = ereignis EXCEPTIONS window = 1 element = 2.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * window = 'MAIN' * element = '540' * EXCEPTIONS * window = 1 * element = 2.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * window = 'MAIN' * element = '541' * EXCEPTIONS * window = 1 * element = 2.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * window = 'MAIN' * element = '550' * EXCEPTIONS * window = 1 * element = 2.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * window = 'MAIN' * element = ereignis * EXCEPTIONS * window = 1 * element = 2.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * window = 'MAIN' * element = '553' * EXCEPTIONS * window = 1 * element = 2.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'MAIN' element = '560' EXCEPTIONS window = 1 element = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.



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