<?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: Pro-rationing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pro-rationing/m-p/4293295#M1024149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what has been used for  CA01.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*tkomp-anz_tage ".(Number of days in a deadline)
*tkomp-anz_monate. " (Number of months in a deadline)
*tkomp-anz_jahre. " (Number of years in a deadline)
*tkomp-anz_wochen. " (Number of weeks in a deadline)
*Requested to round up to a full month or year.
* This is only for oil field
if tkomk-vkorg = 'CA01'.

  case tkomp-VKAUS .
    when 'Z08'.
      CALL FUNCTION 'ROUND'
        EXPORTING
          DECIMALS = 0
          INPUT    = tkomp-anz_monate
          SIGN     = '+'
        IMPORTING
          OUTPUT   = tkomp-anz_monate
        EXCEPTIONS
          OTHERS   = 1.
    when 'Z09'.
      CALL FUNCTION 'ROUND'
        EXPORTING
          DECIMALS = 0
          INPUT    = tkomp-anz_jahre
          SIGN     = '+'
        IMPORTING
          OUTPUT   = tkomp-anz_jahre
        EXCEPTIONS
          OTHERS   = 1.
  endcase.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;SO do i use the same for CA02 too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Aug 2008 17:29:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-08T17:29:33Z</dc:date>
    <item>
      <title>Pro-rationing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pro-rationing/m-p/4293294#M1024148</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 have a report in which the oilfield CA01 which does not use prorationing as they have daily , monthly and yearly invoicing options. When a contract is created (VA41) there is an option to choose 'Usage' that should choose the pricing for the invoice . If the billing plan is set up for less than a full period of the chosen usage(i.e 20 days with usage set as a month) the invoice will come out pro-rated (20x 1/30th of a month). So this  pro-rationing was removed for CA01 so that invoice for full period can be done. Now I have to remove the pro-rationing for CA02 also , &lt;/P&gt;&lt;P&gt;The following include was used to pro-rate CA01 , my question is to pro-rate do I use the same method to do for CA02 also, as I am not very sure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 20:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pro-rationing/m-p/4293294#M1024148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T20:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pro-rationing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pro-rationing/m-p/4293295#M1024149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what has been used for  CA01.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*tkomp-anz_tage ".(Number of days in a deadline)
*tkomp-anz_monate. " (Number of months in a deadline)
*tkomp-anz_jahre. " (Number of years in a deadline)
*tkomp-anz_wochen. " (Number of weeks in a deadline)
*Requested to round up to a full month or year.
* This is only for oil field
if tkomk-vkorg = 'CA01'.

  case tkomp-VKAUS .
    when 'Z08'.
      CALL FUNCTION 'ROUND'
        EXPORTING
          DECIMALS = 0
          INPUT    = tkomp-anz_monate
          SIGN     = '+'
        IMPORTING
          OUTPUT   = tkomp-anz_monate
        EXCEPTIONS
          OTHERS   = 1.
    when 'Z09'.
      CALL FUNCTION 'ROUND'
        EXPORTING
          DECIMALS = 0
          INPUT    = tkomp-anz_jahre
          SIGN     = '+'
        IMPORTING
          OUTPUT   = tkomp-anz_jahre
        EXCEPTIONS
          OTHERS   = 1.
  endcase.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;SO do i use the same for CA02 too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 17:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pro-rationing/m-p/4293295#M1024149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-08T17:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Pro-rationing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pro-rationing/m-p/4293296#M1024150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 18:06:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pro-rationing/m-p/4293296#M1024150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-13T18:06:13Z</dc:date>
    </item>
  </channel>
</rss>

