Skip to Content
0
Jun 07, 2007 at 08:19 AM

Default values for a field in itab

667 Views

Hello everyone!

In the declaration below,

DATA: BEGIN OF itab OCCURS 0,
         belnr   LIKE bkpf-belnr,
         myField,
      END OF itab.

The belnr field will be filled by using SELECT statement but myField will have a default value, for example, "1,000".

Is it possible to do without looping around the itab?

Thanks!