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: 

FM PRICING.

Former Member
0 Kudos
99

How do we use the Function Module PRICING to get the pricing for the particular material??

3 REPLIES 3

Former Member
0 Kudos
72

hi

use

like this

CALL FUNCTION 'PRICING'

EXPORTING

calculation_type = c_calc_type

comm_head_i = w_comm_header

comm_item_i = w_comm_item

IMPORTING

comm_item_e = w_comm_item_e

TABLES

tkomv = i_tkomv.

praveen

Former Member
0 Kudos
72

where would i populate the data from into the structures and the tables?

the selection criterion is

KUNNR KUNNR CHAR 10 0 Customer number

MATNR MATNR CHAR 18 0 Material number

LENGTH MENGE_D QUAN 13 3 Quantity

VRKME VRKME UNIT 3 0 Sales unit

NETWR NETWR CURR 15 2 Net value in document currency

KBETR KBETR CURR 11 2 Rate (condition amount or percentage)

KPEIN KPEIN DEC 5 0 Condition pricing unit

KMEIN KMEIN UNIT 3 0 Condition unit

WAERS WAERS CUKY 5 0 Currency Key

VOH NETWR CURR 15 2 Net value in document currency

Former Member
0 Kudos
72

check this link may be useful for you

~~Guduri