‎2008 Mar 08 10:01 AM
Hi,
I have a requirement as like below,
In the repair order i need to sum the GRWR condition type's conditional values for all the line items (Except deliverable line item) and then i need to create an condition type GRWR under the deliverable line item with the above calculated conditional values,
the table XKOMV will be having details about all the line item's condition types, in this table i need to add one more new record with the condition type of GRWR and the above calculated conditional values under the deliverable line item.
for the above logic i am using the user exit
USEREXIT_SAVE_DOCUMENT_PREPARE
All the above things need to be done when the user click the save button in the transaction (VA01/VA02).
Problem here is table XKOMV contains somany fields so manually we can't create xkomv record, is there any Function module to create condition type record?
Regards,
Manikumar
Edited by: Manikumar Shanmugam on Mar 8, 2008 3:53 PM
‎2008 Mar 08 3:59 PM
Hi,
You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.
Regards
Kiran Sure
‎2008 Mar 08 3:59 PM
Hi,
You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.
Regards
Kiran Sure