on 10-22-2008 7:36 AM
Hi experts,
I have a Web Dynpro, in which i am generating a txt-file. After press a button in the Web Dynpro, I want to start a software (p.a. MS-Excel) on an other system, which is using this txt-file.
Hase anybody an idea, how this can work?
Thanks a lot.
Regards,
Stephan
Hi Stephan,
i read your question and tried outthe posted security whitelist.
I encountred the Err. 250 as well while my own whitelist works perfectly with the sample application.
I will append a copy of my whitelist perhaps it solves your problem.
Regards,
Arne
<?xml version="1.0" encoding="utf-8"?><frontendServices version="7.0.0.0"><execute><application path="C:\WINDOWS\explorer.exe"><parameter position="01" type="STRING"/></application><application path="C:\Programme\Microsoft Office\OFFICE11\WINWORD.EXE"><parameter position="01" type="STRING"><illegalValue>.doc</illegalValue></parameter></application><application path="C:\Programme\Microsoft Office\OFFICE12\WINWORD.EXE"><parameter position="01" type="STRING"><illegalValue>.doc</illegalValue></parameter></application><application path="C:
WINDOWS
system32
notepad.exe"><parameter position="01" type="STRING"><legalValue>*.doc</legalValue></parameter></application><application path="C:\WINDOWS\system32\cmd.exe"><parameter position="01" type="STRING"/></application></execute></frontendServices>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is this "other system" that you want to start MS Excel on? Is it the client machine that is connected to the WDA application? Keep in mind that WDA is just a User Interface environment and that it runs in the internet browser - so it will have limited capabilities to access the client machine. There is the OfficeIntegration control and in 7.01 we have the AcfExecute UI element. Either of these could be used to interact with Excel running on the desktop of the client connected to the WDA application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
thanks for your answer and sorry for my late answer. Last time i had to work in an other project.
You are right, the other system is the client maschine which is connected to the wda application.
MS Excel is only an example. actually i should start a batch-file in the c-temp-folder on the client maschine.
Is there a chance to do this in the web dynpro?
Thank you very much.
Yes you can do this, but only with a new capability in Web Dynpro ABAP that came in NetWeaver 7.0 Enhancement Package 1. It is the new UI element called ACFExecute.
Here is the online help link for this new UI element:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/frameset.htm
During the Ramp-Up period, you must be part of the Ramp-Up program for a particular piece of software to receive shipment. Ramp-up is NOT beta software. It is the completed and production ready version of the software. SAP just likes a controlled rollout process for new versions of software - hence the Ramp-Up program to make sure that we a controller number of customers going live at first. Once the Ramp-Up program is over (Feb 2009) the software update will be generally available to all customers with maintenance contracts.
Hi Thomas,
since longe time a new question about the ACFExecute of me.
I think, now the ramp-up-shipment for Enhancement Package 1should be finnished.
So, can we install the package and these package includes the UI-element ACFExecute?
Where can I find a detailed documentation about this UI element?
Thanks one more for your help.
Greats Stephan
It is true that the ramp-up for NetWeaver 7.0 Enhp1 standalone did end March 13 and is now shipping with general availability. However NetWeaver 7.0 Enhp1 as the Application Server running underneith the Business Suite 7 (including ERP 6.0) is still in active Ramp-Up. So your ability to use NetWeaver 7.01 without the ramp-up program currently will depend upon your usage scenario.
Yes 7.01 does include acfExecute.
>Where can I find a detailed documentation about this UI element?
The online help documents this UI element and the setup procedures for the security:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/frameset.htm
Check OSS note 1178747 for the Java Client Side prerequisites
https://service.sap.com/sap/support/notes/1178747
There is an example application: WD_TEST_APPL_ACFEXECUTE
Once you get past the security setup of the whitelist, it is a farily easy UI element to use. Unlike most of the rest of the UI elements, ACFExecute isn't really a UI element. You interact with it directly via the class CL_WDR_ACFEXECUTE_HNDL ACF instead of placing a UI element on your layout.
Hi Thomas,
thanks once more for your fast answer.
For my better understanding i have to ask a dummy-question once more.
We are using SAP NetWeaver 7.0 with CRM 5.0 SP11. I think this is a aplication server.
Is it possible for this system to install the Enhp1?
If not, when will the Ramp-Up be finished?
Thanks,
Stephan
The ramp-up for standalone NetWeaver is complete. The ramp-up for NetWeaver running as part of the Business Suite 7 is still on going with a target completion of Q2 2009. I'm not as familiar with the CRM releases however. The release that is part of the Business Suite 7 umbrella is CRM 7.0. That is the release that I know runs on NetWeaver 7.01. I have my doubts if CRM 5.0 would run on 7.01 since they have the newer 7.0 release, but you would have to research the upgrade options for CRM.
Hi Thomas,
once more me.
Now we updated our system and I try to test the application WD_TEST_APPL_ACFEXECUTE, which you told me.
Further you wrote "Once you get past the security setup of the whitelist, it is a farily easy UI element to use....".
So my question is, how can I pass the security setup of the whitelist? If I chosse the option notepad, paint, word, missing application or forbidden application, nothing happens. If I choose "show log" I get the following error-message: "Erro: 250 no valid security whitelist on client".
What should I do to start and test the example application?
Thank you very much once more fpr your usefull helb.
Greats Stephan
From the online help:
The authorized servers and directories are listed in a white list (an administrator stores this information locally using transactions WDR_ACF_WLIST and ACF_WHITELIST_SETUP). If requests for access to directories or communication with servers are sent using HTTP or HTTPS, the control first checks whether this is allowed at all. It then compares the directories or servers in question with the data in the local white list file. It only executes the relevant methods if the authorization is set in the white list.
For more information see the SAP Reference Implementation Guide (IMG). In transaction SPRO, choose Display SAP Reference IMG. The path in the Implementation Guide for SAP NetWeaver is: Application Server ® Web Dynpro ABAP ® Set Up Whitelist for Active Controls and Activate Whitelist for Active Controls.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/frameset.htm
Hi Thomas,
thanks again for your help.
I prduced a white list in the transaction WDR_ACF_WLIST. But I am not able to edit them. So, my question is, how can I enter my WD_TEST_APPL_ACFEXECUTE-Application in the whitelist, that I am able to execute them?
Thank you very much,
Stephan
Edited by: Stephan Fleig on Sep 14, 2009 2:53 PM
Sorry, for posting four times
Hi Thomas,
thanks for your answer.
But I still have a problem with my withe list.
I use the transaction you told me (WDR_ACF_WLIST) and created the white list called "TESTWHITEL". But I had nowhere a chance to edit the whitelist. After i activate the white list I get a xml-file on my system. But the file is without an header empty.
So my question is, where can I enter the url from the test application (http://ntr3tx.ag.hermle.de:8000/sap/bc/webdynpro/sap/wd_test_appl_acfexecute?sap-client=001&sap-language=DE) in the whitelist? There are only two columns, both named Whitelist.
Sorry for disturbing, but I didn´t find a way to solve this problem.
Greats Stephan
It sounds like you created the Whitelist, but you haven't added any items to it. In the maintenance transaction after you have created the Whitelist itself, select the Whitelist and then double click on Application in the Dialog Structure tree on the left hand side. This will let you input the name of the executable on the desktop that you want to allow. You don't setup server or WDA URLs in this whitelist, you setup the applications and directories on the desktop you want to allow access to.
Hi Thomas,
thanks once more for your help.
Your´r right, I didn´t add items to the white list. because I didn´t know how it works.
Now i tried to add one item. I double clicked on Application in the Dialog Structure tree. A pop up came up. There I have to enter the Workingspace. What have I to enter in this popup if I want to execute winword in the test-application you told me (in which I can start notepad, paint, word, missing application or forbidden application)?
Thank you very much.
Greats Stephan
I don't get a popup, I get another configuration screen for the Application that askes for the Whitlist, application and application path. When I setup Winword, I entered my whitelist name, the application I set to WINWORD and in the Application Path I entered: $ProgramFiles$/Microsoft Office/Office12/WINWORD.EXE
You can then also enter parameters for the call in a simliar way. Select the line iwth the applciation a nd double click on the parameter optin in the dialog structure tree on the left hand side.
Thanks Thomas,
I was able to create a white list with the entries paint, notepad and word.
Now I activated the white-list on my computer and started the test application yo u told me. When I push the "word"-button nothing happens. If I push the "show log"-button the following messages showed: "Error:250 no valid security whitelist on client".
I think I have to tell the application where the white list is stored. Am I right, or what should I do?
Greats and so much thanks,
Stephan
Hi Thomas,
i did it with the activation. the place for the xml-file is "C:\Dokumente und Einstellungen\fleig\Anwendungsdaten\SAP".
But anyway the message showed. Is it the correct place for the file?
Here the xml-file:
<?xml version="1.0" encoding="utf-8" ?>
- <frontendServices version="7.0.0.0">
- <execute>
<application path="C:\WINDOWS\system32\notepad.exe" />
<application path="C:\WINDOWS\system32\mspaint.exe" />
<application path="C:\WINDOWS\Microsoft Office\OFFICE11\WINWORD.EXE" />
</execute>
</frontendServices>
The locations of the applications are correct. Anything else I made wrong?
Thanks again for your help.
Stephan
Well my installation path is in English - but otherwise seems to be the equalivant of yours.
Here is my file. Mine is a little more complicated becasue I als ohave upload and download specifications in my Whitelist but thse should only be used by the AcfUpDownload UI elmeent. Also I use the virtual paths (like $windir$) instead of coding the actual path. Otherwise very similiar to yours once again. Here is my file:
<?xml version="1.0" encoding="utf-8"?><frontendServices version="7.0.0.0"><execute><application path="$windir$/explorer.exe"><parameter position="01" type="STRING"><legalValue></legalValue></parameter></application><application path="$windir$/system32/mspaint.exe"><parameter position="01" type="STRING"><legalValue></legalValue></parameter></application><application path="$windir$/system32/notepad.exe"><parameter position="01" type="STRING"><legalValue>.asc</legalValue><legalValue>.txt</legalValue></parameter><parameter position="02" type="STRING"><illegalValue>&</illegalValue></parameter></application><application path="$ProgramFiles$/Microsoft Office/Office12/WINWORD.EXE"><parameter position="01" type="STRING"><legalValue>.doc</legalValue><legalValue>.docx</legalValue><legalValue>.txt</legalValue></parameter></application></execute><download><directory>$HOME/SAPWORKDIR</directory><directory>c:\temp</directory><directory>c:\temp\download</directory><server>http://chin00441665a.chi.sap.corp:8000</server><server>http://iwdfvm3022.wdf.sap.corp:51080</server><server>http://localhost:8000</server><server>https://iwdfvm3022.wdf.sap.corp:51081</server></download><upload><directory>$HOME/SAPWORKDIR</directory><directory>c:\temp</directory><directory>c:\temp\upload</directory><server>http://chin00441665a.chi.sap.corp:8000</server><server>http://iwdfvm3022.wdf.sap.corp:51080</server><server>http://localhost:8000</server><server>https://iwdfvm3022.wdf.sap.corp:51081</server></upload></frontendServices>
HTTP_WHITELIST doesn't have anything to do with the ACF setup. If you want, you can read more about it in the online help:
http://help.sap.com/saphelp_nw70/helpdata/en/68/e69d423cb70c31e10000000a1550b0/frameset.htm
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.