<?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: Personas 3 script issues while calling a custom RFC-e... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaa-p/13882092#M4886049</link>
    <description>This is awesome! Thanks!</description>
    <pubDate>Sun, 29 Sep 2024 21:17:49 GMT</pubDate>
    <dc:creator>NPPD_DJWIEBE</dc:creator>
    <dc:date>2024-09-29T21:17:49Z</dc:date>
    <item>
      <title>Personas 3 script issues while calling a custom RFC-enable function module</title>
      <link>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaq-p/13606204</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a simple requirement to read the company code and posting date from the screen, execute a custom function module and output fiscal year and fiscal period for information on customized FB01 transaction screen. The FM is very simple:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Groovy_0-1707986379480.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/65787i81731AB300EC7160/image-size/medium?v=v2&amp;amp;px=400" alt="Groovy_0-1707986379480.png" title="Groovy_0-1707986379480.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, when getting to the script in SAP Personas i have several issues:&lt;/P&gt;&lt;P&gt;1. When trying to pass the parameter the issue is the syntax error below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Groovy_1-1707986561407.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/65790iC3B24AA653C72723/image-dimensions/745x336?v=v2" alt="Groovy_1-1707986561407.png" title="Groovy_1-1707986561407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;While i can correct it by converting the input parameters .toString&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FmCall&lt;/SPAN&gt;&lt;SPAN&gt;.setParameter(&lt;/SPAN&gt;&lt;SPAN&gt;"I_BUKRS"&lt;/SPAN&gt;&lt;SPAN&gt;, companyCode.toString);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FmCall&lt;/SPAN&gt;&lt;SPAN&gt;.setParameter(&lt;/SPAN&gt;&lt;SPAN&gt;"I_BUDAT"&lt;/SPAN&gt;&lt;SPAN&gt;, postingDate.toString);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;then comes issue 2:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Groovy_2-1707986988098.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/65795iB384CA1DF5B95584/image-dimensions/888x271?v=v2" alt="Groovy_2-1707986988098.png" title="Groovy_2-1707986988098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help with the script is highly appreciated. Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 08:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaq-p/13606204</guid>
      <dc:creator>Groovy</dc:creator>
      <dc:date>2024-02-15T08:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Personas 3 script issues while calling a custom RFC-e...</title>
      <link>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaa-p/13607308#M4818448</link>
      <description>&lt;P&gt;At first glance, your script looks OK.&lt;/P&gt;&lt;P&gt;Then, the ubiquitous questions: Which Personas SP are you running, and do you have an all-green note check list in Health Check, with every available relevant note implemented?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 01:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaa-p/13607308#M4818448</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2024-02-16T01:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Personas 3 script issues while calling a custom RFC-e...</title>
      <link>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaa-p/13608582#M4818619</link>
      <description>&lt;P&gt;Tamas,&lt;/P&gt;&lt;P&gt;Thank you for your reply. I got it to work in the most weird way - i just adopted the template RFC call, that's it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Groovy_0-1708168295839.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/66848i1820CA0D6B00C094/image-dimensions/723x300?v=v2" alt="Groovy_0-1708168295839.png" title="Groovy_0-1708168295839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Defeats my imagination as to why it would start working while a manually written code, different only in some var names, doesn't. Inasmuch as i hate those 'automagical' solutions, the solution now works. The SAP-JS interpreter still tells me there's a syntax error but the code works and returns the desired values.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Groovy_1-1708168440843.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/66854i0A3B93B83530F44C/image-dimensions/701x192?v=v2" alt="Groovy_1-1708168440843.png" title="Groovy_1-1708168440843.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Go figure.&lt;/P&gt;&lt;P&gt;Merci&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Feb 2024 11:15:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaa-p/13608582#M4818619</guid>
      <dc:creator>Groovy</dc:creator>
      <dc:date>2024-02-17T11:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Personas 3 script issues while calling a custom RFC-e...</title>
      <link>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaa-p/13608583#M4818620</link>
      <description>Tamas, posted a reply as an answer to my own message.</description>
      <pubDate>Sat, 17 Feb 2024 11:16:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaa-p/13608583#M4818620</guid>
      <dc:creator>Groovy</dc:creator>
      <dc:date>2024-02-17T11:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Personas 3 script issues while calling a custom RFC-e...</title>
      <link>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaa-p/13882092#M4886049</link>
      <description>This is awesome! Thanks!</description>
      <pubDate>Sun, 29 Sep 2024 21:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/personas-3-script-issues-while-calling-a-custom-rfc-enable-function-module/qaa-p/13882092#M4886049</guid>
      <dc:creator>NPPD_DJWIEBE</dc:creator>
      <dc:date>2024-09-29T21:17:49Z</dc:date>
    </item>
  </channel>
</rss>

