12-05-2006 9:09 AM
Hi Friends,
I have to integrate MS Office 2003 and ADOBE Acrobat reader with SAP very much like that demonstrated in SAPRDEMODOCUMENTCONTAINER program given in the control examples by SAP. But the problem is, the code I am developing and even in the one given by SAP has some problems in them. They are:
(1) When a MS Word or any application is opened, many of its attributes are
disabled like CTRL+ N for opening new document and CTRL+ O for opening
an existing file and many others.
(2) When I try to open an existing file using the recently used list, it is opening in
a new window but my requirement is to open it in the same window in which
the application frame is displayed over SAP screen.
(3) I am following the same procedure that is used in the above said example and
unable to understand the way methods of the inner most interface are implem-
ented like method CONTAINER_CONTROL->CREATE_DOCUMENT that is
called from within I_OI_DOCUMENT_PROXY~CREATE_DOCUMENT method. I
am clueless how it is working.
Please guide me how to solve the problem along with some good reference material that you can suggest me to study.
Thanks & Regards
Aditya P. Srivastava
05-09-2007 7:02 PM
Hi Adiya,
You need to pass the parameter 'open in place' to word file in same window.
CALL METHOD DOCUMENT->OPEN_DOCUMENT
EXPORTING OPEN_INPLACE = 'X'
Regards,
karthik.