<?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 Re: Problem calling VBSscript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333505#M1991691</link>
    <description>&lt;P&gt;below all the tests I did:&lt;/P&gt;&lt;P&gt;- created simple script and executed correctly&lt;BR /&gt;- verified that the parameters are correctly executed with quotation marks&lt;BR /&gt;- the same script, if executed hardcoded on SAP, goes in error. via Promt command works correctly&lt;/P&gt;&lt;P&gt;Server side, the only behavior I see is that WINWORD.EXE appears in the task management ...... but it stays in "running" state .... without doing anything. &lt;/P&gt;&lt;P&gt;Line 43 is the one that does not execute correctly .... it goes into error .. and I don't know what to do anymore.&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Mar 2021 08:17:39 GMT</pubDate>
    <dc:creator>former_member736811</dc:creator>
    <dc:date>2021-03-23T08:17:39Z</dc:date>
    <item>
      <title>Problem calling VBSscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333501#M1991687</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I have a problem calling an external command via CALL FUNCTION '&lt;STRONG&gt;SXPG_CALL_SYSTEM&lt;/STRONG&gt;'.&lt;/P&gt;
  &lt;P&gt;the command I execute is a &lt;STRONG&gt;visual basic&lt;/STRONG&gt; script that opens an html file and exports it as a microsoft word file.&lt;BR /&gt;The same script, if executed directly from the server (command line) using the same SAP user (SAPserviceSID) is executed correctly.&lt;/P&gt;
  &lt;P&gt;Therefore the authorization permission problems are already solved.&lt;/P&gt;
  &lt;P&gt;Below the log of the function:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1904182-8pxk9.png" /&gt;&lt;/P&gt;
  &lt;P&gt;The script runs but crashes on the &lt;STRONG&gt;&lt;EM&gt;Documents.OPEN&lt;/EM&gt;&lt;/STRONG&gt; statement. Below the instruction (row 42):&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1904183-5kqea.png" /&gt;&lt;/P&gt;
  &lt;P&gt;would anyone be able to give me suggestions to solve the problem?&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Davide&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 12:28:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333501#M1991687</guid>
      <dc:creator>former_member736811</dc:creator>
      <dc:date>2021-03-22T12:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling VBSscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333502#M1991688</link>
      <description>&lt;P&gt;Are you telling us that you have MS Word installed on the server?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 16:27:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333502#M1991688</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-03-22T16:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling VBSscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333503#M1991689</link>
      <description>&lt;P&gt;yes, microsoft office is reg. installed on the server. As I said before, if I run the script.vbs from command promt, the script works fine. Only if I run it from SAP (abap or .... test script via SM69) it doesn't work.&lt;/P&gt;&lt;P&gt;Regs.,&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 17:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333503#M1991689</guid>
      <dc:creator>former_member736811</dc:creator>
      <dc:date>2021-03-22T17:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling VBSscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333504#M1991690</link>
      <description>&lt;P&gt;Did you make sure there is only one application server?&lt;/P&gt;&lt;P&gt;Are you sure you are passing the parameters correctly? Did you pass quotes around Word file parameter in case it contains spaces (see note &lt;A href="https://launchpad.support.sap.com/#/notes/1152084/E"&gt;1152084 - Parameter for external commands&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Did you test with a very simple VBS file without any parameter/variable, do you create a Word document?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 19:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333504#M1991690</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-03-22T19:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling VBSscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333505#M1991691</link>
      <description>&lt;P&gt;below all the tests I did:&lt;/P&gt;&lt;P&gt;- created simple script and executed correctly&lt;BR /&gt;- verified that the parameters are correctly executed with quotation marks&lt;BR /&gt;- the same script, if executed hardcoded on SAP, goes in error. via Promt command works correctly&lt;/P&gt;&lt;P&gt;Server side, the only behavior I see is that WINWORD.EXE appears in the task management ...... but it stays in "running" state .... without doing anything. &lt;/P&gt;&lt;P&gt;Line 43 is the one that does not execute correctly .... it goes into error .. and I don't know what to do anymore.&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 08:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333505#M1991691</guid>
      <dc:creator>former_member736811</dc:creator>
      <dc:date>2021-03-23T08:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem calling VBSscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333506#M1991692</link>
      <description>&lt;P&gt;another useful information.
On another project | Client, the same ABAP tool calling the same script .... run correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 08:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-calling-vbsscript/m-p/12333506#M1991692</guid>
      <dc:creator>former_member736811</dc:creator>
      <dc:date>2021-03-23T08:19:40Z</dc:date>
    </item>
  </channel>
</rss>

