2012 Oct 26 10:48 AM
Hi Experts,
We are using Bussiness Document Services to populate data in MS word templates through program.
Last few days we have seen sometimes method GET_WORDPROCESSOR_INTERFACE is not able to initialize the interface object V_WHANDLE. Please see the code below: This error is coming randomly and many times restarting the system resolves the issue. We are accessing SAP and MS word application installed in a Citrix server.
CALL METHOD V_PROXY->HAS_WORDPROCESSOR_INTERFACE
IMPORTING
IS_AVAILABLE = L_V_HAS.
CALL METHOD V_PROXY->GET_WORDPROCESSOR_INTERFACE
IMPORTING
ERROR = L_V_ERROR
WP_INTERFACE = V_WHANDLE.
Please suggest any way to ensure GET_WORDPROCESSOR_INTERFACE works perfectly.
Thanks,
2013 Jun 10 1:00 PM
Error was in some Citrix servers. It was not able to call MS Word application. Rebuilding user profile and server resolve the issue.
2014 May 14 2:36 PM
Hi Alok Patra!
I'm having the same problem.
You have found the solution to this problem?
Thanks!!!
2014 May 30 7:58 AM
Hi Rogerio,
As I mentioned in my earlier reply, in my case the error was in Citrix server. Both SAP and Word applications are executed in Citrix and due to some unknown reason, SAP was not able to invoke MS Word processor.
Citrix administrator rebuild the user profiles, refreshed the server and the issue was resolved.
You can do similar check in transaction OLE to ensure your SAP system is able to call MS applications. If you are running SAP through GUI installed in your PC, make sure MS Word is installed properly in that system.
Thanks,
Alok
2014 Jun 02 12:24 PM
Hello Alok,
Thanks for the reply. I will do the tests according to the information.