SAP Reports / Programs | Financial Accounting | Accounts Payable | Basic Functions(FI-AP-AP) SAP FI

RFAPRE_ITEMS SAP ABAP Report - Vendor Line Items







RFAPRE_ITEMS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Vendor Line Items from Drilldown Reports via Report/Report Interface The report selects vendor line items and transfers them to the line item display for further processing...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 RFAPRE_ITEMS 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 RFAPRE_ITEMS. "Basic submit
SUBMIT RFAPRE_ITEMS AND RETURN. "Return to original report after report execution complete
SUBMIT RFAPRE_ITEMS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Vendor Line Items
Text Symbol: 001 = & records selected


INCLUDES used within this REPORT RFAPRE_ITEMS

No INCLUDES are used within this REPORT code!


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:

RSTI_SELECTION_IMPORT CALL FUNCTION 'RSTI_SELECTION_IMPORT' TABLES IT_SEL = GT_SEL IT_FIELDS = GT_FIELDS EXCEPTIONS NO_SELECTION_DATA = 1 OTHERS = 2.

LDB_PROCESS CALL FUNCTION 'LDB_PROCESS' EXPORTING LDBNAME = 'KDF' * VARIANT = EXPRESSIONS = GT_EXPRESSIONS * FIELD_SELECTION = TABLES CALLBACK = GT_CALLBACK SELECTIONS = GT_RSPARAMS EXCEPTIONS LDB_NOT_REENTRANT = 1 LDB_INCORRECT = 2 LDB_ALREADY_RUNNING = 3 LDB_ERROR = 4 LDB_SELECTIONS_ERROR = 5 LDB_SELECTIONS_NOT_ACCEPTED = 6 VARIANT_NOT_EXISTENT = 7 VARIANT_OBSOLETE = 8 VARIANT_ERROR = 9 FREE_SELECTIONS_ERROR = 10 CALLBACK_NO_EVENT = 11 CALLBACK_NODE_DUPLICATE = 12 OTHERS = 13.

FI_ITEMS_DISPLAY CALL FUNCTION 'FI_ITEMS_DISPLAY' EXPORTING CALLER_REPID = C_RFAPRE_ITEMS ACCTYPE = 'K' X_CHANGE = 'X' I_U_SAVE = 'A' IS_U_VARIANT = GS_VARIANT TABLES IT_ITEMS = GT_ITEMS.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 0 TEXT = GS_PROGRESS-TEXT.

ITEM_DERIVE_FIELDS CALL FUNCTION 'ITEM_DERIVE_FIELDS' EXPORTING S_T001 = GS_T001 S_BSEGP = BSEGP KEY_DATE = L_STIDA XOPVW = 'X' * X_ICONS_ONLY = ' ' CHANGING S_ITEM = RFPOSXEXT EXCEPTIONS BAD_INPUT = 1 OTHERS = 2.

FIRST_AND_LAST_DAY_IN_YEAR_GET CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' EXPORTING I_GJAHR = L_GJAHR I_PERIV = T001-PERIV IMPORTING E_LAST_DAY = L_STIDA EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = L_GJAHR I_PERIV = T001-PERIV I_POPER = L_PERDE IMPORTING E_DATE = L_STIDA EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

FIRST_AND_LAST_DAY_IN_YEAR_GET CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET' EXPORTING I_GJAHR = L_GJAHR I_PERIV = T001-PERIV IMPORTING E_LAST_DAY = L_STIDA EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

APRE_RSTISEL_TO_FREESEL_CONV CALL FUNCTION 'APRE_RSTISEL_TO_FREESEL_CONV' IMPORTING ET_EXPRESSIONS = GT_EXPRESSIONS TABLES IT_SEL = GT_SEL IT_FIELDS = GT_FIELDS EXCEPTIONS NO_SELECTION_DATA = 1 OTHERS = 2.

APRE_RSTISEL_TO_RSPARAMS_CONV CALL FUNCTION 'APRE_RSTISEL_TO_RSPARAMS_CONV' TABLES IT_SEL = GT_SEL IT_FIELDS = GT_FIELDS ET_RSPARAMS = GT_RSPARAMS EXCEPTIONS NO_SELECTION_DATA = 1 OTHERS = 2.

DETERMINE_DUE_DATE CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING I_FAEDE = LS_FAEDE IMPORTING E_FAEDE = LS_FAEDE EXCEPTIONS OTHERS = 1.



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