Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error in calling fn..

naveenvishal
Contributor
0 Likes
648

Runtime errors RAISE_EXCEPTION

Occurred on 04.02.2008 at 12:23:44

Exception condition "NOT_FOUND" raised.

Source code extract

Caution: Program has changed

Caution: At time of termination, Active source code no longer available

source:

data: begin of eeitm occurs 0.

include structure STPOB.

data: end of eeitm.

call function 'CUBM_MATERIAL_BOM_READ'

exporting

i_matnr = '30001'

i_werks = 'FGA'

i_capid = 'PP01'

I_DATUV = SY-DATUM

i_menge = '1.000'

I_ALTSL = ' '

IMPORTING

E_MASTB = E_MASTB

E_HEADER = E_HEADER

E_HEADER_ZU = E_HEADER_ZU

TABLES

E_ITEM = eeitm

  • E_ITEM_X =

  • EXCEPTIONS

  • NO_COMPONENTS = 1

  • NOT_FOUND = 2

  • INTERNAL_ERROR = 3

  • OTHERS = 4

.

if sy-subrc <> 0.

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

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

endif.

3 REPLIES 3
Read only

Former Member
0 Likes
597

Hi,

Activate the Program once again and come out of the program and execute.

Regards,

Satish

Read only

0 Likes
597

Make sure that all the exporting parameters are correct.

It may be because of there is no record which satisfying your parameters.

Read only

naveenvishal
Contributor
0 Likes
597

implemented using the simle table calling...

THanx