Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

The ASSERT condition was violated. (termination: RABAX_STATE)

Dear Experts,

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

Short text

    The ASSERT condition was violated.

What happened?

    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" -

     in "/SAPSRM/IF_PDO_SO_CATLGSEARCH~INITIALISE_WS".

    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

Line  SourceCde

    1 METHOD /sapsrm/if_pdo_so_catlgsearch~initialise_ws.

    2

>>>>>   ASSERT /sapsrm/cl_sw_self_service_1=>simplified_sc_is_active( ) EQ abap_true.

    4

    5   DATA:

    6

    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.

   11

   12

   13 * Delete all the catalogs which are not webservice enabled

   14

   15   LOOP AT it_catalogs INTO ls_catalog.

   16     CALL METHOD me->/sapsrm/if_pdo_so_catlgsearch~check_catalog_ws_enabled

   17       EXPORTING

   18         iv_service_id = ls_catalog-service_id

   19       IMPORTING

   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.

Regards

Ketan

Former Member
replied

Hello,

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

Regards.

Laurent.

3 View this answer in context
Not what you were looking for? View more on this topic or Ask a question