<?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: Custom Function Causing Crashing in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347246#M4624072</link>
    <description>&lt;P&gt;Indeed, the installation of Support Pack 1 does not solve the problem with custom report functions!!!! 
It is still impossible to edit them.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2021 05:16:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2021-02-12T05:16:36Z</dc:date>
    <item>
      <title>Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaq-p/12347236</link>
      <description>&lt;P&gt;I created a custom function and ever since then the entire application crashes when inside the formula editor. I thought maybe it was a problem with the function so I managed to save it as this:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;Function ()
""&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;It should not be causing a problem at this point. The application crashes 100% of the time if I click on the custom function once to open it and then a second time. It also crashes 100% of the time if I right click on the function. It's really annoying and I just want to delete the function but the option to delete it is grayed out on the toolbar and like I said, the application crashes when I right click on the function. See Crystal Reports version info below.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1877548-capture.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 07:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaq-p/12347236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-01-17T07:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347237#M4624063</link>
      <description>&lt;P&gt;I have the same problem (.  The version is also the same.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 08:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347237#M4624063</guid>
      <dc:creator>former_member1130374</dc:creator>
      <dc:date>2021-01-21T08:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347238#M4624064</link>
      <description>&lt;P&gt;CR 2020 is a 64 bit only version, meaning your custom function may need to be update to that platform.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 15:20:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347238#M4624064</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2021-01-22T15:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347239#M4624065</link>
      <description>&lt;P&gt;Hello Don,&lt;/P&gt;&lt;P&gt;Thank you for your reply, but, unfortunately, there is the real problem with this functionaly in CR2020. Here is a step-by-step description to reproduce it.&lt;/P&gt;&lt;P&gt;1. Create an empty report.&lt;/P&gt;&lt;P&gt;2. Add a simple query from any Oracle DS. In my case it was  "Select 'test' as s_field from dual"&lt;/P&gt;&lt;P&gt;3. Add this field to this report layout. We see 'test'.&lt;/P&gt;&lt;P&gt;4. Add a new formula to this report. For example: &lt;STRONG&gt;fr_new&lt;/STRONG&gt;. A formaule editor window will be opened. There we add a custom report function, f.e. &lt;STRONG&gt;crf_test&lt;/STRONG&gt;. Here it is its code: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Function (StringVar c_in)
(
  StringVar c_out;


  c_out := 'test crf result';
);
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;5. Add to your data fomula &lt;STRONG&gt;fr_new&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;crf_test ({Команда.S_FIELD});&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;6. Save and Close the editor.&lt;/P&gt;&lt;P&gt;7. Place this data formula to the layout.&lt;/P&gt;&lt;P&gt;8. Now there are two labels - 'test' and 'test crf result'&lt;/P&gt;&lt;P&gt;9. Edit the &lt;STRONG&gt;fr_new &lt;/STRONG&gt;formula. The formula editor is opened.&lt;/P&gt;&lt;P&gt;10. Select your custom report function &lt;B&gt;crf_test &lt;/B&gt;from the left tree.&lt;/P&gt;&lt;P&gt;11. The text of this function will be shown for a couple of seconds and CR 2020 is closed without any messages.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 05:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347239#M4624065</guid>
      <dc:creator>former_member1130374</dc:creator>
      <dc:date>2021-01-25T05:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347240#M4624066</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Some steps seem to be missing, I can't add a "function".&lt;/P&gt;&lt;P&gt;How are you connecting to Oracle, ODBC, CR Native Oracle or OLE DB?&lt;/P&gt;&lt;P&gt;Are you using a Command Object to enter the SQL into or is it something on the Oracle you are using?&lt;/P&gt;&lt;P&gt;Is that function referring to an Oracle Function?&lt;/P&gt;&lt;P&gt;And connecting to Dual where did this field come from?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;({Команда.S_FIELD});
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 21:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347240#M4624066</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2021-01-27T21:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347241#M4624067</link>
      <description>&lt;P&gt;Hello Don,&lt;/P&gt;&lt;P&gt;Let's simplify the steps. This time, it is without any connections to data sources...&lt;/P&gt;&lt;P&gt;1. Create a blank report. On prompting to select a data source connection just press Finish.&lt;/P&gt;&lt;P&gt;2. Create new formula, enter any valid name, f.e. &lt;STRONG&gt;fr_new&lt;/STRONG&gt;&lt;B&gt;.&lt;/B&gt;  &lt;/P&gt;&lt;P&gt;3. When the formula editor window is opened, right click on the Custom Report Functions and select Create... option. &lt;/P&gt;&lt;P&gt;4. Enter any valid name, f.e. &lt;B&gt;crf_test &lt;/B&gt;and add there f.e. this code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Function()
(
  'test crf result';
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;then Press Save button in the formula editor window&lt;/P&gt;&lt;P&gt;5. Edit the &lt;STRONG&gt;fr_new &lt;/STRONG&gt;formula, by adding&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;crf_test;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; then Press Save and Close in the formula editor window.&lt;/P&gt;&lt;P&gt;6. Add the newly created formula &lt;STRONG&gt;fr_new&lt;/STRONG&gt; to your blank report. The string &lt;STRONG&gt;test crf result&lt;/STRONG&gt; will be displayed on the report preview.&lt;/P&gt;&lt;P&gt;7. Now, edit &lt;STRONG&gt;fr_new&lt;/STRONG&gt;. When the formula editor window is opened, select your custom report function &lt;B&gt;crf_test &lt;/B&gt;from the left tree.&lt;/P&gt;&lt;P&gt;8. The text of this function will be shown for a couple of seconds and CR 2020 is closed without any messages.&lt;/P&gt;&lt;P&gt;Hope it will help you to reproduce this issue.&lt;/P&gt;&lt;P&gt;Best regards, Max Barybin&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 08:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347241#M4624067</guid>
      <dc:creator>former_member1130374</dc:creator>
      <dc:date>2021-01-28T08:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347242#M4624068</link>
      <description>&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;Thanks, that helped a lot...&lt;/P&gt;&lt;P&gt;#8 - It works for me:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1881500-suc7d.png" /&gt;&lt;/P&gt;&lt;P&gt;I am using SP 1 though...&lt;/P&gt;&lt;P&gt;See if upgrading to SP 1 resolves your issue:&lt;/P&gt;&lt;P&gt;&lt;A href="https://origin.softwaredownloads.sap.com/public/site/index.html" target="test_blank"&gt;https://origin.softwaredownloads.sap.com/public/site/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If it doesn't I would check your install, be sure to install CRD under a local Admin account.&lt;/P&gt;&lt;P&gt;And check your Anti-virus logs, it could possibly be blocking access to something CRD needs.&lt;/P&gt;&lt;P&gt;Try adding crw32.exe to the trusted list and the folders also:&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\SAP BusinessObjects&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 14:34:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347242#M4624068</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2021-01-28T14:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347243#M4624069</link>
      <description>&lt;P&gt;Hello Don,&lt;/P&gt;&lt;P&gt;Thanks for your quick reply. In my previous steps &lt;/P&gt;&lt;P&gt;I meant the very left tree, there you should expand the Report Custom Function node (marked with Red mark).&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1880487-1881500-suc7d-new.png" /&gt;&lt;/P&gt;&lt;P&gt;After that, you should select the crf_test item to view its code.&lt;/P&gt;&lt;P&gt;As for the SP1, thanks a lot, I'll try to install it these dayoffs and let you know the result.&lt;/P&gt;&lt;P&gt;Best regards, Max Barybin&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 15:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347243#M4624069</guid>
      <dc:creator>former_member1130374</dc:creator>
      <dc:date>2021-01-28T15:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347244#M4624070</link>
      <description>&lt;P&gt;The same problem &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; CR2020 closes without any error message as soon as you try to expand the Report Custom Function node&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 15:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347244#M4624070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-01-29T15:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347245#M4624071</link>
      <description>&lt;P&gt;Hello Don,&lt;/P&gt;&lt;P&gt;Unfortunately, the Support Pack 1 &lt;STRONG&gt;DOES NOT&lt;/STRONG&gt; solve this issue.&lt;/P&gt;&lt;P&gt;The problem still exists.&lt;/P&gt;&lt;P&gt;Please, read my previous comment to reproduce it. Pay special attention to the tree with Red mark.&lt;/P&gt;&lt;P&gt;Best regards, Max.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 05:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347245#M4624071</guid>
      <dc:creator>former_member1130374</dc:creator>
      <dc:date>2021-02-04T05:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347246#M4624072</link>
      <description>&lt;P&gt;Indeed, the installation of Support Pack 1 does not solve the problem with custom report functions!!!! 
It is still impossible to edit them.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 05:16:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347246#M4624072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-02-12T05:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347247#M4624073</link>
      <description>&lt;P&gt;Service Pack 1 Patch 2 solved this problem for me.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 21:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347247#M4624073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-04-26T21:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347248#M4624074</link>
      <description>&lt;P&gt;Thanks a lot, Peter!&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 03:57:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347248#M4624074</guid>
      <dc:creator>former_member1130374</dc:creator>
      <dc:date>2021-04-27T03:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347249#M4624075</link>
      <description>&lt;P&gt;Indeed, after installing all the patches - the problem has gone! Peter, thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 03:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347249#M4624075</guid>
      <dc:creator>former_member1130374</dc:creator>
      <dc:date>2021-05-04T03:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347250#M4624076</link>
      <description>&lt;P&gt;Correct, you can't edit the function from the Formula Fields list box.&lt;/P&gt;&lt;P&gt;Expand Report Custom Functions and then it will list what you see in Formula Fields.&lt;/P&gt;&lt;P&gt;Click on the function and the editor opens up:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1919075-untitled.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 13:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347250#M4624076</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2021-05-05T13:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Causing Crashing</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347251#M4624077</link>
      <description>&lt;P&gt;Hi Don,&lt;/P&gt;&lt;P&gt;That was the point of this issue. Before the Service Pack 1 Patch 2 was installed, the Crystal Reports 2020 crushed when a function was being selected in the Expanded Reports Custom Functions section. Now it works correctly. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 14:37:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-function-causing-crashing/qaa-p/12347251#M4624077</guid>
      <dc:creator>former_member1130374</dc:creator>
      <dc:date>2021-05-05T14:37:41Z</dc:date>
    </item>
  </channel>
</rss>

