on 06-29-2015 10:18 AM
Hi,
I am facing an issue in creating return purchase order. After selecting order type as "NB2" in ME21N transaction, the system throws below dump
Category ABAP Programming Error
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Except. CX_SY_REF_IS_INITIAL
ABAP Program SAPLMSR_MEPO
Application Component LO-ARM
Date and Time 26.06.2015 10:19:40
An exception has occurred which is explained in more detail below. The
exception is assigned to class 'CX_SY_REF_IS_INITIAL' and was not caught in
procedure
"MSR_PROCESS_PO_PROCESS_HEADER" "(FUNCTION)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated this
exception, the current program was terminated.
The reason for the exception is:
You are trying to access a component with a 'ZERO' object reference
(points to 'nothing').
An object reference must point to an object (an instance of a class)
before it can be used to access a component. The reference has either
never been set, or it was set to 'ZERO' with a CLEAR statement.
I have done the necessary configuration for this order type.
How to resolve this?
hi,
NB2 is a standard document type, used in Advanced return process for vendor. Isn't it ? If you are sure that there are no enhancements and oyu have not played with default configuration of document type raise this to SAP. Can you share what are screen field etc used in NB2 doc type configuration and other fields too, in your system ?
Regards..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check the path at spro --MM--Purchasing--sto--return delivery/store delivery . Please check the return delivery type is assigned there .
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it happening just after selecting the document type ?
Check if these OSS notes relevant for your case :
2095276 - OBJECTS_OBJREF_NOT_ASSIGNED when EBELP > 99999
1529120 - OBJECTS_OBJREF_NOT_ASSIGNED_NO when using document templates
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried if this process works with the SAP standard document type before you switched to own document types?
This could at least help to know if the error is already in the standard program or is because of your customization.
further, what you posted from the dump is just a jigsaw piece, the dump is several pages longer and has there very valuable information. Please read the document
to learn how to read and understand a Dump
User | Count |
---|---|
109 | |
15 | |
10 | |
5 | |
4 | |
3 | |
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.