Skip to Content
0
Nov 08, 2019 at 12:00 PM

You are trying to access a component with a 'ZERO' object reference (points to nothing)

582 Views

I'm setting up a Method call from a class

DATA: r_info TYPE REF TO zcl_sv_job_offline_ctrl.
 CALL METHOD r_info->create
    EXPORTING
         is_data   = lr_test_record.

And receiving the following errors:

CX_SY_REF_IS_INITAL

You are trying to access a component with a 'ZERO' object reference (points to nothing). Variable: "R_INFO".

Am I missing something?