SAP Reports / Programs | Logistics - General | Logistics Basic Data | Retail Pricing(LO-MD-RPC) SAP LO

RWVKPAW1 SAP ABAP Report - Archiving: Write Program for Object W_KALK (Pricing Documents)







RWVKPAW1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Archiving write program for archiving object W_KALK The archiving object W_KALK (pricing documents) comprises entries from the following tables: WKBK, WKBP, KONV, KONH, condition tables as per KONH entry, KONP (with KONW, KONM: archiving class CONDS), CDHDR, CDPOS (archiving class CHANGEDOCU), S111 You can narrow down the selection of pricing documents you want to archive by material and organizational level...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 RWVKPAW1 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

VKPA - Archiving


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 RWVKPAW1. "Basic submit
SUBMIT RWVKPAW1 AND RETURN. "Return to original report after report execution complete
SUBMIT RWVKPAW1 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_EKORG = Purchasing organization
Selection Text: P_ERNAM = Created by
Selection Text: P_LIFNR = Vendor
Selection Text: P_LIS1 = Log without document list
Selection Text: P_LIS2 = Log with document list
Selection Text: P_LTSNR = Vendor Subrange
Selection Text: P_MATKL = Material group
Selection Text: P_PROT = Create log
Selection Text: P_RDATE = Archiving key date
Selection Text: P_SAISJ = Season year
Selection Text: P_SAISO = Season
Selection Text: P_STORN = Archive canc. items, any date
Selection Text: P_TAGE = Past period in days
Selection Text: P_TEST = Deletion run in test mode
Selection Text: REMARK = Comment for archiving session
Selection Text: S_DATUM = Created on
Selection Text: S_MATNR = Material
Selection Text: S_PLTYP = Price list
Selection Text: S_VKORG = Sales organization
Selection Text: S_VTWEG = Distribution channel
Selection Text: S_WERKS = Plant
Title: Archiving: Write Program for Object W_KALK (Pricing Documents)
Text Symbol: 123 = SAP release:
Text Symbol: 124 = Comments for archiving:
Text Symbol: 125 = Not a test run, create archive file
Text Symbol: 200 = Pricing document
Text Symbol: 201 = Item
Text Symbol: 202 = SOrg
Text Symbol: 203 = DChnl
Text Symbol: 204 = Plant
Text Symbol: 205 = PL
Text Symbol: 206 = Final price
Text Symbol: 207 = Unit
Text Symbol: 208 = per
Text Symbol: 209 = UoM





Text Symbol: 210 = Material
Text Symbol: 001 = Program selection criteria
Text Symbol: 002 = Restrictions
Text Symbol: 003 = Data for document creation
Text Symbol: 004 = Archiving key date
Text Symbol: 005 = Cancellations
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: 013 = Archive cancelled document items, ignoring archiving key date
Text Symbol: 014 = Without list of pricing documents
Text Symbol: 015 = With list of pricing 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 the write program:
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: 106 = Cancelled document items are archived independently of key date
Text Symbol: 107 = Data for archive file created
Text Symbol: 108 = Number of pricing document items selected:
Text Symbol: 109 = Number of pricing document items archived:
Text Symbol: 110 = Start time:
Text Symbol: 111 = End:
Text Symbol: 112 = Duration:
Text Symbol: 113 = Specifications for run time procedure
Text Symbol: 114 = Quota archived/selected documents:
Text Symbol: 115 = Cancellations:
Text Symbol: 116 = Archiving cancelled document items, ignoring archiving key date
Text Symbol: 117 = Program options
Text Symbol: 118 = Delete:
Text Symbol: 119 = Key date:
Text Symbol: 120 = Pricing documents archived:
Text Symbol: 121 = Created on





Text Symbol: 122 = SAP system:


INCLUDES used within this REPORT RWVKPAW1

INCLUDE FWVKPSEB.
INCLUDE FWVKPSEC.


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_ekorg = p_ekorg px_ekorg_alt = ekorg_alt pi_lifnr = p_lifnr px_lifnr_alt = lifnr_alt pi_ltsnr = p_ltsnr px_ltsnr_alt = ltsnr_alt pi_matkl = p_matkl px_matkl_alt = matkl_alt pi_saiso = p_saiso px_saiso_alt = saiso_alt importing pe_ekorgt = p_ekorgt pe_lifnrt = p_lifnrt pe_ltsnrt = p_ltsnrt pe_matklt = p_matklt pe_saisot = p_saisot exceptions others = 1.

SPC_PRE_CHECK call function 'SPC_PRE_CHECK' exporting pi_i_spc = pispc importing pe_i_spc = pispc * changing * so_matnr = so_matnr * so_vkorg = so_vkorg * so_vtweg = so_vtweg * so_werks = so_werks * so_pltyp = so_pltyp * so_filgr = so_filgr exceptions exit = 08 error_message = 04 others = 04.

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 = s_matnr pe_t_pre03 = xpre03 exceptions no_materials_selected = 1 others = 2.

RS_LIST_SELECTION_TABLE * call function 'RS_LIST_SELECTION_TABLE' * exporting * report = 'RWVKPAW1' * 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 RWVKPAW1 or its description.