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
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
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
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.
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
INCLUDE MIOLXTOP.
INCLUDE MIMACRO0.
INCLUDE RVVBTYP.
No SAP DATABASE tables are accessed within this REPORT code!
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.
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.
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.