‎2008 May 30 3:08 AM
hi gyus i have a problem i want to display an error message in my interaction center web client so i try this
SELECT SINGLE OBJECT_ID INTO NUMOPERACION FROM CRMD_ORDERADM_H
WHERE
DESCRIPTION_UC EQ IS_ORDERADM_H_WRK-DESCRIPTION.
IF SY-SUBRC eq 0.
RAISE ERROR_OCCURRED.
ENDIF.
but the error message does not appear. what should i do?
‎2008 May 30 4:42 AM
Hello Alejandro
I am not aware how your IC web client works but perhaps the following hints may be useful:
"IF SY-SUBRC eq 0. " ?! Or should this be <>?
IF ( syst-subrc NE 0 ).
" RAISE ERROR_OCCURRED. " no message, just exception
MESSAGE 'Error' TYPE 'I' RAISING error_occurred.
ENDIF.Regards
Uwe
‎2008 Aug 04 4:08 PM