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

RWVKUAW1 SAP ABAP Report - Archiving: Write Program for Object W_VKAB (Retail Revaluation Docs)







RWVKUAW1 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 RWVKUAW1 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

VKAW - Generate 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 RWVKUAW1. "Basic submit
SUBMIT RWVKUAW1 AND RETURN. "Return to original report after report execution complete
SUBMIT RWVKUAW1 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: P_ATEST = Archiving in test run
Selection Text: P_DAT1 = Past period
Selection Text: P_DAT2 = Past date
Selection Text: P_LIS1 = Log without document list
Selection Text: P_LIS2 = Log with document list
Selection Text: P_MATKL = Material group
Selection Text: P_PROT = Create log
Selection Text: P_RDATE = Archiving key date
Selection Text: P_TAGE = Past period in days
Selection Text: P_TEST = Deletion run in test mode
Selection Text: P_VKUBW = Effect on stock
Selection Text: REMARK = Comment for archiving session
Selection Text: SO_GRUND = Reason for price change
Selection Text: SO_MATNR = Material
Selection Text: SO_UBJHR = Fiscal Year
Selection Text: SO_UBLNR = Retail revaluation document
Selection Text: SO_VKORG = Sales organization
Selection Text: SO_VTWEG = Distribution channel
Selection Text: SO_WERKS = Plant
Title: Archiving: Write Program for Object W_VKAB (Retail Revaluation Docs)
Text Symbol: 123 = SAP release:
Text Symbol: 124 = Comments for archiving:
Text Symbol: 125 = Not a test run, create archive file
Text Symbol: 199 = End log about archiving retail revaluation documents
Text Symbol: 200 = Rtl reval. doc.
Text Symbol: 201 = Item
Text Symbol: 202 = Material
Text Symbol: 203 = Plnt
Text Symbol: 204 = Old rtl val.
Text Symbol: 205 = New rtl val.
Text Symbol: 206 = Curr
Text Symbol: 207 = Reas.
Text Symbol: 208 = SLoc
Text Symbol: 122 = SAP system:
Text Symbol: 001 = Selection criteria
Text Symbol: 002 = Restrictions
Text Symbol: 003 = Data for document creation
Text Symbol: 004 = Archiving key date





Text Symbol: 006 = Past period
Text Symbol: 007 = Key date
Text Symbol: 008 = Days
Text Symbol: 010 = Archiving as test run, no archive file will be created
Text Symbol: 011 = Run Delete Program in Test Mode Only
Text Symbol: 012 = Create log for archiving session
Text Symbol: 014 = Without list of retail revaluation documents
Text Symbol: 015 = With list of retail revaluation documents
Text Symbol: 016 = Deletion program will not be started
Text Symbol: 020 = Archive file:
Text Symbol: 099 = ********************************************************************************************
Text Symbol: 100 = Archiving log
Text Symbol: 101 = Start:
Text Symbol: 103 = Archive:
Text Symbol: 104 = Test run, do not create archive file
Text Symbol: 105 = Start deletion program in deletion mode
Text Symbol: 107 = Data for archive file created
Text Symbol: 108 = No. of retail revaluation document items selected:
Text Symbol: 109 = No. of archived retail revaluation document items:
Text Symbol: 110 = Start time:
Text Symbol: 111 = End time:
Text Symbol: 112 = Duration:
Text Symbol: 113 = Specifications for run time procedure
Text Symbol: 114 = Quota archived/selected documents:
Text Symbol: 117 = Program options for write program
Text Symbol: 118 = Delete:
Text Symbol: 119 = Key date:
Text Symbol: 120 = Archived retail revaluation documents
Text Symbol: 121 = Created on


INCLUDES used within this REPORT RWVKUAW1

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.

SPC_MATNR_TAB_FROM_SELSCR_FILL CALL FUNCTION 'SPC_MATNR_TAB_FROM_SELSCR_FILL' EXPORTING PI_I_SPC = PISPC PI_NOART = YES TABLES SO_MATNR = SO_MATNR PE_T_PRE03 = XPRE03 EXCEPTIONS NO_MATERIALS_SELECTED = 1 OTHERS = 2.

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.

RS_LIST_SELECTION_TABLE





* call function 'RS_LIST_SELECTION_TABLE' * exporting * report = 'RWVKUAW1' * seltext = 'X' * DYN_RANGE = * NEWPAGE = 'X' * tables * sel_tab = selection_table.



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