cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Dump while creating return purchase order

Former Member
0 Kudos


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?

Accepted Solutions (1)

Accepted Solutions (1)

former_member188914
Contributor
0 Kudos

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..

Former Member
0 Kudos

Hi all,

Implemented SAP Note no. 2042765 . Issue solved.

former_member183424
Active Contributor
0 Kudos

Little strange.

1.This note is talking about an error message not dump.

2. This note is valid for software component ECC-DIMP.


Can you please tell me that how did you find this OSS note ? Is it a reply from SAP support ?

Answers (2)

Answers (2)

former_member197616
Active Contributor
0 Kudos

Hi,

Please check the path at spro --MM--Purchasing--sto--return delivery/store delivery . Please check the return delivery type is assigned there .

Regards,

former_member183424
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Yes. It is happening after selecting the document type.

Former Member
0 Kudos

Hi Dibyendu,

The oss notes which you mentioned are not relevant for our case

JL23
Active Contributor
0 Kudos

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