Skip to Content
0
Former Member
Mar 18, 2009 at 04:20 AM

Exception error occured

162 Views

Hi,

I am using the following function module.it's throwing exception occured no_record_found.what shall i do?

CALL FUNCTION 'CSSF_STPOB_READ'

EXPORTING

estlty = wa_temp-stlty

estlnr = wa_temp-stlnr

edatuv = wa_temp-datuv

estlkn = wa_temp-stlkn

estlal = wa_temp-stlal

IMPORTING

ASTPOB = i_stpob

  • EXCEPTIONS

  • NO_RECORD_FOUND = 1

  • OTHERS = 2

.

  • IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

  • ENDIF.