cancel
Showing results for 
Search instead for 
Did you mean: 

How to create Office control in Webdynpro ?

Former Member
0 Kudos

Dear Friends,

         Actually i want to view word document or excel document in internet explore using Webdynpro ?

         so i want to know how to create Office control in Webdynpro?

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

Hi,

You have to create Office Control UI. Check this wiki fro reference: http://wiki.scn.sap.com/wiki/display/WDABAP/Microsoft+Word+integration+using+office+control+in+WebDy...

Regards,

Kiran

Former Member
0 Kudos

Dear Kiran.

          Thanks for replay...

          Actually i created Office control UI and it will work fine.

          But i want to view word document in Office control. Please give some examples..?

former_member184578
Active Contributor
0 Kudos

Hi,

Is the word document uploaded in MIME or from DB you want to show?

If it is in MIME, you can simply bind the data Source property of Office Control to word doc in MIME. IF it is from DB, create an attribute( say file_content) in context of type XSTRING and bind the data source to the attribute. Now get the data from DB and set it to the XSTRING attribute.

If you have followed the above steps already and still the document is not displaying, then check whether you activated the ActiveX control.

Check this for reference: http://scn.sap.com/thread/3293492

Hope this helps u,

Regards,

Kiran

Answers (0)