on 01-20-2012 2:00 PM
Hey,
i implemented a test webdynpro with an office control .. but i got an error when I start the web application. There is no word file in the office control.
here the source code of my example:
DATA:
mime_repository TYPE REF TO if_mr_api,
content TYPE xstring,
url TYPE string VALUE '/SAP/BC/WebDynpro/SAP/PUblic/BC/ssr/uuielibs/office_integration/iosdemohelloworld.doc'.
just do it once
CHECK first_time = abap_true.
mime_repository ?= cl_mime_repository_api=>get_api( ).
CALL METHOD mime_repository->get
EXPORTING
i_url = url
IMPORTING
e_content = content.
wd_context->set_attribute( name = 'OFFICE_DOCUMENT' value = content ).
the context element "office_document" is binded to the dataSource attribute of the office control.
here the error message of my example:
ERRO|20120120145855|WD31_8840|CIOS_GeneralDocumentContainer_Acf::|m_oleObject->DoVerb|HRESULT=-2147417846(Durch den Messagefilter wurde angezeigt, dass die Anwendung ausgelastet ist.)
ERRO|20120120145855|WD31_8840|CIOS_GeneralDocumentContainer_Acf::|sendonError|HRESULT=-2147417846(Durch den Messagefilter wurde angezeigt, dass die Anwendung ausgelastet ist.)
thanks for your support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
yes - you must change the internet explorer settings. the security mode! you must activate active X elements.
best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christoph,
did you got a solution on that error ? I've got excatly the same error message.
I'm on 7.02 Patch level 07.
What about you ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.