2007 Apr 17 1:17 PM
How do we use the Function Module PRICING to get the pricing for the particular material??
2007 Apr 17 1:25 PM
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
2007 Apr 17 1:52 PM
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
2007 Apr 17 2:18 PM