cancel
Showing results for 
Search instead for 
Did you mean: 

The ASSERT condition was violated.

Former Member
0 Kudos

Hi Experts,

I am getting fallowing error/dump in WEB UI CRM_UI_FRAME for few scenarios.

After analyzing ST22, it dumps in FM CRM_ORDER_MAINTAIN, while it encounters ASSSERT statement.

There is no OSS message that relates to this.

The crm_ui_frame/WD gives a http-500 error and the associated ST22 dump gives

"ASSERTION_FAILED" " "

"SAPLCRM_ORDER_API" or "LCRM_ORDER_APIU05"

"CRM_ORDER_MAINTAIN"

There is no indication of any custom coding so I assume that this is a SAP bug - any assistance appreciated.

Thanks

Sreekanth.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member191572
Contributor
0 Kudos

Hi,

The datas passing in the FM - CRM_ORDER_MAINTAIN is not perfect,Please add some details about the error are the scenario,

May be because of some duplicate entries in the FM -CRM_ORDER_MAINTAIN.

Former Member
0 Kudos

Hi,

I had got the same dump but i debugged by putting breakpoint in the method mentioned in error analysis of st22 dump details.

Like for me it was

" LV_PROGRAM_NAME = SAPLCOM_TEXT_DETERMINATION "

" LV_INCLUDE_NAME = LCOM_TEXT_DETERMINATIONF03 "

and then either you will have a custom function module missing or the parameters are different or type mismatch.

Please check the function call function is_ttxvr-asd-access_fm in the include LCOM_TEXT_DETERMINATIONF03.

Please see and then u can solve it.

pappu_kumar2
Participant
0 Kudos

Hi All,

DATA:

ls_parameter LIKE LINE OF it_parameter.

FIELD-SYMBOLS:

<lv_value> TYPE any.

*----- strucutre name

READ TABLE it_parameter

WITH KEY

name = cv_param_structname

INTO ls_parameter.

ASSERT sy-subrc = 0.

ASSIGN ls_parameter-value->* TO <lv_value>.

ASSERT <lv_value> IS ASSIGNED.

mv_struct_name = <lv_value>.

In this code i was also getting " The ASSERT condition was violated " Error .

Because ...After executing of Read statement Subrc is 4 and

next line it should be " ASSERT sy-subrc = 0. " so it was giving the error.

So Please Gies, Check it Your code.

0 Kudos

Hi ,

I am getting this error in SRM-> strategic purchasing ->sourcing->perform sourcing.

But it's not happening when I am using the standard roles.

It's only appearing for customized ones. Means if I am copying the sourcing part into a new portal role.

Can you please suggest how to resolve this.

0 Kudos

Hi ,

I am getting this error in SRM-> strategic purchasing ->sourcing->perform sourcing.

But it's not happening when I am using the standard roles.

It's only appearing for customized ones. Means if I am copying the sourcing part into a new portal role.

Can you please suggest how to resolve this.

Former Member
0 Kudos

Hi Prakash,

I know that its too late to answer..! But may be someone will find it useful. I found this error in sourcing "Carry out" sourcing. When checked in ST22, I found that the error occured as the visible rowcount was 500 which is out of limit ( 0 to 100, something like this). I then launched the webdynpro application "WD_ANALYZE_CONFIG_USER" from SE80, repository information system. This webdynpro application contains personalized entries specific to error. I found the visible row-count set to 500 thereby violating the assertion condition. I deleted the entries from the same application for user and it worked.

PS: SAP SRM, EHP2, UI- Webdynpro

BR,

Harry

Former Member
0 Kudos

Hi Expert !

Can you tell me how do you resolve this Dump ? I'm getting same Error " The assert condition was violated". Please help me to resolve this Dump?

Thanks

Hari

kavindra_joshi
Active Contributor
0 Kudos

Go to st22 , and check for Active call & events. This will let you know the excat place where you are getting the dump.

You can put up an external break point and then find out the reason for the dump.

Regards

Kavindra

Former Member
0 Kudos

Hi Sreekanth

I am getting the same short dump when creating a service confirmation for an expense item. I was wondering if you managed to resolve the problem or identify an OSS note?

Kind Regards,

Verity

Former Member
0 Kudos

Hi Expert !

Can you tell me how do you resolve this Dump ? I'm getting same Error " The assert condition was violated". Please help me to resolve this Dump?

Thanks

Hari