cancel
Showing results for 
Search instead for 
Did you mean: 

Error message "No valid source context supplied"

Former Member
0 Kudos

Hii,

I will add buttons to my html page. So far, I inserted the following code to my bsp page:

<% DATA: ls_button type CRMT_THTMLB_BUTTON,

lt_button type CRMT_THTMLB_BUTTON_t.

CLEAR ls_button.

ls_button-type = cl_thtmlb_util=>gc_icon_edit.

ls_button-on_click = ''.

ls_button-enabled = 'X'.

ls_button-text = 'Cancel'.

append ls_button to lt_button'.

%>

<thtmlb:areaFrameSetter toolbarButtons = "<%= lt_button %>"

maxButtonNumber = "1" />

When I remove the buttons, that I inserted before with the configuration tool (button Coniguration) and test my page, I get the following error message:

Cannot display view Z_SHOW/Upload of UI Component Z_SHOW

An exception has occured

Exception Class CX_BSP_ELEMENT_EXCEPTION-:No valid source context supplied

Methode CL_BSP_ELEMENT=>IF_BSP_ELEMENT~RAISE_ERROR

Source Test Row: 3

Can anyone explain me, how to fix the error message?

Thanks and regards,

Harris

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Guys,

Am facing the same issue ...Did ur issue got resolved?

Regards

Najm

Former Member
0 Kudos

I have the same error,could you tell me how to solve it .thanks !

无法显示视图 ZGSWIDET/DetailsEF

已出现异常 例外分类 CX_BSP_ELEMENT_EXCEPTION - : No valid source context supplied

方法: CL_BSP_ELEMENT=>IF_BSP_ELEMENT~RAISE_ERROR

源文本行: 3