2014 Aug 07 2:31 PM
Hi Team,
While doing MIGO after click on save button we are getting sort dump as below.
Category ABAP Programming Error
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Except. CX_SY_REF_IS_INITIAL
ABAP Program SAPMM07M
Application Component MM-IM
Date and Time 08/07/2014 07:17:48
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPMM07M" 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 "BESTELLUNG_PRUEFEN" "(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_MMIM_MAA_2").
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.
Missing RAISING Clause in Interface
Program SAPMM07M
Include MM07MFB7_BESTELLUNG_PRUEFEN
Row 15
Module type (FORM)
Module Name BESTELLUNG_PRUEFEN
Trigger Location of Exception
Program SAPMM07M
Include MM07MFB7_BESTELLUNG_PRUEFEN
Row 649
Module type (FORM)
Module Name BESTELLUNG_PRUEFEN
Kindly advise how to resolve this issue.
Regards
Suni
2014 Aug 07 2:36 PM
Hello Suni,
It seems the problem is/was that you tried to work with an object or reference which was null. You should check the line in the coding where this happened, identify the affected object and check why it is null.
Best regards,
Thomas
2014 Aug 07 2:39 PM
Can you check SAP note 1879797 - CPF SAP_APPL: Dump during goods receipt posting
I think you need to check if this note can be implemented in your system.
2014 Aug 07 2:47 PM
Hi Suni,
I think you can find the wrong place according the dump log in ST22, right? Just set a breakpoint in that row, and debug to see why the object is null.
regards,
Archer
2014 Nov 13 11:50 PM
Hi All,
I am also getting the same short dump. When contacted SAP they did ask me to deactivate badi ME_DP_CLEARING. Even after I deacitivation of that BADI the error did not change.
SAP note 1879797 - CPF SAP_APPL: Dump during goods receipt posting
is not aplicable to our system. as we are on SAPA-APPL 60613.
Appreciate any advsie..
2014 Nov 17 9:23 PM
Well I have an update,insead of deactivating the BADI Implementation FM_DP-CLEARING,I reactivated the same,Now the dump is not happening anymore. Have sent a message to SAP to get confirmation.