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