SAP Reports / Programs

REGWDR01 SAP ABAP Report - Create work orders/notifications for device replacement







REGWDR01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Create work orders/notifications This report selects either devices from the periodic replacement list or sample devices or spare sample devices for sample lots and creates work orders or notificastions for theses devices...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 REGWDR01 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

EG90 - Create repl. orders/notifications


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 REGWDR01. "Basic submit
SUBMIT REGWDR01 AND RETURN. "Return to original report after report execution complete
SUBMIT REGWDR01 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: ABKARENZ = D Check Meter Reading Interval
Selection Text: CHDEVLOC = Replace all Devs. of Dev. Loc.
Selection Text: DEVCOUNT = Maximum number of devices
Selection Text: DFLTWERK = PM planning plant (default)
Selection Text: GLTRP = Desired basic end date
Selection Text: GSTRP = Desired basic start date
Selection Text: LISTDISP = Display Date Overlap
Selection Text: SO_ABEIN = Meter reading unit
Selection Text: SO_BKLAS = Construction class
Selection Text: SO_DEVSP = Division for device location
Selection Text: SO_FKLAS = Function class
Selection Text: SO_GTYP = Device category
Selection Text: SO_HERST = Manufacturer
Selection Text: SO_SPTYP = Division Category
Selection Text: SO_TYPBZ = Category description
Selection Text: SO_UIB = Company area
Selection Text: TURNUSJ = Periodic replacement year
Selection Text: VWJAHR = Planned replacement year
Title: Create work orders/notifications for device replacement
Text Symbol: T28 = Specified Construction Classes:
Text Symbol: T27 = Specified Function Classes:
Text Symbol: T26 = Specified Division Categories
Text Symbol: T25 = Specified Device Categories:
Text Symbol: T24 = High
Text Symbol: T23 = Low
Text Symbol: T22 = I
Text Symbol: T21 = Upper lim.
Text Symbol: T20 = Lower lim.
Text Symbol: T19 = Street
Text Symbol: T18 = City
Text Symbol: T17 = Ctry
Text Symbol: T16 = House Number
Text Symbol: T15 = Spare SD
Text Symbol: T14 = Samp. dev.
Text Symbol: T13 = 2nd Drawing
Text Symbol: T12 = 1st Drawing
Text Symbol: T11 = Lot
Text Symbol: T10 = Create Work Orders/Notifications





Text Symbol: T09 = Lot Selection
Text Symbol: T08 = Lot Selection
Text Symbol: T07 = Custom Selections -->
Text Symbol: T50 = 5th Drawing
Text Symbol: T49 = 4th Drawing
Text Symbol: T48 = 3rd Drawing
Text Symbol: T47 = P5
Text Symbol: T46 = P4
Text Symbol: T45 = P3
Text Symbol: T44 = Category descriptions specified:
Text Symbol: T43 = Manufacturers specified:
Text Symbol: T42 = R2
Text Symbol: T41 = P2
Text Symbol: T40 = R1
Text Symbol: T39 = P1
Text Symbol: T38 = Select Devices for Order Creation
Text Symbol: T37 = Background Job for Work Orders
Text Symbol: T36 = Select Variant
Text Symbol: T35 = Display Logs
Text Symbol: T34 = Specified Divisions for Device Category:
Text Symbol: T33 = Specified Lots:
Text Symbol: T32 = Specified Free Selections:
Text Symbol: T31 = Specified Regional Selection:
Text Symbol: T30 = Specified Company Areas:
Text Symbol: T29 = Specified Meter Reading Units:
Text Symbol: S14 = PM planning plant (default)
Text Symbol: S13 = Desired basic end date
Text Symbol: S12 = Desired basic start date
Text Symbol: S11 = Code
Text Symbol: S10 = No
Text Symbol: S09 = Yes
Text Symbol: S08 = Schedule background job
Text Symbol: S07 = Planned replacement year
Text Symbol: S06 = Maximum number of devices
Text Symbol: S05 = Exit
Text Symbol: S04 = Display
Text Symbol: S03 = Spare sample inspect. devices
Text Symbol: S02 = Samp. dev.
Text Symbol: S01 = Periodic replacement year





Text Symbol: 036 = Plant/location:
Text Symbol: 034 = Connection Object
Text Symbol: 032 = Device location
Text Symbol: 030 = Connection object level
Text Symbol: 028 = Device location level
Text Symbol: 026 = Device level
Text Symbol: 024 = Service notifications
Text Symbol: 022 = Service orders
Text Symbol: 020 = Display date overlap
Text Symbol: 019 = Check MR interval
Text Symbol: 014 = Plan. repl. yr
Text Symbol: 008 = you just created?
Text Symbol: 007 = change the background job
Text Symbol: 006 = Do you want to redisplay or
Text Symbol: 004 = generated logs?
Text Symbol: 003 = Do you want to display the
Text Symbol: 001 = Replace all dev. of dev. loc.
Text Symbol: S16 = Control parameter for periodic replacement:
Text Symbol: T06 = Regional Selection
Text Symbol: T05 = Custom Selections
Text Symbol: T04 = Regional Selection
Text Symbol: T03 = Additional Specifications
Text Symbol: T02 = Sample Devices of a Lot
Text Symbol: T01 = Selection in Periodic Replacement List
Text Symbol: S42 = Notifications for devices from device locations
Text Symbol: S41 = Notifs for sample devs and spare sample devices
Text Symbol: S40 = Error during notif. creation for following devs:
Text Symbol: S39 = Notifications for devices from per. repl. list
Text Symbol: S38 = Notification
Text Symbol: S37 = Control parameters for orders and notifications
Text Symbol: S36 = Error during order creation for following devices:
Text Symbol: S35 = Orders will created for the following devs:
Text Symbol: S34 = No orders will be created for the following devs:
Text Symbol: S33 = Device number
Text Symbol: S32 = Orders for devices from device locations
Text Symbol: S31 = Line
Text Symbol: S30 = Lot
Text Symbol: S29 = Order for sample devices or spare sample devices:
Text Symbol: S28 = Order



Text Symbol: S27 = Orders for devices from the periodic repl. list:
Text Symbol: S25 = Spare sample dev.
Text Symbol: S24 = Sample device
Text Symbol: S23 = Free selection for table field
Text Symbol: S22 = No overlap found
Text Symbol: S21 = Equipment number
Text Symbol: S20 = Devices with date overlap
Text Symbol: S19 = Active batch: date overlap only in log
Text Symbol: S18 = Indicator: display date overlap
Text Symbol: S17 = Indicator: check meter reading interval


INCLUDES used within this REPORT REGWDR01

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:

ISU_DB_TE690_SINGLE CALL FUNCTION 'ISU_DB_TE690_SINGLE' IMPORTING y_te690 = te690 EXCEPTIONS not_found = 1 system_error = 2 OTHERS = 3.

ISU_DB_TEAPPRVLNR_SELECT_ALL CALL FUNCTION 'ISU_DB_TEAPPRVLNR_SELECT_ALL' * EXPORTING * X_SORT = * X_MAXCOUNT = 0 * IMPORTING * Y_COUNT = TABLES t_teapprvlnr = t_teapprvlnr EXCEPTIONS not_found = 1 OTHERS = 2.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING * DEFAULTOPTION = '1' textline1 = text-003 * D:'Sollen die erzeugten Protokolle' textline2 = text-004 * D:'angezeigt werden?' * TEXTLINE3 = ' ' text_option1 = text-s04 * D:'Anzeigen' text_option2 = text-s05 * D:'Beenden' titel = text-t35 * D:'Protokolle anzeigen' * START_COLUMN = 25 * START_ROW = 6 cancel_display = co_flag_notmarked IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

MSG_DISPLAY_LOGNUMBERS CALL FUNCTION 'MSG_DISPLAY_LOGNUMBERS' TABLES tx_lognumbers = tx_lognumbers EXCEPTIONS not_found = 1 OTHERS = 2.



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