<?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 Every single time I try to use Java it wont work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/every-single-time-i-try-to-use-java-it-wont-work/m-p/13852073#M2038899</link>
    <description>&lt;P&gt;I cant find anywhere in the tutorials where it shows you how to use the formulas or Java. I just want to be able to use some of my Java script but it never works. I cannot even use the Java node to make a simple log.console message.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2024 02:23:27 GMT</pubDate>
    <dc:creator>StacksIndeed</dc:creator>
    <dc:date>2024-09-03T02:23:27Z</dc:date>
    <item>
      <title>Every single time I try to use Java it wont work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/every-single-time-i-try-to-use-java-it-wont-work/m-p/13852073#M2038899</link>
      <description>&lt;P&gt;I cant find anywhere in the tutorials where it shows you how to use the formulas or Java. I just want to be able to use some of my Java script but it never works. I cannot even use the Java node to make a simple log.console message.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 02:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/every-single-time-i-try-to-use-java-it-wont-work/m-p/13852073#M2038899</guid>
      <dc:creator>StacksIndeed</dc:creator>
      <dc:date>2024-09-03T02:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Every single time I try to use Java it wont work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/every-single-time-i-try-to-use-java-it-wont-work/m-p/13852229#M2038900</link>
      <description>&lt;P&gt;Is this a real post? If it is, can you explain what you are talking about -- what tool, what error you get, screenshot?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 06:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/every-single-time-i-try-to-use-java-it-wont-work/m-p/13852229#M2038900</guid>
      <dc:creator>Dan_Wroblewski</dc:creator>
      <dc:date>2024-09-03T06:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Every single time I try to use Java it wont work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/every-single-time-i-try-to-use-java-it-wont-work/m-p/13852372#M2038901</link>
      <description>&lt;P&gt;Check this link for formulas:&amp;nbsp;&lt;A href="https://help.sap.com/docs/build-apps/service-guide/formula-functions" target="_blank"&gt;https://help.sap.com/docs/build-apps/service-guide/formula-functions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For Java example create a button and&amp;nbsp; go into the logic section for the button. Drag over the Javascript node at the bottom and hook up the component tap to the node. Double click the node and replace the sample code in there with console.log('Hello world');&lt;BR /&gt;&lt;BR /&gt;Run it using the preview on the web, open the console log in the browser and tap the button.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 07:58:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/every-single-time-i-try-to-use-java-it-wont-work/m-p/13852372#M2038901</guid>
      <dc:creator>srose99</dc:creator>
      <dc:date>2024-09-03T07:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Every single time I try to use Java it wont work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/every-single-time-i-try-to-use-java-it-wont-work/m-p/13852837#M2038902</link>
      <description>&lt;P&gt;It's console.log().&lt;/P&gt;&lt;P&gt;I created a test app, with button that runs a JavaScript flow function.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Wroblewski_1-1725361368405.png" style="width: 671px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/161631i10C1E5DA27F75F70/image-dimensions/671x685?v=v2" width="671" height="685" role="button" title="Dan_Wroblewski_1-1725361368405.png" alt="Dan_Wroblewski_1-1725361368405.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The JavaScript includes console.log output, plus it returns some info based on the input.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Wroblewski_3-1725361457982.png" style="width: 1193px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/161633i072FAC9D4F8F8702/image-dimensions/1193x525?v=v2" width="1193" height="525" role="button" title="Dan_Wroblewski_3-1725361457982.png" alt="Dan_Wroblewski_3-1725361457982.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When you run it and click the button, the console message can be seen.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Wroblewski_0-1725361296512.png" style="width: 870px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/161626i188020F8963081D4/image-dimensions/870x423?v=v2" width="870" height="423" role="button" title="Dan_Wroblewski_0-1725361296512.png" alt="Dan_Wroblewski_0-1725361296512.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The console message will be displayed even if the JavaScript crashes, as in this case, where I did not do anything but print out a console message and did not provide the output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Wroblewski_4-1725361599193.png" style="width: 895px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/161636iC39A412E9F28DA45/image-dimensions/895x435?v=v2" width="895" height="435" role="button" title="Dan_Wroblewski_4-1725361599193.png" alt="Dan_Wroblewski_4-1725361599193.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 11:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/every-single-time-i-try-to-use-java-it-wont-work/m-p/13852837#M2038902</guid>
      <dc:creator>Dan_Wroblewski</dc:creator>
      <dc:date>2024-09-03T11:08:19Z</dc:date>
    </item>
  </channel>
</rss>

