cancel
Showing results for 
Search instead for 
Did you mean: 

Acfexecute doesn't start the requested program

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

I'm using Java Version 6 Update 24.

And no, the application WD_TEST_APPL_ACFEXECUTE doesn't work on either system. Even the save-certificate button from the 7.02 version doesn't seem to work..

Answers (1)

Answers (1)

michael_schmalfeldt2
Participant
0 Kudos

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