<?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: #Error getting last refresh variable for few users in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaa-p/14205838#M4924980</link>
    <description>&lt;P&gt;Why are you using &lt;STRONG&gt;ToDate&lt;/STRONG&gt;() ?&lt;BR /&gt;The result is already a date, so there's no need to convert it again.&lt;BR /&gt;&lt;BR /&gt;Instead, use &lt;STRONG&gt;FormatDate&lt;/STRONG&gt; to display the output in the desired format (M/d/yy).&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;</description>
    <pubDate>Wed, 03 Sep 2025 10:16:56 GMT</pubDate>
    <dc:creator>ayman_salem</dc:creator>
    <dc:date>2025-09-03T10:16:56Z</dc:date>
    <item>
      <title>#Error getting last refresh variable for few users</title>
      <link>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaq-p/14205512</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;in Webi report we are faccing #error greeting last refreshing variable for Few user's (UK). same report working my side and few users (US). i have checked in&amp;nbsp; universe side no any level of data security. if remove the&amp;nbsp;ToDate is working (UK user's).&amp;nbsp; so help on this .&lt;/P&gt;&lt;P&gt;Last refresh date&amp;nbsp; logic below :&lt;/P&gt;&lt;P&gt;* [TRC Plan] is data provider name only&lt;/P&gt;&lt;P&gt;=ToDate((If LastExecutionDate([TRC Plan])=RelativeDate(LastDayOfMonth(CurrentDate());-1;MonthPeriod )&lt;BR /&gt;Or LastExecutionDate([TRC Plan])=RelativeDate(LastDayOfMonth(CurrentDate());0;MonthPeriod )&lt;BR /&gt;Then RelativeDate(LastExecutionDate([TRC Plan]);1;DayPeriod )&lt;BR /&gt;Else LastExecutionDate([TRC Plan]));"M/d/yy")&lt;/P&gt;&lt;P&gt;inside logic i extract individual&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ramesh19_0-1756880497078.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/308311i05BC3193065051BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ramesh19_0-1756880497078.png" alt="Ramesh19_0-1756880497078.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 06:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaq-p/14205512</guid>
      <dc:creator>Ramesh19</dc:creator>
      <dc:date>2025-09-03T06:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: #Error getting last refresh variable for few users</title>
      <link>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaa-p/14205838#M4924980</link>
      <description>&lt;P&gt;Why are you using &lt;STRONG&gt;ToDate&lt;/STRONG&gt;() ?&lt;BR /&gt;The result is already a date, so there's no need to convert it again.&lt;BR /&gt;&lt;BR /&gt;Instead, use &lt;STRONG&gt;FormatDate&lt;/STRONG&gt; to display the output in the desired format (M/d/yy).&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 10:16:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaa-p/14205838#M4924980</guid>
      <dc:creator>ayman_salem</dc:creator>
      <dc:date>2025-09-03T10:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: #Error getting last refresh variable for few users</title>
      <link>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaa-p/14207503#M4925177</link>
      <description>&lt;P&gt;What version of BusinessObjects are you using?&lt;/P&gt;&lt;P&gt;We are testing &lt;STRONG&gt;4.3, SP4, Patch 13&lt;/STRONG&gt; and are finding the &lt;STRONG&gt;#ERROR&lt;/STRONG&gt; message is appearing in places that work fine in 4.3, SP4, &lt;STRONG&gt;Patch 7&lt;/STRONG&gt;.&amp;nbsp; Our fix is to correct the formula.&amp;nbsp; In our situation, the formula that is working in Patch 7 (&lt;U&gt;it&amp;nbsp;is surprising that it works in Patch 7)&lt;/U&gt; because it includes an "In()" context crossing two queries, one object from one query and one object from another query.&amp;nbsp; The two queries are MERGED but it is odd the developer did this in the formula.&amp;nbsp; Not sure why Patch 7 worked with this but fixing the formula to use objects from the same query in the "In()" context fixed our issue.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 13:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaa-p/14207503#M4925177</guid>
      <dc:creator>MichaelGrackin</dc:creator>
      <dc:date>2025-09-04T13:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: #Error getting last refresh variable for few users</title>
      <link>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaa-p/14207524#M4925180</link>
      <description>&lt;P&gt;Also note, with 4.3, SP4, Patch 13 we have also encountered the #ERROR message in schedule results as Excel but the results appear fine when the document is viewed in BI Launchpad. Very odd.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 13:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaa-p/14207524#M4925180</guid>
      <dc:creator>MichaelGrackin</dc:creator>
      <dc:date>2025-09-04T13:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: #Error getting last refresh variable for few users</title>
      <link>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaa-p/14211839#M4925694</link>
      <description>&lt;P&gt;Hi Ramesh, we have been facing with same issue almost 2 years ago, had a call with SAP and they tried to convict me thats logical and working as expected...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create the variable similar to mine:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;=If GetPreferredViewingLocale() = "pl_PL" 
Then Replace([cost];" ";"")
ElseIf GetPreferredViewingLocale() = "en_US" 
Then Replace(Replace(Replace([cost];" ";"");",";"");".";",")&lt;/LI-CODE&gt;&lt;P&gt;But in your case you have to force SAP BO to read correct Date Format. Diffrent for en_US and diffrent for en_UK.&lt;BR /&gt;&lt;BR /&gt;Hope that will help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 09:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-getting-last-refresh-variable-for-few-users/qaa-p/14211839#M4925694</guid>
      <dc:creator>bekart</dc:creator>
      <dc:date>2025-09-09T09:54:30Z</dc:date>
    </item>
  </channel>
</rss>

