SAP Reports / Programs | Plant Maintenance | Technical Objects | Measuring Points and Counters(PM-EQM-SF-MPC) SAP PM

RIFLET20 SAP ABAP Report - Display Fleet Equipment







RIFLET20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Display equipment The report is for the list output of equipment...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 RIFLET20 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

IE36 - Display Vehicles
IE37 - Change Vehicles


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 RIFLET20. "Basic submit
SUBMIT RIFLET20 AND RETURN. "Return to original report after report execution complete
SUBMIT RIFLET20 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: LIFNR = D Special Stock Vendor
Selection Text: LIC_NUM = D License Plate Number
Selection Text: LBBSA = D Stock Type (Primary Posting)
Selection Text: LAGER = D Storage Location
Selection Text: KUNNR = D Special Stock Customer
Selection Text: KUNDE = D Current Customer
Selection Text: KUND3 = D Operator
Selection Text: KUND2 = D End Customer
Selection Text: KUND1 = D Customer
Selection Text: KRFKZ = Referenced Configuration
Selection Text: KOSTL = D Cost Center
Selection Text: KOKRS = D Controlling Area
Selection Text: KMATN = D Configurable Material
Selection Text: KDPOS = D Sales Order Item
Selection Text: KDAUF = D Sales Order
Selection Text: IWERK = D Planning Plant
Selection Text: INVNR = D Inventory Number
Selection Text: INGRP = D Planner Group
Selection Text: INBDT = D Start-Up Date
Selection Text: HERST = D Manufacturer
Selection Text: HERLD = D Country of Manufacture
Selection Text: HEQUI = D Superordinate equipment
Selection Text: GSBER = D Business Area
Selection Text: GR_WGT = D Total Weight Allowed
Selection Text: GEWRK = D Main Work Center
Selection Text: GEWEI = D Unit of Weight
Selection Text: FUEL_SEC = D Secondary Fuel
Selection Text: FUEL_PRI = D Primary Fuel
Selection Text: FL_WID = D Fleet Object Width
Selection Text: FL_VIN = D Manufacturer VIN
Selection Text: FL_NUM = D Fleet Object Number
Selection Text: FL_LEN = D Object Length
Selection Text: FL_HGT = D Fleet Object Height
Selection Text: FL_CAT = D Fleet Object Type
Selection Text: FLT_USE = D Usage indicator
Selection Text: EX_DATE = D Valid To Date
Selection Text: ERNAM = D Created By
Selection Text: ERDAT = D Created On





Selection Text: EQUNR = D Equipment
Selection Text: WERK = D Replacement Date
Selection Text: WAERS = D Currency
Selection Text: VTWEG = D Distribution Channel
Selection Text: VOL_UNIT = D Volume Unit
Selection Text: VKORG = D Sales Organization
Selection Text: VARIANT = D Layout
Selection Text: UNIT_POW = D Power Unit
Selection Text: UNIT_CAP = D Unit Capacity
Selection Text: TYPBZ = D Model Number
Selection Text: TIDNR = D Technical Identification No.
Selection Text: SWERK = D Maintenance Plant
Selection Text: SUBMT = D Construction Type
Selection Text: STRNO = D Functional Location
Selection Text: STORT = D Location
Selection Text: STAI1 = D Status inclusive
Selection Text: STAE1 = D Status exclusive
Selection Text: SPART = D Division
Selection Text: SOGEN = D Permit
Selection Text: SOBKZ = D Special Stock
Selection Text: SERNR = D Serial Number
Selection Text: SERGE = D ManufSerialNumber
Selection Text: SELSCHEM = D Selection Profile
Selection Text: REP_DATE = Replacement Date
Selection Text: PSPNR = D WBS Element
Selection Text: PROID = D WBS Element
Selection Text: OIL_TYPE = D Oil Type
Selection Text: NUM_AXLE = D Number of Axles
Selection Text: NO_COMP = D No. of Compartments
Selection Text: MSGRP = D Room
Selection Text: MAX_OCCU = D Max. No. People Allowed
Selection Text: MATNR = D Material
Selection Text: MAPAR = D ManufactPartNo.
Selection Text: L_D_UNIT = D Dimension Unit: Load
Selection Text: LOAD_WID = D Load Width
Selection Text: LOAD_WGT = D Maximum Load Weight
Selection Text: LOAD_VOL = D Load Volume
Selection Text: LOAD_LEN = D Load Length
Selection Text: LOAD_HGT = D Load Height





Selection Text: LIZNR = D License Number
Selection Text: ABCKZ = D ABC Indicator
Selection Text: AEDAT = D Changed On
Selection Text: AENAM = D Changed By
Selection Text: ANLNR = D Asset
Selection Text: ANLUN = D Subnumber
Selection Text: ANSDT = D Acquisition Date
Selection Text: ANSWT = D Acquisition Value
Selection Text: ARBPL = D Work Center
Selection Text: AUFNR = D Settlement Order
Selection Text: AULDT = D Delivery Date
Selection Text: BAUJJ = D Construction Year
Selection Text: BEBER = D Plant Section
Selection Text: BRGEW = D Weight of Object
Selection Text: BUKRS = D Company Code
Selection Text: B_CHARGE = D Stock Batch
Selection Text: CARD_NUM = D Fuel card number
Selection Text: CHARGE = D Batch
Selection Text: CHAS_NUM = D Chassis Number
Selection Text: EQTYP = D Equipment Category
Selection Text: EQKTX = D Equipment Description
Selection Text: EQFNR = D Sort Field
Selection Text: ENG_TYPE = D Engine Type
Selection Text: ENG_SNR = D Engine Serial Number
Selection Text: ENG_POW = D Engine Power
Selection Text: ENG_CYL = D Number of Cylinders
Selection Text: ENG_CAP = D Engine Capacity
Selection Text: ELIEF = D Vendor
Selection Text: DY_SUBCL = D Include Subordinate Classes
Selection Text: DY_PARVW = D Partner Function
Selection Text: DY_PARNR = D Partner
Selection Text: DY_KLART = D Class Type
Selection Text: DY_CLASS = D Class
Selection Text: DIM_UNIT = D Unit of Length
Selection Text: DAUFN = D Standing Order
Selection Text: DATUV = D Date from
Selection Text: DATUB = D To Date
Title: Display Fleet Equipment
Text Symbol: B03 = General Data



Text Symbol: ANZ = Number
Text Symbol: AD1 = Address Search Active
Text Symbol: AD0 = Address Search Inactive
Text Symbol: 706 = Ye
Text Symbol: 705 = No
Text Symbol: 704 = List editing canceled
Text Symbol: 703 = have not yet been processed?
Text Symbol: 702 = the objects selected that
Text Symbol: 701 = Cancel processing for all
Text Symbol: 700 = **** LINES 701, 702, 703 are one sentence.
Text Symbol: 501 = Valuation
Text Symbol: 500 = Classification
Text Symbol: 201 = Vehicle Selection
Text Symbol: 010 = Equipment Selection
Text Symbol: 006 = From
Text Symbol: 005 = Address
Text Symbol: 003 = to
Text Symbol: 002 = Period
Text Symbol: 001 = Partner
Text Symbol: B04 = Serial no. Selection
Text Symbol: B05 = Location Data
Text Symbol: B06 = Maintenance Data
Text Symbol: B07 = Sales&Dist/Administrative Data
Text Symbol: B10 = Vehicle Data
Text Symbol: B11 = Technical Data
Text Symbol: B12 = Transport-Relevant Data
Text Symbol: C01 = Class Limitation
Text Symbol: CL0 = Valuation Not Available
Text Symbol: CL1 = Valuation Available
Text Symbol: FG0 = Vehicle Information
Text Symbol: FG1 = General Data
Text Symbol: FG2 = Serialization Data
Text Symbol: FG3 = Location Data
Text Symbol: FG4 = PM Data
Text Symbol: FG5 = SD/Admin.
Text Symbol: FG6 = Address
Text Symbol: FG7 = Warranty data
Text Symbol: FG8 = Vehicle Identification
Text Symbol: FG9 = Vehicle Technical Data
Text Symbol: SON = Others


INCLUDES used within this REPORT RIFLET20

INCLUDE MIOLXTOP.
INCLUDE MIFLTSEL.


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_EQUI_GET_DATE_FOR_HIER_CALL CALL FUNCTION 'PM_EQUI_GET_DATE_FOR_HIER_CALL' EXPORTING i_date_from = rihequi-datab i_date_to = rihequi-datbi i_activity = t370a-aktyp IMPORTING e_date_hierarchy = l_refdate.

PM_HIERARCHY_CALL CALL FUNCTION 'PM_HIERARCHY_CALL' EXPORTING datum = l_refdate grafics = ' ' equnr = rihequi-equnr 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_EQUI_GET_DATE_FOR_HIER_CALL CALL FUNCTION 'PM_EQUI_GET_DATE_FOR_HIER_CALL' EXPORTING i_date_from = rihequi-datab i_date_to = rihequi-datbi i_activity = t370a-aktyp IMPORTING e_date_hierarchy = l_refdate.

PM_HIERARCHY_CALL CALL FUNCTION 'PM_HIERARCHY_CALL' EXPORTING datum = l_refdate grafics = 'X' equnr = rihequi-equnr 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.

CUD0_CONFIGURATION_INITIALIZER CALL FUNCTION 'CUD0_CONFIGURATION_INITIALIZER'.

VC_I_DISPLAY_CONFIGURATION CALL FUNCTION 'VC_I_DISPLAY_CONFIGURATION' EXPORTING instance = rihequi-cuobj include_screen = h_include_screen EXCEPTIONS instance_not_found = 1 internal_error = 2 OTHERS = 3.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-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 flg_user_stat = 'X' spras = sy-langu 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.

VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING comwa = ls_vtcom IMPORTING pawa = ls_kupav EXCEPTIONS no_kna1 = 01 no_knvk = 02 no_lfa1 = 03 no_pernr = 04.

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.

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

IREP1_LOCATION_TEXT_READ CALL FUNCTION 'IREP1_LOCATION_TEXT_READ' EXPORTING i_tplnr = object_tab-tplnr_int IMPORTING e_pltxt = object_tab-pltxt 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.

IREP1_LOCATION_TEXT_PRE_FETCH CALL FUNCTION 'IREP1_LOCATION_TEXT_PRE_FETCH' TABLES tplnr_tab = g_tplnr_tab EXCEPTIONS no_text_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 msgty = 'S' IMPORTING arbpl = -arbpl EXCEPTIONS not_found = 01.

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

VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING comwa = ls_vtcom IMPORTING pawa = ls_kupav EXCEPTIONS no_kna1 = 01 no_knvk = 02 no_lfa1 = 03 no_pernr = 04.

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

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_LOCATION_TEXT_READ CALL FUNCTION 'IREP1_LOCATION_TEXT_READ' EXPORTING i_tplnr = -tplnr_int IMPORTING e_pltxt = -pltxt EXCEPTIONS no_text_found = 1 OTHERS = 2.

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

ME_VALUES_T006 CALL FUNCTION 'ME_VALUES_T006' EXPORTING i_t006d = ps_dim IMPORTING e_meins = l_unit TABLES t_meins = lr_unit.

ITOB_CONSUMPTION_MPPOS_GET CALL FUNCTION 'ITOB_CONSUMPTION_MPPOS_GET' EXPORTING i_equnr = p_object_tab-equnr IMPORTING e_itob = ls_itob e_fleet = ls_fleet e_pri_consp_pt = l_consp e_pri_count_pt = l_count TABLES t_mpoints = lt_impt * T_CONSP = * T_COUNT = EXCEPTIONS not_found = 1 no_fleet_object = 2 no_measurem_points = 3 OTHERS = 4 .

FLEET_GET_CONSUMP_INFO CALL FUNCTION 'FLEET_GET_CONSUMP_INFO' EXPORTING i_itob = ls_itob i_t370clc = ls_t370clc i_fleet = ls_fleet TABLES itab_imptt = lt_imptt CHANGING c_fleet_info = ls_fleet_info e_code = l_code EXCEPTIONS OTHERS = 1.

MAINT_CALL_NEXT_FOR_OBJECT CALL FUNCTION 'MAINT_CALL_NEXT_FOR_OBJECT' EXPORTING maint_call_equnr = p_object_tab-equnr offset_date = sy-datum offset_inclusive = g_x instfl_inclusive = ' ' insteq_inclusive = ' ' IMPORTING call_wa = ls_fleet_orders EXCEPTIONS call_not_found = 1 object_not_found = 2 OTHERS = 3.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = p_values * NO_TYPE_CHECK = 'X' * ROUND_SIGN = ' ' unit_in = p_unit_in unit_out = p_unit_out IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = p_values EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10 .

UNIT_OF_MEASURE_ISO_TO_SAP CALL FUNCTION 'UNIT_OF_MEASURE_ISO_TO_SAP' EXPORTING iso_code = p_iso_unit IMPORTING sap_code = p_sap_unit unique = l_unique EXCEPTIONS not_found = 1 OTHERS = 2.

ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = 2 input = p_values sign = 'X' IMPORTING output = p_values EXCEPTIONS input_invalid = 1 overflow = 2 type_invalid = 3 OTHERS = 4.



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