SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

RWVKUAR1 SAP ABAP Report - Archiving: Read Program for Object W_VKAB (Retail Revaluation Docs)







RWVKUAR1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RWVKUAR1 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

VKAR - Read Archive File


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 RWVKUAR1. "Basic submit
SUBMIT RWVKUAR1 AND RETURN. "Return to original report after report execution complete
SUBMIT RWVKUAR1 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: S_BUDAT = D .
Selection Text: SO_WERKS = Plant
Selection Text: SO_VTWEG = Distribution Channel
Selection Text: SO_VKORG = Sales Organization
Selection Text: SO_UBLNR = Retail revaluation document
Selection Text: SO_UBJHR = Fiscal Year
Selection Text: SO_MATNR = Material
Selection Text: SO_GRUND = Reason for Price Change
Selection Text: P_VKUBW = Effect on stock
Selection Text: P_PROT = Create Log
Selection Text: P_MATKL = Material Group
Selection Text: P_LIGRU = List Group
Title: Archiving: Read Program for Object W_VKAB (Retail Revaluation Docs)
Text Symbol: 142 = Multiline List
Text Symbol: 141 = Single-Line List
Text Symbol: 140 = List Display
Text Symbol: 131 = SAP Release:
Text Symbol: 130 = SAP system:
Text Symbol: 129 = Number of relevant table entries in USEG:
Text Symbol: 128 = Number of relevant table entries in UKPF:
Text Symbol: 122 = Relevant table entries in USEG as per selection:
Text Symbol: 121 = Relevant table entries in UKPF as per selection:
Text Symbol: 119 = Number of table entries in USEG:
Text Symbol: 118 = Number of table entries in UKPF:
Text Symbol: 113 = Number of table entries in USEG (retail revaluation docs item):
Text Symbol: 111 = Number of table entries in UKPF (retail revaluation docs header):
Text Symbol: 109 = End log for reading archived retail revaluation documents
Text Symbol: 104 = Created on
Text Symbol: 103 = Archive File
Text Symbol: 100 = Log for reading archived retail revaluation documents
Text Symbol: 099 = ********************************************************************************************
Text Symbol: 042 = Collective display, materials per plant
Text Symbol: 041 = Collective display, plants per material
Text Symbol: 015 = Complete archive contents read:
Text Symbol: 014 = Data on archive data read
Text Symbol: 013 = Create log of archive data read
Text Symbol: 011 = Parameters for program flow
Text Symbol: 003 = Display





Text Symbol: 002 = Restrictions
Text Symbol: 001 = Program selection criteria


INCLUDES used within this REPORT RWVKUAR1

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:

SELECTION_TEXTS_GET CALL FUNCTION 'SELECTION_TEXTS_GET' EXPORTING PI_MATKL = P_MATKL PX_MATKL_ALT = MATKL_ALT IMPORTING PE_MATKLT = P_MATKLT EXCEPTIONS OTHERS = 1.

SP_REVAL_DOCS_ARCHIVE_SELECT CALL FUNCTION 'SP_REVAL_DOCS_ARCHIVE_SELECT' EXPORTING PI_I_SRD = PISRD TABLES SO_UBLNR = SO_UBLNR SO_UBJAHR = SO_UBJHR SO_MATNR = SO_MATNR SO_WERKS = R_WERKS SO_GRUND = SO_GRUND PE_T_VUSEG = VUSEG PE_T_ADDAT = XADDAT EXCEPTIONS NO_DOCUMENTS_FOUND = 1 OTHERS = 2.

SP_REVALUATION_DOCS_DISPLAY CALL FUNCTION 'SP_REVALUATION_DOCS_DISPLAY' EXPORTING PI_I_SRD = PISRD pi_p_alv = p_l_alv TABLES * SO_UBLNR = * SO_UBJAHR = * SO_MATNR = * SO_WERKS = * SO_GRUND = PI_T_VUSEG = VUSEG EXCEPTIONS NO_DOCUMENTS_FOUND = 1 OTHERS = 2.

RS_LIST_SELECTION_TABLE CALL FUNCTION 'RS_LIST_SELECTION_TABLE' EXPORTING REPORT = 'RWVKUAR1 ' SELTEXT = 'X' * dyn_range = * newpage = 'X' TABLES SEL_TAB = SELECTION_TABLE.

LOCATION_SELECT_PLANT CALL FUNCTION 'LOCATION_SELECT_PLANT' EXPORTING * I_WERKS = I_KUNNR = T_WRF1-LOCNR * I_LIFNR = ' ' * BYPASSING_BUFFER = ' ' IMPORTING O_T001W = *T001W EXCEPTIONS NO_VALID_PLANT = 1 PLANT_NOT_FOUND = 2 MORE_THAN_ONE_ENTRY_FOUND = 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 RWVKUAR1 or its description.