Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module for creating condition record (XKOMV table record)

Former Member
0 Likes
812

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
511

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

1 REPLY 1
Read only

Former Member
0 Likes
512

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