on 10-07-2010 3:48 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
perhaps a create object statement is missing, or perhaps the reference was indeed cleared somewhere?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.