cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Automation server can't create object

Former Member
0 Likes
493

Hi, everyone,

I want to read excel into ABAP internal table through javascript in Web UI,  I follow the document http://scn.sap.com/docs/DOC-5295, but I get an error shows that "Automation server can't create object". When I put the same javascript into a normal HTML file, it can be executed. The exception throws when execute the code 'var excel = new ActiveXObject("Excel.Application");'. Can anyone help me to solve the problem?

Best regards!

Zhongsheng Xu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Zhongsheng,

In your IE go to

tools->internet options->secutiry->

click on local intratnet and click cusomt level and make sure that for running activex option is marked as prompt or enable.

Regards

Uday

Former Member
0 Likes

The setting of the security of IE is right, I make all the activex options be marked as enable, but it still throws the exception.

Regards

Zhongsheng Xu