Skip to Content
0
Former Member
Sep 13, 2007 at 08:49 AM

add field value to the existing internal table.

1068 Views

how to add a field value to the existing internal table.

DATA: BEGIN OF ITAB occurs 0,

EBELN TYPE EKPO-EBELN,

EBELP TYPE EKPO-EBELP,

AEDAT TYPE EKPO-AEDAT,

amount(10) type c,

END OF ITAB.

select * from ekpo

into corresponding fields of table itab.

itab-amount = '2400'.

loop at itab where ebeln eq 70 .

write : / sy-tabix,itab-ebeln,itab-ebelp,itab-aedat,itab-amount.

endloop.

here output is not showing the amount field value.

please tell me how to solve this problem urgent

thanks in advance.