on 10-10-2014 9:38 AM
Hi all,
I'm trying to resolve a problem with a dump, I see that I need to find a sap-note to resolve that but I dont find it in SAP Support Portal.
In st22 I have this:
OBJECTS_OBJREF_NOT_ASSIGNED
CX_SY_REF_IS_INITIAL
Access via 'NULL' object reference not possible.
Error in the ABAP Application Program
The current ABAP program "/SAPSRM/CL_PDO_BO_SC==========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
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 "/SAPSRM/IF_PDO_DO_PARTNER~GET_PARTNER_FCT_TYPES" "(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->MO_PDO_PARTNER").
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.
Notes to resolve:
"OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"
"/SAPSRM/CL_PDO_BO_SC==========CP" or "/SAPSRM/CL_PDO_BO_SC==========CM03C"
"/SAPSRM/IF_PDO_DO_PARTNER~GET_PARTNER_FCT_TYPES"
The procedure is in program "/SAPSRM/CL_PDO_BO_SC==========CP "; its source
code begins in line
1 of the (Include program "/SAPSRM/CL_PDO_BO_SC==========CM03C ".
Code:
>>>>>CALL METHOD mo_pdo_partner->/sapsrm/if_pdo_do_partner~get_partner_fct_types
EXPORTING
iv_process_type = lv_process_type
iv_itemlevel = iv_itemlevel
IMPORTING
et_partner_func = et_partner_func.
Thx and regards.
Hi Cesar,
What are you doing that is causing the dump? Could you give steps to reproduce, and also your SRM version and support pack level?
Kind regards,
Conor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Conor,
I cant reproduce steps but Im find at event sections this.
14METHOD | /1BCWDY/P8SSB5L97MS4KULAFLQU==CP/1BCWDYB_8FC4BHXOVOBRMRI00IJA |
CLF_V_SC_DOFC_D1_CTR=>IF_V_SC_DOFC_D1~ONACTIONSELECT_TAB | |
Componente Web Dynpro /SAPSRM/WDC_UI_SC_DOFC_D1 | |
Controlad.Web Dynpro V_SC_DOFC_D1 | |
My version is 701 and sp 07.
Thx man.
Hi Cesar/Conor,
I am also facing same issue, after creating the SC when i click on refresh button dumps are occurring in ST22. Could you please let me know the resolution for this issue.
Thanks,
Kishore Kumar P.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishore/Ceasar,
Even I had faced the similar issue some time back. Kindly get the below analysis to find the root cause of the same:
The dump is occurred when you trying to refresh a shopping cart which is not successfully created yet or we can say not registered in BBP_PD.
Runtime Error:
OBJECTS_OBJREF_NOT_ASSIGNED
Exception:
CX_SY_REF_IS_INITIAL
Terminated Program:
/SAPSRM/CL_PDO_BO_SC==========CP.
Please note just after click on order (before click on refresh) if you search the shopping cart in BBP_PD you cannot found anything.
SHC might not get created successfully or saved to database due to to some other exception occurred during database save operation.
In my case, other exception is occurred in the process controlled workflow due to which a below dump is registered in the ST22.
Runtime Error:
DBSQL_DUPLICATE_KEY_ERROR
Exception:
CX_SY_OPEN_SQL_DB
Terminated Program:
/SAPSRM/SAPLWF_CORE_ADHOC
Below is the failed database operation:
INSERT /sapsrm/d_wf_015 FROM TABLE it_level_to_item_map[].
So in ST22 you will get 2 dumps (one which is the root cause exception(For ex. DBSQL_DUPLICATE_KEY_ERROR) and the other one (OBJECTS_OBJREF_NOT_ASSIGNED) which is occurred when you click on refresh).
Just for your information in my case the other exception (DBSQL_DUPLICATE_KEY_ERROR) occurred because same approver is determined during 2 consecutive levels in n level step due to inconsistent set up in custom table.
Let me know if this helpful to resolve your issue or in case you need further information regarding to this.
Regards,
Arpit Bhardwaj
User | Count |
---|---|
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.