on 11-19-2007 3:43 PM
Hi all
I am getting the following dump while creating Group Asset through AS21-
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Except. CX_SY_REF_IS_INITIAL
Date and Time 19.11.2007 21:16:06
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLGLO_FIAA_SCREENS" had to be terminated because it
has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in procedure "SET_MANAGER_FOR_UPDATE" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: "GO_ASSET_MAINDATA").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
Source Code Extract
Line SourceCde
545 * -->P_LS_WORK text
546 * <--P_LO_ASSET_MANAGER text
547 * <--P_LO_TIMEDPNDNT_MANGER text
548 *----
549 FORM set_manager_for_update
550 USING
551 is_work TYPE raist03
552 CHANGING
553 co_asset_manager LIKE go_asset_manager
554 co_timedpndt_manger LIKE go_timedpndt_manager
555 ct_err_msg TYPE tt_err_msg.
556
557 DATA:
558 ls_asset_maindata TYPE gty_s_asset_maindata,
559 ls_anla_key TYPE anla_key,
560 ls_err_msg LIKE LINE OF ct_err_msg.
561
562 * check operation
563 IF is_work-kz EQ con_ins AND
564 is_work-flg_unr NE on.
565
566 MOVE-CORRESPONDING is_work TO ls_anla_key.
567 ls_anla_key-mandt = sy-mandt.
568 ls_anla_key-anln1 = is_work-anln1_new.
569 * start of Note # 954513
570 IF ls_anla_key-anln1 IS INITIAL.
571 ls_anla_key-anln1 = is_work-anln1.
572 ENDIF.
573 * end of Note # 954513
>>>>> ls_asset_maindata = go_asset_maindata->get( ).
576
577 * clone time-independent asset data manager
578 TRY.
579 co_asset_manager = lcl_amd_mngr_clone_factory=>clone_asset_manager( ls_anla_key ).
580
581 CATCH cx_faa_asset.
Any1 has a clue where I might be going wrong?
Cheers
Hrishi
Hello Hrishi
I have researched your issue and note 1063792 should resolve it. The
SAP_APPL that it is included in is SAPKH60011. I recommend you to upgrade to the latest support package available to avoid eventual errors.
For program errors you should open a support ticket in the SAP Service Market place.
Regards
Javier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.