Hello:
I am using a task to do a 'Load from Data Stream' in BCS. When I execute the task in any mode it is giving me a short dump.
***********************************************************************************************
Runtime Errors DATREF_NOT_ASSIGNED
Date and Time 08.10.2007 12:33:51
Short dump has not been completely stored (too big)
Short text
No access possible via the 'NULL' data reference
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_UC_REPUNIT_HRY_INH_TI======CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
Error analysis
There was an attempt to access a data object via a 'NULL' data reference (points to 'nothing'). A data reference must point to data object before it can be used to access the referenced data object. The reference was either never set or it was set to 'NULL' using the CLEAR statement.
Trigger Location of Runtime Error
Program CL_UC_REPUNIT_HRY_INH_TI======CP
Include CL_UC_REPUNIT_HRY_INH_TI======CM006
Row 19
Module type (METHOD)
***********************************************************************************************
On further analysis I found it is happening here,
18 * currency-bearing char?
>>>>> call method do_model->get_char_for_unit
20 exporting i_unit_fld = do_model->ds_role-lckey->fieldname
21 importing e_char_fld = l_currb_fld.
I checked my company code it is properly assigned.
Can you anybody please help on this?
Regards,
Arpan