cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Loop and table

Former Member
0 Kudos

Hi,

I m new to abap, i m getting this error while creating an invoice.

Form interface:

Import tab: im_t_vbrk type vbrk

im_t_vbrp type vbrp

(Here im_t_ is internal table).

Global defnition:

Global data : im_fs_vbrk type vbrk

im_fs_vbrp type vbrp

(Here im_fs_ is workarea).

Error message:

%Loop1: & Table: 'im_t_vbrk' is neither specified under 'tables' nor defined as an internal table.

%Text: Field &im_fs_vbrp-posnr' has no defined value.(for all the 5 fields i m getting same error).

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

in global Definition you can use im_t_vbrk TYPE TABLE OF vbrk

in loop or table also in DATA tab check checkbox internal table and pass the internal table and work area

Former Member
0 Kudos

Hi chenna kesav & Palani,

U two resolved my problem.

Former Member
0 Kudos

pass it in table tab next to import...

if ur passing intenal table to s.forms then u should specify it tables tab and if it is variable then pass it in import tab...