hi, While executing a function module, exception occurs. After that sy-subrc is checked to maintain error log. i.e . IF sy-subrc 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY