2007 May 02 6:25 AM
Hi
my requirement is to calculate RE-PRICING for sales order using function module PRICING
i have VBELN and POSNR for sales order.
any one knows how to populate komk and komp structure to pass FM PRICING???
thankx
Message was edited by:
Ripal Patel
Hi
my requirement is to calculate RE-PRICING for sales order using function module PRICING
i have VBELN and POSNR for sales order.
any one knows how to populate komk and komp structure to pass FM PRICING???
thankx
Message was edited by:
Ripal Patel
2007 May 02 6:27 AM
u can get KNUMV from VBAK of a given sales Order.
then read table KONV.
Regards
Prabhu
2007 May 02 7:32 AM
Try the following function modules :
RV_PRINT_PRICE_HEAD
RV_PRINT_PRICE_ITEM
regards,
Hans
Please reward all helpful answers !!!!!
2007 May 04 4:54 AM
hi
fm suggested are also having importing parameter komk & komp
RV_PRINT_PRICE_HEAD
RV_PRINT_PRICE_ITEM
can any body send sample code who have use these fm before?
2007 May 02 7:42 AM
Hi
I don't know why you are struggling with this fun module PRICING?
Generally in SD and MM modules Pricing is a major area where we need to configure lot of things to get the prices correctly like
Define condition records in VK11, Condition Tables, Access sequences and Condition records and the pricing procedures etc.
Once you define all these things then the data will be in the tables KONV and KONP tables.
using the VBAK-KNUMV and VBAP-POSNR fields to KONV-KNUMV and KONV-KPOSN fields we get the respective pricing related data for that condition type(KSCHL).
so take the help of a functional guy in this regard to configure the pricing procedure and make use of it.
reward if useful
regards
Anji
2007 May 02 7:44 AM
hai patel,
You must be filling the komp table first with important fields like matnr and kposn and than you fill the komk table by getting the condition record 'KNUMV' and the important thing is reference should be maintained between komk and komp by item line.
Thanks
raju N
2007 Jun 21 4:15 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |