Skip to Content
0
Former Member
Nov 05, 2011 at 06:30 AM

Re: Assert condition was voilated

25 Views

Hi Expert,

Can any one tell me below error i am gettting as dump how to solve this.

METHOD constructor.

*

DATA content TYPE hrasr00_dcontainer_content.

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 ).

for the above code Assert condition is voilated displaying where i need to chage as it is running in the BG.

Can any one throw some light on this...............

Regards,

Addu

Edited by: MdAddu on Nov 5, 2011 7:39 AM.

Edited by: MdAddu on Nov 7, 2011 12:38 PM