Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

wanted information regarding Function Module 'RV_PRICE_PRINT_ITEM'

Former Member
0 Kudos

hI,

This is anand.

while i am doing an object in INVOICE .....i found a fun.mod 'rv_price_print_item'.

Can anyone give necessary information regarding this..........

1 REPLY 1

h_senden2
Active Contributor
0 Kudos

It will be used in the invoice print programma to determine the item prices. See code below from RVADIN01 program.

regards,

Hans

FORM get_item_prices.

CLEAR: komp,

tkomv.

IF komk-knumv NE vbdkr-knumv.

CLEAR komk.

komk-mandt = sy-mandt.

komk-kalsm = vbdkr-kalsm.

komk-fkart = vbdkr-fkart.

komk-kappl = pr_kappl.

IF vbdkr-kappl NE space.

komk-kappl = vbdkr-kappl.

ENDIF.

komk-waerk = vbdkr-waerk.

komk-knumv = vbdkr-knumv.

komk-vbtyp = vbdkr-vbtyp.

ENDIF.

komp-kposn = vbdpr-posnr.

CALL FUNCTION 'RV_PRICE_PRINT_ITEM'

EXPORTING

comm_head_i = komk

comm_item_i = komp

language = nast-spras

IMPORTING

comm_head_e = komk

comm_item_e = komp

TABLES

tkomv = tkomv

tkomvd = tkomvd.

  • Calling customer subroutine dynamically for handling item prices

IF NOT item_userexit IS INITIAL.

PERFORM (item_userexit) IN PROGRAM rvadin01 IF FOUND.

ENDIF.

ENDFORM. "get_item_prices