I am trying to determine prices in Repair Orders RAS based on the qty of the servicable material. I was able to use USEREXIT_PRICING_PREPARE_TKOMP to define the field VBAPD-MATNR_G as the pricing material in the communication structure and now the price get calculated based on the ServicableMat but the quantity is still coming from the actual service item.
The help article points says:
Define an alternative formula for calculating the condition base value. You do this in the Customizing activity Define formulas for pricing (choose Sales and Distribution ® System Modification ® Routines ® Define formulas for pricing). Specify in this formula that the quantity for calculating the price should be taken from the VBAPD-MENGE_G field. Assign the formula to the pricing procedure.
Could someone please tell me how exactly am I supposed to specify that in this new formula?