RFITEMAP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program lists vendor line items...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 RFITEMAP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FBL1N - Vendor Line Items
FBL2N - Vendor Line Items
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.
Selection Text: PA_STID2 = Open at key date
Selection Text: PA_NMAX = Maximum number of items
Selection Text: PA_STIDA = Open at key date
Selection Text: X_SHBV = Special G/L transactions
Selection Text: X_PARK = Parked items
Selection Text: X_OPSEL = Open items
Selection Text: X_NORM = Normal items
Selection Text: X_MERK = Noted items
Selection Text: X_CLSEL = Cleared items
Selection Text: X_APAR = Customer items
Selection Text: X_AISEL = All items
Selection Text: SO_WLLIF = Or values
Selection Text: SO_WLBUK = Or values
Selection Text: SO_FAEDT = D Net due date
Selection Text: SO_BUDAT = Posting date
Selection Text: SO_AUGDT = Clearing date
Selection Text: PA_WLLIF = Vendor worklist
Selection Text: PA_VARI = Layout
Selection Text: PA_WLBUK = Company code worklist
Title: Vendor Line Item Display
Text Symbol: W04 = Deactivate worklist
Text Symbol: W03 = Company code
Text Symbol: W02 = Vendor
Text Symbol: W01 = Activate worklist
Text Symbol: 009 = List being generated
Text Symbol: 008 = Items. Selection continuing.....
Text Symbol: 007 = Line item selection
Text Symbol: 006 = Type
Text Symbol: 005 = All items
Text Symbol: 004 = Cleared items
Text Symbol: 003 = Open items
Text Symbol: 002 = Status
Text Symbol: 001 = List Output
INCLUDE RFITEM_DEF.
INCLUDE RFITEM_SEL.
No SAP DATABASE tables are accessed within this REPORT code!
BUKRS_AUTHORITY_CHECK call function 'BUKRS_AUTHORITY_CHECK' exporting xdatabase = 'K' tables xbukreis = kd_bukrs.
BUKRS_AUTHORITY_CHECK call function 'BUKRS_AUTHORITY_CHECK' exporting xdatabase = 'B' tables xbukreis = kd_bukrs.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = text-009.
FI_ITEMS_DISPLAY call function 'FI_ITEMS_DISPLAY' exporting caller_repid = c_repid_ap acctype = c_koart_ap x_change = x_change i_u_save = gd_alvsave is_u_variant = gs_variant it_u_fieldcat = gt_fieldcat[] it_kontab = it_accts[] it_slbtab = it_comps[] it_t001 = it_h_t001[] it_lfa1 = it_h_lfa1[] it_lfb1 = it_h_lfb1[] x_grid = x_grid x_inet = pa_inet tables it_items = it_pos.
ITEM_DERIVE_FIELDS call function 'ITEM_DERIVE_FIELDS' exporting s_t001 = it_h_t001 s_bsegp = wa_bsegp key_date = p_keydate * XOPVW = 'X' i_kalsm = t005-kalsm changing s_item = wa_pos exceptions bad_input = 1 others = 2 .
ITEM_DERIVE_FIELDS call function 'ITEM_DERIVE_FIELDS' exporting s_t001 = it_h_t001 s_bsegp = wa_bsegp key_date = p_keydate * XOPVW = 'X' i_kalsm = t005-kalsm changing s_item = wa_pos exceptions bad_input = 1 others = 2 .
ADDR_GET call function 'ADDR_GET' exporting address_selection = ls_selection importing address_value = ls_branch_addr exceptions parameter_error = 1 others = 2.
ADDR_GET call function 'ADDR_GET' exporting address_selection = ls_selection importing address_value = ls_central_addr exceptions parameter_error = 1 others = 2.
FI_ITEMS_BRANCH_CENTRAL call function 'FI_ITEMS_BRANCH_CENTRAL' exporting id_branch_acct = it_h_lfb1-lifnr id_branch_name1 = ls_branch_addr-name1 id_central_acct = it_h_lfb1-lnrze id_central_name1 = ls_central_addr-name1 id_bukrs = it_h_lfb1-bukrs importing eb_central_items = lb_okay.
FI_CURRENCY_INFORMATION call function 'FI_CURRENCY_INFORMATION' exporting i_bukrs = lfb1-bukrs importing e_x001 = wa_x001 exceptions currency_2_not_defined = 1 currency_3_not_defined = 2 others = 3.
LDB_PROCESS call function 'LDB_PROCESS' exporting ldbname = 'DDF' expressions = it_dyn_texpr[] tables callback = it_callback selections = it_selscreen exceptions ldb_selections_error = 1 ldb_selections_not_accepted = 2 free_selections_error = 3 callback_no_event = 4 callback_no_program = 5 callback_no_cbform = 6 others = 7.
LDB_PROCESS call function 'LDB_PROCESS' exporting ldbname = 'KDF' expressions = it_dyn_texpr[] * DYN_NODE_TYPES = tables callback = it_callback selections = it_selscreen exceptions ldb_not_reentrant = 1 ldb_incorrect = 2 ldb_already_running = 3 ldb_error = 4 ldb_selections_error = 5 ldb_selections_not_accepted = 6 free_selections_error = 10 callback_no_event = 11 callback_node_duplicate = 12 callback_no_program = 13 callback_no_cbform = 14 others = 17.
RS_REFRESH_FROM_DYNAMICAL_SEL call function 'RS_REFRESH_FROM_DYNAMICAL_SEL' exporting curr_report = g_repid mode_write_or_move = 'M' importing p_trange = rt_dyn_trange exceptions not_found = 1 wrong_type = 2 others = 3.
FREE_SELECTIONS_RANGE_2_EX call function 'FREE_SELECTIONS_RANGE_2_EX' exporting field_ranges = rt_dyn_trange importing expressions = it_dyn_texpr[].
RS_REFRESH_FROM_DYNAMICAL_SEL call function 'RS_REFRESH_FROM_DYNAMICAL_SEL' exporting curr_report = g_repid mode_write_or_move = 'M' importing p_trange = rt_dyn_trange exceptions not_found = 1 wrong_type = 2 others = 3.
FREE_SELECTIONS_RANGE_2_EX call function 'FREE_SELECTIONS_RANGE_2_EX' exporting field_ranges = rt_dyn_trange importing expressions = it_dyn_texpr[].
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.