Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Excel Error

Former Member
0 Kudos

Getting for an ‘OLE error: Return code = 2’.

This error is occurring in all the systems. It’s happing on the following ‘CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.’

I’ve tested this on several programs and they all are having the same issue. This started after I upgraded to Office 2013. We were unable to load the files for the HRA using the program and had to use another way to load which caused more work and some issues during payroll.

Regards,

Tanmoy

1 REPLY 1

Former Member
0 Kudos

Hi Tanmoy,

I think your system is not supporting with office 13. You can check in TOLET table for the versions which are compatible with SAP.

Regards,

K.Srikanth Reddy.