cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

The ASSERT condition was violated.

Former Member
61,933

Hi All,

I have a WD component in which there are 2 views v1 ,v2 . V2 have a view container containing v1 . v1 contains 3 button.On clicking one continue button from v2 another view opens up as pop-up.Now the problem is whenevr i keep a viewcontainer for v1 in the pop-up "The ASSERT condition was violated" is shown while closing the pop-up.Please help.

thnxx in advance.

View Entire Topic
Former Member
0 Likes

Hi all,

I having the same problem,- the HCM form is displaying a dump

I looked where the call stack is pointing and clicked-

Control block - BREA - source code - CL_HRASR00_DATA_CONTAINER====CM00G

the code

DATA fscnflds TYPE TABLE OF t5asrfscnfld.

DATA values_of_fields TYPE hrasr00_values_of_field_tab.

DATA field_states TYPE hrasr00_field_state_tab.

DATA values_of_fields_wa TYPE hrasr00_values_of_field.

DATA field_states_wa TYPE hrasr00_field_state.

FIELD-SYMBOLS <fscnflds_wa> TYPE t5asrfscnfld.

  • The Data Conatiner can be constructed using xml/content/form scenario

  • Assert more than one of them is not passed

ASSERT

( form_scenario IS NOT INITIAL AND xml IS INITIAL AND data_content IS INITIAL ) OR

( form_scenario IS INITIAL AND xml IS NOT INITIAL AND data_content IS INITIAL ) OR

( form_scenario IS INITIAL AND xml IS INITIAL AND data_content IS NOT INITIAL ).

How should I go about soving this problem

thomas_jung
Developer Advocate
Developer Advocate
0 Likes

I hope that everyone on this thread really understands what an ASSERT is. ASSERT is just a way of testing for and producing an error message. Just because two different people get the same message that an ASSERT Condition was violated, doesn't mean that they have anything to do with one another. Its like saying "You got and error message and I got an error message, therefore our problem must be the same". The ASSERT message itself is absolutely meaningless other than to tell you that something went wrong. It is the condition that was being checked that is important. In all three of the cases listed in this thread, the assert conditions were completely different and in different applications. If people try to turn this thread into some general QA for everything that throws an ASSERT, I will Lock it!

Former Member
0 Likes

hey,

If you have the problem, you have just delete the view and recreate it again, and its wel works.