The ASSERT condition was violated. (termination: RABAX_STATE)
We are in process of setting up the SRM 7.0 Ehp1 system. When we click on the Shop, we are getting blank pop screen which says
500 SAP Internal Server Error
ERROR: The ASSERT condition was violated. (termination: RABAX_STATE)
We have checked in ST22 and it reads as below
Category - ABAP Programming Error
Runtime Errors - ASSERTION_FAILED
ABAP Program - /SAPSRM/CL_PDO_SO_CATLGSEARCH=CP
Application Component - SRM
The ASSERT condition was violated.
In the running application program, the ASSERT statement recognized a situation that should not have occurred.
The runtime error was triggered for one of these reasons:
- For the checkpoint group specified with the ASSERT statement, the activation mode is set to "abort".
- Via a system variant, the activation mode is globally set to "abort" for checkpoint groups in this system.
- The activation mode is set to "abort" on program level.
- The ASSERT statement is not assigned to any checkpoint group.
Information on where terminated
Termination occurred in the ABAP program "/SAPSRM/CL_PDO_SO_CATLGSEARCH=CP" -
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 3
of the (Include) program "/SAPSRM/CL_PDO_SO_CATLGSEARCH=CM00Y".
Source Code Extract
1 METHOD /sapsrm/if_pdo_so_catlgsearch~initialise_ws.
>>>>> ASSERT /sapsrm/cl_sw_self_service_1=>simplified_sc_is_active( ) EQ abap_true.
7 ls_catalog LIKE LINE OF it_catalogs,
8 lt_catalog LIKE it_catalogs,
9 lv_user_session_id TYPE bbp_agent_indx_srtfd,
10 lv_ws_enabled TYPE xfeld.
13 * Delete all the catalogs which are not webservice enabled
15 LOOP AT it_catalogs INTO ls_catalog.
16 CALL METHOD me->/sapsrm/if_pdo_so_catlgsearch~check_catalog_ws_enabled
18 iv_service_id = ls_catalog-service_id
20 ev_ws_enabled = lv_ws_enabled.
21 IF lv_ws_enabled EQ abap_true.
22 APPEND ls_catalog TO lt_catalog.
Also we have checked the SRM_Self_Service_1 business Function is already activated.
Can you please provide your suggestions.
Laurent Burtaire replied
your ABAP user (PFCG transaction) has EhP1 role /SAPSRM/EMPLOYEE_EHP1.
As a consequence, /SAPSRM/IF_PDO_SO_CATLGSEARCH~INITIALISE_WS method is called (/SAPSRM/CL_PDO_SO_CATLGSEARCH class) when you launch transaction "Shop".
This method checks customizing Switch SRM_701_SIMPLIFIED_SC is activated: if not, you will have a DUMP.
I think you activated Business Function SRM_SELF_SERVICE_1 but not the concerned customizing switch:
SAP Implementation Guide SAP Supplier Relationship Management SRM Server Cross-Application Basic Settings Self-Service Procurement Activate/Deactivate Simplified Shopping Cart