cancel
Showing results for 
Search instead for 
Did you mean: 

Dump saving sales order in CRM

former_member196079
Active Contributor
0 Kudos

Hi experts

I've a big problem when i try to save a sales order in CRM via sapgui(the webgui work fine).

when i save the order the system rise me a short dump OBJECTS_OBJREF_NOT_ASSIGNED.

this is the dump text.

Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED

Exception CX_SY_REF_IS_INITIAL

-


What happened?

Error in the ABAP Application Program

The current ABAP program "CL_BSP_WD_MESSAGE_SERVICE=====CP" 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 "COLLECT_MESSAGES" "(METHOD)", 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: "ME->VIEW_MANAGER").

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.

-


Can anybody let me know how solve this issue??

Best regards

Marco

Accepted Solutions (0)

Answers (3)

Answers (3)

Sm1tje
Active Contributor
0 Kudos

Is this Standard SAP? Check the notes for this.

Or did you add some coding yourself which is called somewhere in the process? Give some additional information as to how this could be caused.

The first thing that seems a bit off in this case is the fact that a class which (obviously) is related to a BSP page is called. And in the dump message 'ME->VIEW_MANAGER' is mentioned. Again, sounds like a webpage being called, which should not be the case in SAP GUI.

former_member196079
Active Contributor
0 Kudos

Is like Micky said..the method get_messages work only for the web gui and not for the sap gui..

But this method is call in both the case(sap/web)...how i can solve this issue??

Thanks

samantak_chatterjee
Active Contributor
0 Kudos

Hi Marco,

As you have mentioned that the Sales Order is getting saved perfectly from Web UI then there must be some problem with the SAP GUI. You can have look at the call stack to track where exactly the short dump is thrown. If that information is not available, then probably you can put a breakpoint in the function module - CRM_ORDER_MAINTAIN. That is the core One Order API which gets called whenever you save an order in SAP CRM.

Then, based on your finding you can raise an OSS Message if some SP or Patch are missing in the system.

Hope this helps.

Thanks,

Samantak.

Former Member
0 Kudos

perhaps a create object statement is missing, or perhaps the reference was indeed cleared somewhere?