SAP Reports / Programs

RIIFLO20 SAP ABAP Report - Display Functional Location







RIIFLO20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Display Functional Location This report outputs a list of functional locations...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 RIIFLO20 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

IL05 - Change Functional Location
IH06 - Display Functional Location
IH11 - Display Functional Location
IL20 - Change Functional Location


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 RIIFLO20. "Basic submit
SUBMIT RIIFLO20 AND RETURN. "Return to original report after report execution complete
SUBMIT RIIFLO20 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: MSGRP = D .
Selection Text: MAPAR = D .
Selection Text: KOSTL = D .
Selection Text: KOKRS = D .
Selection Text: IWERK = D .
Selection Text: INVNR = D .
Selection Text: INGRP = D .
Selection Text: HERST = D .
Selection Text: HERLD = D .
Selection Text: GSBER = D .
Selection Text: GROES = D .
Selection Text: GEWRK = D .
Selection Text: GEWEI = D .
Selection Text: FLTYP = D .
Selection Text: ERNAM = D .
Selection Text: ERDAT = D .
Selection Text: EQFNR = D .
Selection Text: EQART = D .
Selection Text: DY_SUBCL = D .
Selection Text: DY_PARVW = D .
Selection Text: DY_PARNR = D .
Selection Text: DY_KLART = D .
Selection Text: DY_INVAL = D .
Selection Text: DY_CLASS = D .
Selection Text: WAERS = D .
Selection Text: VTWEG = D .
Selection Text: VKORG = D .
Selection Text: VARIANT = D .
Selection Text: TYPBZ = D .
Selection Text: TRPNR = D .
Selection Text: S_UOM = D .
Selection Text: S_START = D .
Selection Text: S_RANGE = D .
Selection Text: S_LEN = D .
Selection Text: S_END = D .
Selection Text: SWERK = D .
Selection Text: SUBMT = D .
Selection Text: STRNO = D .





Selection Text: STORT = D .
Selection Text: STAI1 = D .
Selection Text: STAE1 = D .
Selection Text: SPART = D .
Selection Text: SOGEN = D .
Selection Text: SERGE = D .
Selection Text: SELSCHEM = D .
Selection Text: RBNR = D .
Selection Text: PROID_E = D .
Selection Text: PLTXT = D .
Selection Text: DAUFN = D .
Selection Text: S_LRPID = D .
Selection Text: ABCKZ = D .
Selection Text: AEDAT = D .
Selection Text: AENAM = D .
Selection Text: ANLNR = D .
Selection Text: ANSDT = D .
Selection Text: ANSWT = D .
Selection Text: ARBPL = D .
Selection Text: AUFNR = D .
Selection Text: BAUJJ = D .
Selection Text: BEBER = D .
Selection Text: BEGRU = D .
Selection Text: BRGEW = D .
Selection Text: BUKRS = D .
Title: Display Functional Location
Text Symbol: 802 = Last Objects Processed
Text Symbol: 801 = Processed Objects
Text Symbol: 800 = Unprocessed Objects
Text Symbol: 706 = Yes
Text Symbol: 705 = No
Text Symbol: 704 = List Editing Canceled
Text Symbol: 703 = have not yet been processed?
Text Symbol: 702 = for all the objects selected that
Text Symbol: 701 = Do you want to cancel processing
Text Symbol: 700 = **** LINES 701, 702, 703 are one sentence.
Text Symbol: 501 = Valuation
Text Symbol: 500 = Classification
Text Symbol: 201 = FunctLocation Selection





Text Symbol: 010 = FunctLocation Selection
Text Symbol: 005 = Address
Text Symbol: 001 = Partner
Text Symbol: AD0 = Address Search Inactive
Text Symbol: AD1 = Address Search Active
Text Symbol: ANZ = Number
Text Symbol: C01 = Class Limitation
Text Symbol: CL0 = Valuation Not Available
Text Symbol: CL1 = Valuation Available
Text Symbol: F01 = Maintenance Data
Text Symbol: F02 = Location Data/Account Assignment
Text Symbol: F03 = Admin. Data/Status Info
Text Symbol: F04 = General Data
Text Symbol: FG1 = PM Data
Text Symbol: FG2 = Location/AcctAssignment
Text Symbol: FG3 = Address
Text Symbol: FG4 = Label
Text Symbol: FG5 = General Data
Text Symbol: FG6 = Warranty Data
Text Symbol: SON = Others


INCLUDES used within this REPORT RIIFLO20

INCLUDE EAMCC_RIIFLO20_1 IF FOUND. "1656798
INCLUDE MIOLXTOP.
INCLUDE EAML_SEL_GLOBAL_DATA.
INCLUDE MIOLLSEL.


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:

IHCLSD_VALUATION_POPUP CALL FUNCTION 'IHCLSD_VALUATION_POPUP' EXPORTING i_klart = dy_klart i_class = dy_class i_language = sy-langu i_key_date = sy-datum i_also_subclasses = dy_subcl TABLES ct_comw = g_clsd_comw EXCEPTIONS exc_no_class = 1 exc_klart_not_allowed = 2.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = sy-repid * IMPORTING * SP = TABLES selection_table = g_clsd_select_options EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3 .

PM_HIERARCHY_CALL CALL FUNCTION 'PM_HIERARCHY_CALL' EXPORTING grafics = ' ' tplnr = rihiflo_list-tplnr_int with_equi = 'X' with_equi_hier = 'X' with_iflo_hier = 'X' with_mara = 'X' TABLES equi_tab = h_equi_tab iflo_tab = h_iflo_tab stpo_tab = h_stpo_tab EXCEPTIONS no_hierarchy = 01 no_selection = 02.

PM_HIERARCHY_CALL CALL FUNCTION 'PM_HIERARCHY_CALL' EXPORTING grafics = 'X' tplnr = rihiflo_list-tplnr_int with_equi = 'X' with_equi_hier = 'X' with_iflo_hier = 'X' with_mara = 'X' TABLES equi_tab = h_equi_tab iflo_tab = h_iflo_tab stpo_tab = h_stpo_tab EXCEPTIONS no_hierarchy = 01 no_selection = 02.

FUNC_LOCATION_CALL CALL FUNCTION 'FUNC_LOCATION_CALL' EXPORTING fcode = h_ucomm tcode = f_tcode tplnr = object_tab-tplnr_int IMPORTING iflo_ba = h_iflo rilo0_wa = h_rilo0 left_with_f15 = h_left_with_f15 update_success = h_update_success.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Selektion Technischer Platz'(201).

STATUS_BUFFER_REFRESH



CALL FUNCTION 'STATUS_BUFFER_REFRESH'.

STATUS_BUFFER_REFRESH CALL FUNCTION 'STATUS_BUFFER_REFRESH'.

STATUS_TEXT_EDIT CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING objnr = object_tab-objnr spras = sy-langu flg_user_stat = 'X' IMPORTING line = object_tab-sttxt user_line = object_tab-ustxt EXCEPTIONS object_not_found = 01.

CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = object_tab-ppsid msgty = 'S' IMPORTING arbpl = object_tab-arbpl EXCEPTIONS not_found = 01.

CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = object_tab-igewrk msgty = 'S' IMPORTING arbpl = object_tab-gewrk EXCEPTIONS not_found = 01.

IREP1_MATERIAL_TEXT_READ CALL FUNCTION 'IREP1_MATERIAL_TEXT_READ' EXPORTING i_matnr = object_tab-submt IMPORTING e_maktx = object_tab-submtktx EXCEPTIONS no_text_found = 1 OTHERS = 2.

CR_WORKCENTER_PRE_READ CALL FUNCTION 'CR_WORKCENTER_PRE_READ' TABLES tarbid = l_tarbid.

STATUS_PRE_READ CALL FUNCTION 'STATUS_PRE_READ' TABLES jsto_pre_tab = l_jsto_pre_tab.

IREP1_MATERIAL_TEXT_PRE_FETCH CALL FUNCTION 'IREP1_MATERIAL_TEXT_PRE_FETCH' TABLES matnr_tab = g_matnr_tab EXCEPTIONS no_text_found = 1 OTHERS = 2.

ILOX_IFLOS_READ_BY_TPLNR CALL FUNCTION 'ILOX_IFLOS_READ_BY_TPLNR' EXPORTING it_tplnr = g_tplnr_tab2 IMPORTING et_iflos = g_iflos_tab EXCEPTIONS not_found = 1 OTHERS = 2.

IREP1_WARRANTY_PRE_READ CALL FUNCTION 'IREP1_WARRANTY_PRE_READ' TABLES ti_objnr = l_jsto_pre_tab EXCEPTIONS no_data_selected = 1 OTHERS = 2.

STATUS_TEXT_EDIT CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING objnr = -objnr spras = sy-langu flg_user_stat = 'X' IMPORTING line = -sttxt user_line = -ustxt EXCEPTIONS object_not_found = 01.

CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = -ppsid IMPORTING arbpl = -arbpl EXCEPTIONS not_found = 01.

CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = -igewrk IMPORTING arbpl = -gewrk EXCEPTIONS not_found = 01.

IREP1_MATERIAL_TEXT_READ CALL FUNCTION 'IREP1_MATERIAL_TEXT_READ' EXPORTING i_matnr = -submt IMPORTING e_maktx = -submtktx EXCEPTIONS no_text_found = 1 OTHERS = 2.

IREP1_WARRANTY_READ CALL FUNCTION 'IREP1_WARRANTY_READ' EXPORTING i_objnr = -objnr IMPORTING e_rihbgmd = h_rihbgmd.

STATUS_READ CALL FUNCTION 'STATUS_READ' EXPORTING objnr = i_objnr only_active = 'X' TABLES status = h_status_tab EXCEPTIONS OTHERS = 01.

STATUS_NUMBER_CONVERSION CALL FUNCTION 'STATUS_NUMBER_CONVERSION' EXPORTING language = sy-langu objnr = i_objnr status_number = h_status_tab-stat IMPORTING txt04 = h_status_text_tab-txt04 EXCEPTIONS OTHERS = 01.

AUTHORITY_CHECK_IFLO CALL FUNCTION 'AUTHORITY_CHECK_IFLO' EXPORTING iflo_wa = iflo tcode = f_tcode i_tcode_check = ' ' EXCEPTIONS no_authority_tcode = 01 no_authority_begrp = 02 no_authority_iwerk = 03 no_authority_ingrp = 04 no_authority_swerk = 05 no_authority_kostl = 06 no_profile_in_user_master_data = 07 error_in_user_master_data = 08 no_authority_badi = 09 OTHERS = 10.

OBJECT_KEY_GET CALL FUNCTION 'OBJECT_KEY_GET' EXPORTING i_objnr = h_objnr_tab-objnr IMPORTING e_ionra = h_ionra EXCEPTIONS OTHERS = 1.

OBJECT_KEY_GET CALL FUNCTION 'OBJECT_KEY_GET' EXPORTING i_objnr = g_sogen_object-objnr IMPORTING e_ionra = h_ionra EXCEPTIONS OTHERS = 1.

ILOY_FUNC_LOC_USR_PROF_DIALOG CALL FUNCTION 'ILOY_FUNC_LOC_USR_PROF_DIALOG' IMPORTING e_iflousrd = h_iflousrd e_flg_changes = h_flg_changes.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = 'TPLNR_0' langu = sy-langu IMPORTING dd04v_wa = h_dd04v_wa EXCEPTIONS illegal_input = 1 OTHERS = 2.

ILOX_IFLOALT_READ CALL FUNCTION 'ILOX_IFLOALT_READ' EXPORTING i_alkey = p_key IMPORTING e_v_ifloalt = h_ifloalt EXCEPTIONS not_maintained = 1 OTHERS = 2.

ILOX_ITOBCUST_READ CALL FUNCTION 'ILOX_ITOBCUST_READ' IMPORTING e_itobcust = h_itobcust 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 RIIFLO20 or its description.