<?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 Re: Function Module PRICING to get Rebate Agreement Values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137260#M1366367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After a serious commitment to the debugger tool I figured it out...  I had to set the relevent for rebate flag of komk:   lwa_komk-borel = 'X'.  " relevant for rebate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Sep 2009 18:25:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-25T18:25:59Z</dc:date>
    <item>
      <title>Function Module PRICING to get Rebate Agreement Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137256#M1366363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to simulate pricing a sales order as an invoice so I can capture predicted rebate agreement condition amounts...  I call the pricing fucntion module as in the following but I never get the rebate conditions that would end up on the billing document.  I only get the standard sales order pricing conditions.  Does anyone know if this function module (or other) function module can be used to get the rebate values which have requirment type 24 (billing document)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is very much appreciated,&lt;/P&gt;&lt;P&gt;Chuck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'PRICING'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;calculation_type = 'C'&lt;/P&gt;&lt;P&gt;comm_head_i = tp_komk&lt;/P&gt;&lt;P&gt;comm_item_i = tp_komp&lt;/P&gt;&lt;P&gt;PRELIMINARY = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_CALCULATION = ''&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OIA_TR_TYPE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OIC_NO_READ =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OIR_INVINFO =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;COMM_HEAD_E =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;COMM_ITEM_E =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OIA_PRICE_INCLUDED =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;tkomv = ta_komv&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SVBAP =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;XOICQ7 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;XOICQ8 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;XOICQ9 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;XOICINT_CAL =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;T_OIR_ADDAGG =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;T_OIRIT683S =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;T_ADDDATA =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;XOIUQ9 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;REBATE_DETERMINED = ' '.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 22:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137256#M1366363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-15T22:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module PRICING to get Rebate Agreement Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137257#M1366364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KOMK-kalsm or tp_komk what ever you call it will decide what condition types to pull KALSM is basically the pricing procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v/08 is the Tr. where you can find all the pricing procedures in your system..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 00:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137257#M1366364</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-09-16T00:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module PRICING to get Rebate Agreement Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137258#M1366365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the info.  I review the KALSM value and it is being set to the correct pricing procedure.  I'm just not getting back billing document pricing conditions for rebates and conditions...  Only sales document conditions.  Am I missing a parameter that says I want billing pricing and not sales order pricing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 15:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137258#M1366365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-16T15:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module PRICING to get Rebate Agreement Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137259#M1366366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I remeber right.. KNTYP needs to be B or ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 16:47:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137259#M1366366</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-09-16T16:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module PRICING to get Rebate Agreement Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137260#M1366367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After a serious commitment to the debugger tool I figured it out...  I had to set the relevent for rebate flag of komk:   lwa_komk-borel = 'X'.  " relevant for rebate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 18:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-pricing-to-get-rebate-agreement-values/m-p/6137260#M1366367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T18:25:59Z</dc:date>
    </item>
  </channel>
</rss>

