SAP Note 75594 - Troubleshooting: ABAP/4 - OLE Automation Controller

Component : Graphical User Interface -

Solution : https://service.sap.com/sap/support/notes/75594 (SAP Service marketplace login required)

Summary :
Issues related to accessing Microsoft Office applications (Word, Excel) from ABAP/4 programs may result in error messages such: SY002 - OLE object could not be generated, SY364 - Object not initialized, PC029 - Cannot control & via OLE automation, and PN170 - You cannot control & using the OLE automation function. These issues commonly occur due to improper installations or configurations on the frontend system, which include the operating system, application, and SAPGUI, or incorrect API calls from SAP R/3. SAP Note 81763 should be reviewed as part of troubleshooting. It is crucial that the applications are correctly registered in the system's Registry and that the R/3 and SAPGUI releases are compatible. Various testing strategies such as executing transaction codes for OLE function tests (TX OLE), and checking application path entries in the Registry are recommended for resolving these issues.

Key words :
ole automation function additional key words desktop integration ole automation, german version dim excelsheet als objectsetze excelsheet = erstelleobjekt, beendensetze excelsheet = nichtsdim wordbasicobject als objectsetze wordbasicobject = erstelleobject, beendensetze wordbasicobject = nichts english version dim excelsheet, chart                      {00020811-0000-0000-c000-000000000046}                               microsoft excel chartlocalserver, ole automation server----------------------------------------------------------------------excel, ole automation error                                  forward, solution ______>                            tx ole, \progra~1\msoffice\excel\excel, 5              {00020841-0000-0000-c000-000000000046}                               microsoft excel applicationlocalserver

Related Notes :

81763MS Word & Excel in transactions
79280Automation: Understanding the Typeinfo
77254OLE automation: Object cannot be created
77075Example: Executing functions on the frontend
75595Testing the OLE functions - transaction OLE
67304Problems with Excel97 in ABAP/4 Automation Client
37930OLE automation server setup
32984OLE2 automation client with Word.Basic