it is showing me dump error for the call method
data: i_tab type /SCMB/DM_ORDER_TAB,
grid1 TYPE REF TO /SCA/CL_SVORDER .
CALL METHOD grid1->READ_BY_IDS
EXPORTING
IS_CTRL =
IV_ORTYPE = gt_po_detl-ortype
IV_LOCKFLG = /SCMB/CL_C_ORDER=>GC_FALSE
IV_NOADDRESS = /SCMB/CL_C_ORDER=>GC_FALSE
IV_MAPID = /SCMB/CL_C_ORDER=>GC_FALSE
IV_DUEQUAN = /SCMB/CL_C_ORDER=>GC_FALSE
IT_ORDERID = itab_orderid
IMPORTING
ET_ORDERS = i_tab
ET_PROT =
.
u r attempting to use a null object reference access a component (variable 'GRID!")
an object reference must point to an object (an instance of a class ) before it can be used to acess a component either the reference was never set or it was set to null using the clear statement