09-29-2008 2:10 PM
Hello,
I am in 4.6C version.
I want to get the pricing data from sales order like VA01 transaction.
I know I have to use the function module PRICING, but i do not know which mandatory fields do I need to pass to this KOMK and KOMP input tables?
What is the input of CALCULATION_TYPE?
Could you please suggest?
Thanks in advance.
RH.
09-29-2008 2:17 PM
09-29-2008 2:24 PM
Hi ,
I know its KONP and KNOV, i need what is the mandatory fields from this table needs to pass to function module?.
could you please suggest?.
Thanks in advance.
RH
09-29-2008 2:31 PM
just stick a breakpoint in the FM PRICING and call VA01 then you will see the inputs required.
Regards
Carl
09-29-2008 2:30 PM
09-29-2008 2:35 PM
Thanks Carl,
But it is updating 100's of fields before calling this function module "PRICING".
i want the mandatory fields like material, sales org, distribution channel and division etc.
could you please suggest which mandatory fields do i need to pass to get the output ?.
Thanks,
RH
09-29-2008 2:38 PM
Hi Ravi,
Whatz the method you are using to create the sales order?
BDC or BAPI?
Thanks,
Naveen.I
09-29-2008 2:42 PM
Hello Naveen,
I have to create BAPI and hence i need to get all the pricing data from this "PRICING" function module.
while deburgging VA01 , i checked this is the function module , i can get all the pricing related output. I want to use this function module to get the pricing data.
I am using the standard VA01 transaction for checking .
Thanks,
RH.
09-29-2008 3:02 PM
Hi,
Input of calculation type for
Price = C (quantity)
Discount = A or C
Freight = D (Weight)
Regards,
Chandra