<?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>Question Re: Business Rule : How can I round the amount into integ... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/business-rule-how-can-i-round-the-amount-into-integer-number/qaa-p/14027050#M4904840</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1803189"&gt;@Napat_Iamlaor&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think your requirement will be possible with look up table and business rule.&lt;/P&gt;&lt;P&gt;1. Create a look up in object definition to define the Minimum Range and Maximum Rage then round to defined number.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Example:- Minimum Range:-&amp;nbsp;&lt;STRONG&gt;101,629.40&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Maximum Range:-&amp;nbsp;&lt;STRONG&gt;101,632.35&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Round to:-&amp;nbsp;101,630.00 (Defined number)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Create business rule using Look up function to validate the salary amount and set the condition to round as per the look up value definition.&lt;/P&gt;&lt;P&gt;Note:- You have define the look up logic for all the number range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2025 12:28:01 GMT</pubDate>
    <dc:creator>ArunSuresh3</dc:creator>
    <dc:date>2025-02-25T12:28:01Z</dc:date>
    <item>
      <title>Business Rule : How can I round the amount into integer number</title>
      <link>https://community.sap.com/t5/technology-q-a/business-rule-how-can-i-round-the-amount-into-integer-number/qaq-p/13953405</link>
      <description>&lt;P&gt;Hi Expert,&lt;/P&gt;&lt;P&gt;I have a business case in order to round the amount of Salary to integer number by using Business Rule in SuccessFactors to apply for this logic&lt;/P&gt;&lt;P&gt;for example case,&lt;/P&gt;&lt;P&gt;1. If employee has salary in&amp;nbsp;&lt;SPAN&gt;ones position from 0.1 - 2.4 (Rank 1) they would like to round down to zero with no digit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For Example 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1.1 If Employee has Salary&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;2.40&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;THB, They would like to show this amount as&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;0.00&lt;/U&gt;&lt;/STRONG&gt; THB&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1.2 If Employee has Salary&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;2.35&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;THB, They would like to show this amount as&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;0.00&lt;/U&gt;&lt;/STRONG&gt; THB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. If employee has salary in&amp;nbsp;&lt;SPAN&gt;ones position from 2.5 - 7.4 (Rank 2) they would like to round to 5 with no digit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For Example2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;2.1&amp;nbsp;If Employee has Salary&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;2.72&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;THB, They would like to show this amount as&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;5.00&lt;/U&gt;&lt;/STRONG&gt; THB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;2.2 If Employee has Salary&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;5.50&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;THB, They would like to show this amount as&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;5.00&lt;/U&gt;&lt;/STRONG&gt; THB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;2.3 Employee has Salary&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;7.20&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;THB, They would like to show this amount as&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;5.00&lt;/U&gt;&lt;/STRONG&gt; THB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. If employee has salary in&amp;nbsp;ones position from 7.5 (Rank 3) they would like to round to tens position with no digit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For Example 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;3.1. If Employee has Salary&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;7.50&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;THB, They would like to show this amount as&amp;nbsp;&lt;STRONG&gt;101,6&lt;U&gt;40.00&lt;/U&gt;&lt;/STRONG&gt; THB&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3.2 If Employee has Salary&amp;nbsp;&lt;STRONG&gt;101,63&lt;U&gt;8.50&lt;/U&gt;&lt;/STRONG&gt;&lt;U&gt;&amp;nbsp;&lt;/U&gt;THB, They would like to show this amount as&amp;nbsp;&lt;STRONG&gt;101,6&lt;U&gt;40.00&lt;/U&gt;&lt;/STRONG&gt; THB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="SAP SuccessFactors Platform" id="73555000100800000775"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 17:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/business-rule-how-can-i-round-the-amount-into-integer-number/qaq-p/13953405</guid>
      <dc:creator>Napat_Iamlaor</dc:creator>
      <dc:date>2024-12-02T17:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Business Rule : How can I round the amount into integ...</title>
      <link>https://community.sap.com/t5/technology-q-a/business-rule-how-can-i-round-the-amount-into-integer-number/qaa-p/14027050#M4904840</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1803189"&gt;@Napat_Iamlaor&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think your requirement will be possible with look up table and business rule.&lt;/P&gt;&lt;P&gt;1. Create a look up in object definition to define the Minimum Range and Maximum Rage then round to defined number.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Example:- Minimum Range:-&amp;nbsp;&lt;STRONG&gt;101,629.40&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Maximum Range:-&amp;nbsp;&lt;STRONG&gt;101,632.35&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Round to:-&amp;nbsp;101,630.00 (Defined number)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Create business rule using Look up function to validate the salary amount and set the condition to round as per the look up value definition.&lt;/P&gt;&lt;P&gt;Note:- You have define the look up logic for all the number range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 12:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/business-rule-how-can-i-round-the-amount-into-integer-number/qaa-p/14027050#M4904840</guid>
      <dc:creator>ArunSuresh3</dc:creator>
      <dc:date>2025-02-25T12:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Business Rule : How can I round the amount into integ...</title>
      <link>https://community.sap.com/t5/technology-q-a/business-rule-how-can-i-round-the-amount-into-integer-number/qaa-p/14219603#M4926534</link>
      <description>&lt;P&gt;I believe you can use the round option, follow the instructions on the link:&amp;nbsp;&lt;A href="https://help.sap.com/docs/successfactors-platform/implementing-business-rules-in-sap-successfactors/round?locale=en-US&amp;amp;version=LATEST" target="_blank" rel="noopener"&gt;https://help.sap.com/docs/successfactors-platform/implementing-business-rules-in-sap-successfactors/round?locale=en-US&amp;amp;version=LATEST&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are some examples of the combinations of precision and threshold you could use:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;TD&gt;Precision&lt;/TD&gt;&lt;TD&gt;Threshold&lt;/TD&gt;&lt;TD&gt;Result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;50,782.765&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;0.005&lt;/TD&gt;&lt;TD&gt;50,782.77&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;50,782.765&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0.05&lt;/TD&gt;&lt;TD&gt;50,782.80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;50,782.765&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0.5&lt;/TD&gt;&lt;TD&gt;50,783&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;50,782.765&lt;/TD&gt;&lt;TD&gt;-1&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;50,780&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;50,782.765&lt;/TD&gt;&lt;TD&gt;-2&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;50,800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;50,782.765&lt;/TD&gt;&lt;TD&gt;-3&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;51,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;50,782.765&lt;/TD&gt;&lt;TD&gt;-4&lt;/TD&gt;&lt;TD&gt;5000&lt;/TD&gt;&lt;TD&gt;50,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 17 Sep 2025 07:03:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/business-rule-how-can-i-round-the-amount-into-integer-number/qaa-p/14219603#M4926534</guid>
      <dc:creator>Alex_Monteverde</dc:creator>
      <dc:date>2025-09-17T07:03:53Z</dc:date>
    </item>
  </channel>
</rss>

