Calling External Service in Pricing
We currently have such a scenario: when a sales order is created, system should check the pricing reference material of the items. If its reference material is a specific material, then the system should call an external web service to retrieve the price of the item. How can I make such such a condition type so that it calls external services?
You can create new alternative price calculation formula in VOFM and assign it in pricing procedure (V/08) to the codnition you want to determine using web service. In the alternative price calculation formula you can call function modules respresenting (using) you web service. You can use header data available in structure KOMK and item data available in structure KOMP.