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

RWVKP002 SAP ABAP Report - Display Sales Prices







RWVKP002 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 RWVKP002 into the relevant SAP transactions such as SE38 or SE80


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 RWVKP002. "Basic submit
SUBMIT RWVKP002 AND RETURN. "Return to original report after report execution complete
SUBMIT RWVKP002 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_WERKS = Plant
Selection Text: P_VTWEG = Distribution channel
Selection Text: P_VRKME = Unit of measure
Selection Text: P_VKORG = Sales organization
Selection Text: P_PRSDT = Valid On
Selection Text: P_PLTYP = Price list
Selection Text: P_MGAME = Quantity
Selection Text: P_MATNR = Material
Title: Display Sales Prices
Text Symbol: 501 = Price determ
Text Symbol: 100 = Selection criteria
Text Symbol: 022 = (parallel)
Text Symbol: 021 = Promotion prices
Text Symbol: 001 = Sales organization
Text Symbol: 002 = Distribution channel
Text Symbol: 003 = Plant
Text Symbol: 004 = Valid On
Text Symbol: 006 = Material
Text Symbol: 007 = Price description
Text Symbol: 008 = Amount
Text Symbol: 009 = Unit
Text Symbol: 010 = per
Text Symbol: 011 = Un
Text Symbol: 012 = Unit of measure
Text Symbol: 013 = Price list
Text Symbol: 020 = Standard sales prices


INCLUDES used within this REPORT RWVKP002

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:

SALES_PRICE_READ call function 'SALES_PRICE_READ' exporting pi_i_spr = pispr importing pe_i_komk = komk pe_i_komp = komp pe_i_spr = pespr tables pe_t_life = tlife pe_t_komv = tkomv exceptions error_message = 04.

VKP_AUTHORITY_CHECK_ALL call function 'VKP_AUTHORITY_CHECK_ALL' exporting pi_vkorg = pi_vkorg pi_vtweg = pi_vtweg * PI_EKORG = pi_kschl = pi_kschl pi_check_wvkpk = yes * PI_CHECK_EKORG = pi_check_kschl = yes * PI_CHECK_VKONH = importing pe_wvkpk_actvt = wvkpk_actvt * PE_EKORG_ACTVT = pe_kschl_actvt = kschl_actvt * PE_VKONH_ACTVT = exceptions no_authority_cond_type = 1 no_authority_sales = 2 others = 3.

SALES_PRICE_KEY_TEXTS_GET call function 'SALES_PRICE_KEY_TEXTS_GET' exporting pi_calp_key = calp_key importing pe_i_makt = makt pe_i_t006a = *t006a pe_i_tvkot = *tvkot pe_i_tvtwt = *tvtwt pe_i_t001w = *t001w pe_i_t189t = *t189t exceptions others = 1.

PRICING_DIALOG * CALL FUNCTION 'PRICING_DIALOG' * EXPORTING * COMM_HEAD_I = KOMK * COMM_ITEM_I = KOMP * COMM_TEXT = TEXT1 * T185_I = T185 * T185F_I = T185F * T185V_I = T185V * IMPORTING * COMM_HEAD_E = KOMK * COMM_ITEM_E = KOMP * T185_E = T185 * T185F_E = T185F * TABLES * TKOMV = TKOMV.

PRICING_SCREEN call function 'PRICING_SCREEN' exporting comm_head_i = komk comm_item_i = komp comm_text = text1 trtyp_i = t185f-trtyp importing comm_head_e = komk comm_item_e = komp tables tkomv = tkomv.



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