<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Function Module for creating condition record (XKOMV table record) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-creating-condition-record-xkomv-table-record/m-p/3484613#M837775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have a requirement as like below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the above logic i am using the user exit &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the above things need to be done when the user click the save button in the transaction (VA01/VA02).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manikumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Manikumar Shanmugam on Mar 8, 2008 3:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Mar 2008 10:01:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-08T10:01:38Z</dc:date>
    <item>
      <title>Function Module for creating condition record (XKOMV table record)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-creating-condition-record-xkomv-table-record/m-p/3484613#M837775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have a requirement as like below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the above logic i am using the user exit &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the above things need to be done when the user click the save button in the transaction (VA01/VA02).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manikumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Manikumar Shanmugam on Mar 8, 2008 3:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2008 10:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-creating-condition-record-xkomv-table-record/m-p/3484613#M837775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-08T10:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for creating condition record (XKOMV table record)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-creating-condition-record-xkomv-table-record/m-p/3484614#M837776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2008 15:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-creating-condition-record-xkomv-table-record/m-p/3484614#M837776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-08T15:59:56Z</dc:date>
    </item>
  </channel>
</rss>

