Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error: Access via 'NULL' object reference not possible.

Dear Experts,

I am new to oops concept. I am getting short dump error for below code. Please suggest me how to resolve this issue.

DATA: L_SCRIPT_COLLECTION TYPE REF TO i_oi_script_collection.

CALL METHOD L_SCRIPT_COLLECTION->ADD_SCRIPT_FROM_TABLE

EXPORTING NO_FLUSH = ''

SCRIPT_NAME = 'Macro'

SCRIPT_TYPE = L_SCRIPT_COLLECTION->SCRIPT_TYPE_VBSCRIPT

SCRIPT_TABLE = LT_SOURCE_CODE

IMPORTING ERROR = GC_ERROR

RETCODE = L_RETURN_CODE .

Not what you were looking for? View more on this topic or Ask a question