Skip to Content
0
Former Member
Feb 25, 2009 at 07:36 AM

error in bsp_utilty->download

82 Views

I am getting an error when i call the method cl_bsp_utilty->download the coding ofr the sameis mentioned below:

CALL METHOD cl_bsp_utility=>download

EXPORTING

object_s = l_xstring

content_type = app_type

content_disposition = 'attachment;filename=webforms.xls'

response = response

navigation = navigation.

The following error text was processed in the system:

An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause

Exception Class CX_SY_REF_IS_INITIAL

Error Name

Program CL_BSP_UTILITY================CP

Include CL_BSP_UTILITY================CM00D

ABAP Class CL_BSP_UTILITY

Method DOWNLOAD

Line 25

Long text An attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object.

Error type: Exception

Your SAP Business Server Pages Team

can anybody tell me why am getting this error