SAP Reports / Programs | Processing | SAP Utilities | Processing(IS-U-WM-PC) SAP IS

RE_INSP_LIST_CREATE SAP ABAP Report - Create/Extend Inspection List







RE_INSP_LIST_CREATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Create or extend inspection lists This report allows you to create 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 RE_INSP_LIST_CREATE 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

EEWM_ILCR - Create/Extend Inspection List


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 RE_INSP_LIST_CREATE. "Basic submit
SUBMIT RE_INSP_LIST_CREATE AND RETURN. "Return to original report after report execution complete
SUBMIT RE_INSP_LIST_CREATE 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: EXISTART = Start of existing campaigns
Selection Text: EXISTCAM = Existing campaigns
Selection Text: EXISTEND = End of exisiting campaigns
Selection Text: EXISTING = Extend existing campaigns
Selection Text: NEW = Create new campaigns
Selection Text: NEWCAM = New campaign
Selection Text: NEWEND = End of new campaign
Selection Text: NEWSTART = Start of new campaign
Selection Text: REGIOSEL = Does Regional Selection Exist?
Selection Text: R_PARA = Parallel Processing
Selection Text: SO_ABEIN = Meter reading unit
Selection Text: SO_EQART = Type of equipment
Selection Text: SO_NEXTI = Date of next inspection
Selection Text: SO_REGIO = Regional structure group
Selection Text: SO_SNGLE = Equipment or tech.installation
Selection Text: SO_SPART = Division
Selection Text: SO_VBART = Type of premise
Selection Text: R_BLOCK = D .
Selection Text: SO_MONTH = D .
Selection Text: SO_YEAR = D .
Title: Create/Extend Inspection List
Text Symbol: T20 = Ctry
Text Symbol: T21 = City
Text Symbol: T22 = Street name
Text Symbol: T23 = Lower lim.
Text Symbol: T24 = Upper lim.
Text Symbol: T25 = Determination of technical installations
Text Symbol: T26 = Determination of equipment
Text Symbol: T27 = Determine technical installation or equipment
Text Symbol: T28 = Restrict period for inspections
Text Symbol: T29 = Restriction after following periods in months:
Text Symbol: T30 = Restriction after following periods in years:
Text Symbol: T31 = Transfer individual tech. installations and equip.
Text Symbol: T33 = Parallel Processing
Text Symbol: T19 = House number
Text Symbol: 001 = Extend existing campaigns
Text Symbol: 002 = Start of existing campaigns
Text Symbol: 003 = End of existing campaigns





Text Symbol: 004 = Create new campaigns
Text Symbol: 005 = Start of new campaigns
Text Symbol: 006 = End of new campaigns
Text Symbol: 007 = Do you want to display the
Text Symbol: 008 = generated logs?
Text Symbol: 009 = Determine technical installations
Text Symbol: 010 = Determine equipment
Text Symbol: 012 = Specify period in months
Text Symbol: 014 = Specify period in years
Text Symbol: 016 = Include individual tech. installations or equip.
Text Symbol: 018 = Parallel Processing
Text Symbol: 020 = Block Size
Text Symbol: S01 = Line
Text Symbol: S02 = Display
Text Symbol: S03 = Exit
Text Symbol: T01 = Campaign
Text Symbol: T02 = Creation/Extension of inspection list
Text Symbol: T04 = Regional selections
Text Symbol: T05 = Display logs
Text Symbol: T06 = Create inspection list
Text Symbol: T07 = Existing campaign data:
Text Symbol: T08 = New campaign data:
Text Symbol: T09 = Start of campaign:
Text Symbol: T10 = End of campaign:
Text Symbol: T11 = Date of next inspection:
Text Symbol: T12 = Specified types of premise:
Text Symbol: T13 = Specified divisions:
Text Symbol: T14 = Specified regional structure groups:
Text Symbol: T15 = Specified meter reading units:
Text Symbol: T17 = Specified types of equipment:
Text Symbol: T18 = Specified regional selections:


INCLUDES used within this REPORT RE_INSP_LIST_CREATE

INCLUDE INSP_LIST_CREATE_TOP. "TOP-INCLUDE
INCLUDE INSP_LIST_CREATE_O01. "PBO-INCLUDE
INCLUDE INSP_LIST_CREATE_I01. "PAI-INCLUDE
INCLUDE INSP_LIST_CREATE_F01. "FORM-INCLUDE


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:

TIME_UNITS CALL FUNCTION 'TIME_UNITS' IMPORTING month = unit_month year = unit_year EXCEPTIONS si_unit_missing = 1 OTHERS = 2.






ISU_DB_EWMINSPHEAD_SINGLE CALL FUNCTION 'ISU_DB_EWMINSPHEAD_SINGLE' EXPORTING x_campaign = existcam IMPORTING y_ewminsphead = ewminsphead EXCEPTIONS not_found = 1 system_error = 2 OTHERS = 3.

ISU_DB_EWMINSPHEAD_SINGLE CALL FUNCTION 'ISU_DB_EWMINSPHEAD_SINGLE' EXPORTING x_campaign = newcam * X_ACTUAL = IMPORTING y_ewminsphead = ewminsphead EXCEPTIONS not_found = 1 system_error = 2 OTHERS = 3.

ISU_DB_TE102_SINGLE CALL FUNCTION 'ISU_DB_TE102_SINGLE' EXPORTING x_vbsart = tmp_vbsart * IMPORTING * Y_TE102 = EXCEPTIONS not_found = 1 system_error = 2 not_qualified = 3 OTHERS = 4.

ISU_DB_TE422_SINGLE CALL FUNCTION 'ISU_DB_TE422_SINGLE' EXPORTING x_termschl = tmp_termschl * X_ACTUAL = 'X' * IMPORTING * Y_TE422 = EXCEPTIONS not_found = 1 system_error = 2 OTHERS = 3.

ISU_DB_T370K_SINGLE CALL FUNCTION 'ISU_DB_T370K_SINGLE' EXPORTING x_eqart = tmp_eqart * IMPORTING * Y_T370K = EXCEPTIONS not_found = 1 system_error = 2 OTHERS = 3.

ISU_DB_EQUI_SINGLE CALL FUNCTION 'ISU_DB_EQUI_SINGLE' EXPORTING x_equnr = tmp_equnr IMPORTING Y_EQUI = tmp_equi EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 OTHERS = 3.

ISU_DB_ETINS_SELECT_EQUI CALL FUNCTION 'ISU_DB_ETINS_SELECT_EQUI' EXPORTING x_equnr = tmp_equnr IMPORTING Y_ETINS = tmp_etins EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 OTHERS = 3.

ISU_DB_EWMINSPDETAIL_SELECT CALL FUNCTION 'ISU_DB_EWMINSPDETAIL_SELECT' EXPORTING * X_CAMPAIGN = X_OBJNR = tmp_equi-objnr * X_MAXCOUNT = 0 TABLES t_ewminspdetail = t_ewminspdetail EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 NOT_QUALIFIED = 3 OTHERS = 4.

ISU_DB_EWMOBJINSP_SINGLE CALL FUNCTION 'ISU_DB_EWMOBJINSP_SINGLE' EXPORTING x_objnr = tmp_equi-objnr IMPORTING Y_EWMOBJINSP = tmp_ewmobjinsp EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 OTHERS = 3.

ISU_DB_EVBS_SINGLE CALL FUNCTION 'ISU_DB_EVBS_SINGLE' EXPORTING x_vstelle = tmp_etins-vstelle IMPORTING Y_EVBS = tmp_evbs EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 OTHERS = 3.

ISU_DB_EWMPERIODTI_SINGLE CALL FUNCTION 'ISU_DB_EWMPERIODTI_SINGLE' EXPORTING x_vbsart = tmp_evbs-vbsart x_sparte = tmp_equi-sparte IMPORTING Y_EWMPERIODTI = tmp_ewmperiodti EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 OTHERS = 3.

END_TIME_DETERMINE CALL FUNCTION 'END_TIME_DETERMINE' EXPORTING duration = duration unit = actual_unit IMPORTING end_date = next_inspection CHANGING start_date = tmp_ewmobjinsp-last_insp_date EXCEPTIONS factory_calendar_not_found = 1 date_out_of_calendar_range = 2 date_not_valid = 3 unit_conversion_error = 4 si_unit_missing = 5 parameters_no_valid = 6 OTHERS = 7.

ISU_DB_EWMINSPDETAIL_SELECT CALL FUNCTION 'ISU_DB_EWMINSPDETAIL_SELECT' EXPORTING * X_CAMPAIGN = X_OBJNR = tmp_equi-objnr * X_MAXCOUNT = 0 TABLES t_ewminspdetail = t_ewminspdetail EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 NOT_QUALIFIED = 3 OTHERS = 4.

ISU_DB_EWMOBJINSP_SINGLE CALL FUNCTION 'ISU_DB_EWMOBJINSP_SINGLE' EXPORTING x_objnr = tmp_equi-objnr IMPORTING Y_EWMOBJINSP = tmp_ewmobjinsp EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 OTHERS = 3.

ISU_DB_EWMPERIODEQ_SINGLE CALL FUNCTION 'ISU_DB_EWMPERIODEQ_SINGLE' EXPORTING x_eqart = tmp_equi-eqart x_sparte = tmp_equi-sparte IMPORTING Y_EWMPERIODEQ = tmp_ewmperiodeq EXCEPTIONS NOT_FOUND = 1 SYSTEM_ERROR = 2 OTHERS = 3.

END_TIME_DETERMINE CALL FUNCTION 'END_TIME_DETERMINE' EXPORTING duration = duration unit = actual_unit IMPORTING end_date = next_inspection CHANGING start_date = tmp_ewmobjinsp-last_insp_date EXCEPTIONS factory_calendar_not_found = 1 date_out_of_calendar_range = 2 date_not_valid = 3 unit_conversion_error = 4 si_unit_missing = 5 parameters_no_valid = 6 OTHERS = 7.

EQUIPMENT_READ_DAY * CALL FUNCTION 'EQUIPMENT_READ_DAY' * EXPORTING * equi_no = tmp_equi-equnr * reading_date = sy-datum * IMPORTING * iloa = tmp_iloa * EXCEPTIONS * auth_no_begrp = 1 * auth_no_iwerk = 2 * auth_no_swerk = 3 * eqkt_not_found = 4 * equi_not_found = 5 * equz_not_found = 6 * iloa_not_found = 7 * auth_no_ingrp = 8 * auth_no_kostl = 9 * OTHERS = 10.

EQUIPMENT_READ CALL FUNCTION 'EQUIPMENT_READ' EXPORTING equi_no = tmp_equi-equnr READING_DATE = sy-datum IMPORTING ILOA = tmp_iloa EXCEPTIONS AUTH_NO_BEGRP = 1 AUTH_NO_IWERK = 2 AUTH_NO_SWERK = 3 EQKT_NOT_FOUND = 4 EQUI_NOT_FOUND = 5 EQUZ_NOT_FOUND = 6 ILOA_NOT_FOUND = 7 AUTH_NO_INGRP = 8 AUTH_NO_KOSTL = 9 ERR_HANDLE = 10 LOCK_FAILURE = 11 OTHERS = 12.

ISU_DB_TSPA_SINGLE CALL FUNCTION 'ISU_DB_TSPA_SINGLE' EXPORTING x_sparte = tmp_sparte * IMPORTING * Y_TSPA = EXCEPTIONS not_found = 1 system_error = 2 OTHERS = 3.

SZRS_DB_REGIOGROUP_SINGLE



CALL FUNCTION 'SZRS_DB_REGIOGROUP_SINGLE' EXPORTING x_regiogroup = tmp_regiogroup * X_LANGU = SY-LANGU * X_ACTUAL = * IMPORTING * Y_ADRREGGRP = * Y_ADRREGGRPT = EXCEPTIONS not_found = 1 OTHERS = 2.

ENQUEUE_E_EWMINSP CALL FUNCTION 'ENQUEUE_E_EWMINSP' EXPORTING mode_ewminsphead = 'E' mode_ewminspdetail = 'E' mandt = sy-mandt campaign = campaign * OBJNR = * X_CAMPAIGN = ' ' * X_OBJNR = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' "#EC * EXPORTING * DEFAULTOPTION = '1' textline1 = text-007 * D:'Sollen die erzeugten Protokolle' textline2 = text-008 * D:'angezeigt werden?' * TEXTLINE3 = ' ' text_option1 = text-s02 * D:'Anzeigen' text_option2 = text-s03 * D:'Beenden' titel = text-t05 * D:'Protokolle anzeigen' * START_COLUMN = 25 * START_ROW = 6 cancel_display = co_flag_notmarked IMPORTING answer = answer.

MSG_DISPLAY_LOGNUMBERS CALL FUNCTION 'MSG_DISPLAY_LOGNUMBERS' TABLES tx_lognumbers = tx_lognumbers.



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