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: 

Short dump

Former Member
0 Kudos

I am getting an error while using FM SAP_STARTS_EXCEL.

The short dump gives following error analysis:

The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "SAP_STARTS_EXCEL" ....

'You attempted to use a 'NULL' object reference (points to 'nothing') access a component.'

Any idea?

3 REPLIES 3

Former Member
0 Kudos

Could you post some code snipets that show variable declaration, assigment and function call? Perhaps seeing that could help us narrow it down.

former_member181995
Active Contributor
0 Kudos

Search for OSS since it is an standard one.

as i searched with CX_SY_REF_IS_INITIAL i got 2137 results for OSS.

Former Member
0 Kudos

I solved my problem. I am using WS_Excel instead of SAP_STARTS_EXCEL.

Thanks guys for your valuable time and efforts.