Skip to Content
0
Former Member
Jan 15, 2014 at 10:33 AM

The ASSERT condition was violated. (termination: RABAX_STATE)

3496 Views

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