Skip to Content
avatar image
Former Member

Error in Loop and table

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).

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 12, 2008 at 10:15 AM

    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...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 12, 2008 at 10:20 AM

    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

    Add comment
    10|10000 characters needed characters exceeded