cancel
Showing results for 
Search instead for 
Did you mean: 

OfficeControl webdynpro

christoph_nagl
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

christoph_nagl
Participant
0 Kudos

Hi again,

but I have another open problem. Maybe you can help me:

Thanks.

Best regards,

Christoph

christoph_nagl
Participant
0 Kudos

Hi Thomas,

yes - you must change the internet explorer settings. the security mode! you must activate active X elements.

best regards,

Christoph

Former Member
0 Kudos

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 ?