SAP Reports / Programs

RIVEDA20 SAP ABAP Report - List of Contracts for Serviceable Items







RIVEDA20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for List of Contracts for Serviceable Items You can use this report to display contracts for particular 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 RIVEDA20 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

IW74 - Change Contract for Serviceable Item
IW75 - Display Serviceable Item Contract


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 RIVEDA20. "Basic submit
SUBMIT RIVEDA20 AND RETURN. "Return to original report after report execution complete
SUBMIT RIVEDA20 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: VBEDKUE = D Date of cancellation document
Selection Text: VARIANT = D Layout
Selection Text: VAKTSCH = D Activity
Selection Text: VABNDAT = D Acceptance date
Selection Text: UEPOS = D Superior item
Selection Text: TELF1 = D Telephone
Selection Text: SUBMI = D Submission
Selection Text: STRNO = D Functional Location
Selection Text: SPART = D Division
Selection Text: SERNR = D Serial Number
Selection Text: SDAUFNR = D Sales Document
Selection Text: PSTYV = D Item Category
Selection Text: PRODH = D Product Hierarchy
Selection Text: POSNR = D Item
Selection Text: POSEX = D Purchase Order Item
Selection Text: NETWRX = D Net Value
Selection Text: MVGR5 = D Material Group 5
Selection Text: MVGR4 = D Material Group 4
Selection Text: MVGR3 = D Material Group 3
Selection Text: MVGR2 = D Material Group 2
Selection Text: MVGR1 = D Material Group 1
Selection Text: MEINS = D Base Unit of Measure
Selection Text: MATWA = D Material entered
Selection Text: VBEGDAT = D Contract start date
Selection Text: ZMENG = D Target quantity
Selection Text: WERKS = D Plant
Selection Text: WAERS = D To-currency
Selection Text: VWUNDAT = D Required cancellation date
Selection Text: VVORZEIT = D Activity lead time
Selection Text: VUNTDAT = D Contract signed
Selection Text: VTWEG = D Distribution Channel
Selection Text: VLAUFZ = D Validity period of contract
Selection Text: VLAUFK = D Validity period category
Selection Text: VKUESCH = D Cancellation procedure
Selection Text: VKUEPAR = D Cancellation party
Selection Text: VKUEGRU = D Cancellation reason
Selection Text: VKORG = D Sales Organization
Selection Text: VKGRP = D Sales Group





Selection Text: VKBUR = D Sales Office
Selection Text: VINSDAT = D Installation date
Selection Text: VGPOS = D Reference item
Selection Text: VGBEL = D Reference document
Selection Text: VENDDAT = D Contract end date
Selection Text: VEINDAT = D Receipt of cancellation
Selection Text: VDEMDAT = D Dismantling date
Selection Text: VBELKUE = D Cancellation doc. for partner
Selection Text: VBEGREG = D Contract start rule
Selection Text: ABGRU = D Reason for rejection
Selection Text: ARKTX = D Description
Selection Text: AUART = D Sales Document Type
Selection Text: AUGRU = D Reason for order
Selection Text: BNAME = D Name
Selection Text: BSARK = D Order type
Selection Text: BSTDK = D Purchase Order Date
Selection Text: BSTNK = D Purchase Order Number
Selection Text: BSTZD = D Additional data
Selection Text: CHARG = D Batch
Selection Text: EAN11 = D EAN/UPC
Selection Text: EQUNR = D Equipment
Selection Text: ERNAM = D Created By
Selection Text: IHREZ = D Your reference
Selection Text: KDMAT = D Customer material
Selection Text: KUNNR = D Sold-To Party
Selection Text: MATKL = D Material Group
Selection Text: MATNR = D Material
Title: List of Contracts for Serviceable Items
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: 207 = Contract selection
Text Symbol: 206 = Legend
Text Symbol: 205 = Contracts for PM objects





Text Symbol: 204 = Schedule overview
Text Symbol: 202 = Contract period
Text Symbol: 201 = Installation period
Text Symbol: 801 = Processed objects
Text Symbol: 802 = Last objects processed
Text Symbol: ANZ = Number
Text Symbol: F01 = Object data
Text Symbol: F02 = Contract data
Text Symbol: F03 = Purchase order data
Text Symbol: F04 = SD data
Text Symbol: F05 = Cur. translation
Text Symbol: P05 = Net value
Text Symbol: PO1 = High no., high value
Text Symbol: PO2 = Low number, high value
Text Symbol: PO3 = High number, low value
Text Symbol: PO4 = Low number, low value
Text Symbol: SON = Others


INCLUDES used within this REPORT RIVEDA20

INCLUDE MIOLXTOP.
INCLUDE MIMACRO0.
INCLUDE RVVBTYP.


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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Vertragsselektion'(207).

PM_DISPLAY_KONFIG_CONTRACT CALL FUNCTION 'PM_DISPLAY_KONFIG_CONTRACT' EXPORTING i_rihveda = h_rihveda_wa i_no_messages = space.

GRAPH_SET_CUA_STATUS CALL FUNCTION 'GRAPH_SET_CUA_STATUS' EXPORTING program = 'SAPLIESC' status = 'GANT' EXCEPTIONS inv_cua_info = 1 OTHERS = 2.

GRAPH_GANTT CALL FUNCTION 'GRAPH_GANTT' EXPORTING vgrid = ' ' hgrid = 'X' tlength = h_strlen wheader = g_ttext ttext = 'Verträge zu IH-Objekten'(205) legend = 'Legende'(206) notxt = space tunit = 'M' dfel = dfel dfms = dfms TABLES item = item mist = mist elem = elem lgms = mist lgel = lgel msgt = back.

IREP1_LOCATION_TEXT_PRE_FETCH CALL FUNCTION 'IREP1_LOCATION_TEXT_PRE_FETCH' TABLES tplnr_tab = lt_tplnr EXCEPTIONS no_text_found = 1 OTHERS = 2.

IREP1_EQUIPMENT_TEXT_PRE_FETCH CALL FUNCTION 'IREP1_EQUIPMENT_TEXT_PRE_FETCH' TABLES equnr_tab = lt_equnr EXCEPTIONS no_text_found = 1 OTHERS = 2.

IREP1_MATERIAL_TEXT_PRE_FETCH CALL FUNCTION 'IREP1_MATERIAL_TEXT_PRE_FETCH' TABLES matnr_tab = lt_matnr 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_EQUIPMENT_TEXT_READ



CALL FUNCTION 'IREP1_EQUIPMENT_TEXT_READ' EXPORTING i_equnr = -equnr IMPORTING e_eqktx = -eqktx EXCEPTIONS no_text_found = 1 OTHERS = 2.

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

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datlo foreign_amount = -netpr foreign_currency = -waerk local_currency = waers IMPORTING local_amount = -netpr EXCEPTIONS no_rate_found = 01 overflow = 02.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datlo foreign_amount = -netwrx foreign_currency = -waerk local_currency = waers IMPORTING local_amount = -netwrx EXCEPTIONS no_rate_found = 01 overflow = 02.

EQUIPMENT_TEXT_READ CALL FUNCTION 'EQUIPMENT_TEXT_READ' EXPORTING equi_no = object_tab-equnr IMPORTING equi_text = object_tab-eqktx TABLES text_table = h_text_table EXCEPTIONS equi_not_found = 01 text_not_found = 02.



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