‎2008 Oct 25 6:41 AM
hai,
here there is user eit function module.
call customer-function '014'
exporting
is_header = is_caufvd
is_component = cs_resbd_new
is_component_old = is_resbd_old
is_materialview = is_msfcv
i_fcode = c_fcode
i_marked = c_flg_sel
exceptions
no_changes_allowed = 01.
-
directly it taking data from screen. so here i have doubt that when that exception will raise.
tell me what is main use of exception.
-
some fm there is more than one exceptions is there?
so plz tell me about the use exception & changing in function module.
‎2008 Oct 27 2:16 PM
Hi,
CALL customer-function '014', is called from a standard program. There might be a case where depending on certain conditions you want to restrict the user from making changes on the screen. In that case you you will raise the exeption in the implementation of the user exit where you write your own code.
In this case
RAISE no_changes_allowed. For further details on how to raise the exception, refer to the keyword 'RAISE'
regards,
Advait
‎2008 Oct 27 2:00 PM
this is a customer function, so you need to code for this exception for the scenarios where you dont want the Changes.
‎2008 Oct 27 2:16 PM
Hi,
CALL customer-function '014', is called from a standard program. There might be a case where depending on certain conditions you want to restrict the user from making changes on the screen. In that case you you will raise the exeption in the implementation of the user exit where you write your own code.
In this case
RAISE no_changes_allowed. For further details on how to raise the exception, refer to the keyword 'RAISE'
regards,
Advait