on 04-20-2011 10:59 AM
Hi, I have a problem with the acfexecute method.
I am trying to open Word normally, as presented in the WD_TEST_APPL_ACFEXECUTE example. The WebDynpro compiles and runs without any errors, but Word doesn't start. I tried this on both a 7.01 and a 7.02 Netweaver, both times creating the whitelist and my own WebDynpro from scratch.
The whitelist code is as follows:
NW 7.01:
<?xml version="1.0" encoding="utf-8" ?>
- <frontendServices version="7.0.0.0">
- <execute>
- <application path="$windir$/system32/notepad.exe">
- <parameter position="01" type="STRING">
<legalValue>*.asc</legalValue>
<legalValue>*.txt</legalValue>
</parameter>
</application>
</execute>
</frontendServices>
NW 7.02:
<?xml version="1.0" encoding="utf-8" ?>
- <SAP>
<type>SAP object rules</type>
<version>1.0</version>
<timestamp>04/20/2011 02:54:32</timestamp>
- <configuration>
<rule_set_priority>0</rule_set_priority>
</configuration>
- <rules>
- <rule id="1">
- <file_extensions>
<name>*.exe</name>
<name>*.txt</name>
</file_extensions>
<enabled>1</enabled>
<action>0</action>
</rule>
- <rule id="2">
- <file>
<name>[ENV:windir]\explorer.exe</name>
- <parameter position="01" type="STRING">
<legalValue>*</legalValue>
</parameter>
</file>
- <file>
<name>%systemroot%\notepad.exe</name>
- <parameter position="01" type="STRING">
<legalValue>*.txt</legalValue>
<legalValue>*asp</legalValue>
</parameter>
</file>
<enabled>1</enabled>
<action>0</action>
</rule>
</rules>
</SAP>
The WebDynpro coding is basically a copy from WD_TEST_APPL_ACFEXECUTE.
I've run out of ideas on what might be the problem. Any suggestions?
Thanks,
Christian
IS the standard application itself works WD_TEST_APPL_ACFEXECUTE ?
You also need Java 6 Update 12 or higher in your PC.
See the sap note 1178747
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
has you problem been solved in the meantime? I'm asking because I'm facing a similar problem. When I test WD_TEST_APPL_ACFEXECUTE it only works when I'm logged in as a local admin user in Windows (which is acutally not allowed in my company.....) and with Java 5.5. Neither Java 6 nor Java 7 do work. When I click on the notepad button when logged in with my proper Windows user nothing happend and the log shows 0 errors.....
I have checked the active scripting options in my IEx 8. They are set according to the SAP notes I found..... We are using Netweaver 7.01 SP5.
Regards, Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.