Skip to Content
0
Former Member
Dec 10, 2013 at 10:06 AM

selection screen search help error: The ASSERT condition was violated.

42 Views

Hi,

I use the following code to assign a search help to a select option. But an error says,

  • The following error occurred in system : The ASSERT condition was violated.
  • The error occurred on application server and in work process. 3
  • The termination type was: RABAX_STATE
  • The ABAP call stack was:
    Method: GET_TYPE_OF_VALUE_HELP of program CL_WDR_VALUE_HELP_HANDLER=====CP
    Method: IF_WD_CONTEXT_NODE_INFO~GET_ATTRIBUTE_VALUEHELP_TYPE of program CL_WDR_CONTEXT_NODE_INFO======CP

******************************************************************************************************************************

WD_THIS->VMA_SC_HANDLER->ADD_SELECTION_FIELD( I_ID = 'SO_MMAT'

I_IS_AUTO_DESCRIPTION = ABAP_TRUE

I_OBLIGATORY = ABAP_TRUE

IT_RESULT = LR_MAT_RANGE

I_VALUE_HELP_TYPE = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_NONE

I_VALUE_HELP_ID = 'Z_MAT'

).

*****************************************************************************************************************************

If parameters I_VALUE_HELP_TYPE and I_VALUE_HELP_ID are hidden, the program runs smoothly.

How can I fix the error?

Best regards,

ts