on 02-22-2010 3:51 PM
Hi Experts,
can you please help me with the following topic:
I have a select option in my ABAP Webdynpro. It's very important that the endusers can use the "upload from clipboard" functionality for this select option (as it is possible in the select options within "normal" ABAP Dynpros). How can I manage to get this functionality?
Thank you in advance.
>How can I manage to get this functionality?
Not possible. Remember when you are running Web Dynpro - you are in a browser. Browsers have a restrictive security model and sandbox your access to the client machine for its protection. This is very different than running in a dedicated desktop application like the SAPGUI. Therefore there is no programatic access to the client clipboard allowed within the browser.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
I hope that SAP is looking into implementing the import from the clipboard for select-options. I understand that there are security concerns for giving the browser access to the clipboard, but that's what we have security policies for...
E.g. it is clearly possible to access the clipboard from the browser; not sure if that applies for all possible browsers, but it should be possible to check it for the ones that SAP supports (e.g. here's an article for [Mozilla|http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard] and here for [Internet Explorer|http://msdn.microsoft.com/en-us/library/bb250473%28VS.85%29.aspx]).
Also, I suspect the web experts may have better comments on this topic, but what about the example Google Docs? There I can clearly copy/paste from/to the clipboard (without changing any security settings).
I suspect that many users will list the feature to fill select-options from the clipboard as a very important feature. So if it's really not possible to make it work for all users (security concerns), why not have instructions on how to enable it (might have to be platform/application specific). Probably not a good example, but even SAPgui allows me to store passwords (obviously a very big security risk) on my computer with the right registry hack...
Cheers, harald
Hi all,
it is about 2 years since this thread was open.
Anything changed???
I am creating a webdynpro that user must have the copy from clipboard option... they will use with a lot of material codes.
I am searching if now it is possible to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We can create alternative way, like load txt file. I found in another thread about this idea.
I did it. I copied the component WDR_SELECT_OPTIONS and changed the import text file button to visible and added code to load records from file. We used this way to matnr and werks select options, creating one webdynpro component for each.
Best regards.
Hello Rodrigo,
thank you for your answer. We also implemented a solution in which we load the material numbers from a text file. This works fine.
The problem is that the users complain about that functionality. In the "normal" Dynpro-World they are used to copy/paste the material numbers and now they have to create a file with the material numbers in order to use web dynpros.
This feature will be available in SAP NetWeaver 7.31 SP07 and 7.40 SP2.
In the older releases (7.0, 7.01 and 7.02) it can be customer developed by enhancements.
See the following link:
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.