<?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: Create new settlement rule for an order with a function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-settlement-rule-for-an-order-with-a-function-module/m-p/2086413#M433313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for you answer.&lt;/P&gt;&lt;P&gt;The whole scenario: I want to extend the Internet Sales application to be able to select a cost center in the basket and save this cost center in a settlement rule in the order in R/3. So an automatic generation of a settlement rule is not possible, because I don't know the cost center in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I want to do this from Internet Sales, I have to implement a function module, because it's very easy to call this function module from Internet Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2007 18:48:13 GMT</pubDate>
    <dc:creator>fabian_huber</dc:creator>
    <dc:date>2007-03-28T18:48:13Z</dc:date>
    <item>
      <title>Create new settlement rule for an order with a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-settlement-rule-for-an-order-with-a-function-module/m-p/2086411#M433311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to create a settlement rule for an order. I searched for existing function modules and found K_ORDER_SETTLEMENT_RULE, which seems to be the correct one. &lt;/P&gt;&lt;P&gt;The problem: The settlement rules, which I create with this function module are not saved.&lt;/P&gt;&lt;P&gt;Do I have to call another function module to save my new rules?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 18:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-settlement-rule-for-an-order-with-a-function-module/m-p/2086411#M433311</guid>
      <dc:creator>fabian_huber</dc:creator>
      <dc:date>2007-03-28T18:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create new settlement rule for an order with a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-settlement-rule-for-an-order-with-a-function-module/m-p/2086412#M433312</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;Settlement rules are first of all defined in customizing how the should be behave and secondly lies the question how to update a CO cost object with this settlement rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first advice would be to use the "automatic settlement derivation feature" that can be setup in customizing alike. &amp;lt;b&amp;gt;SPRO -&amp;gt; Controlling -&amp;gt; Internal Orders -&amp;gt; Actual Postings -&amp;gt; Settlement -&amp;gt; Automatic generation of Settlement Rule&amp;lt;/b&amp;gt;. Read the docu for this node (right click and choose Display documentation) to understand what possibilities and limitations this functionality has. Below this node you have the possibility to define a "settlement strategy" and allocate this to a order type. You can also define a Enhamcement (COOM0003&lt;/P&gt;&lt;P&gt;) where you can somewhat influence the automatic generation of settlement rules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute transaction KO8G (collective processing) or KO88 (indicidual processing) to create a settlement rule for internal orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other option you have is to create a custom program based on BDC to create settlement rule for internal orders. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the BDC program would be a better idea for you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 18:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-settlement-rule-for-an-order-with-a-function-module/m-p/2086412#M433312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T18:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create new settlement rule for an order with a function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-settlement-rule-for-an-order-with-a-function-module/m-p/2086413#M433313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for you answer.&lt;/P&gt;&lt;P&gt;The whole scenario: I want to extend the Internet Sales application to be able to select a cost center in the basket and save this cost center in a settlement rule in the order in R/3. So an automatic generation of a settlement rule is not possible, because I don't know the cost center in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I want to do this from Internet Sales, I have to implement a function module, because it's very easy to call this function module from Internet Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 18:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-settlement-rule-for-an-order-with-a-function-module/m-p/2086413#M433313</guid>
      <dc:creator>fabian_huber</dc:creator>
      <dc:date>2007-03-28T18:48:13Z</dc:date>
    </item>
  </channel>
</rss>

