Skip to Content
0
Former Member
Nov 12, 2008 at 12:32 PM

Fill internal table with mutliple entries for nested structure

625 Views

Dear ABAP Experts,

I have a question related to fill internal tables with nested structures.

I have a structure like this:

BEGIN OF proto,

sicht TYPE ysicht,

version TYPE FAGLFLEXA-RVERS,

BEGIN OF kons,

kon TYPE YKONSEINHEIT,

END OF kons,

jahr TYPE CHAR04,

END OF proto.

Now I need to fill this structure with values (over an internal table), but how can I achieve that I save multiple datas für element "kon" für one single entry of structure "proto"?

An example could be:

sicht = '01'

version = '100'

kon = 1001 (first entry)

kon = 1002 (second entry)

usw... (n entry)

jahr = '2008'

Thanks in advance for every helpful answer.

Regards

Thomas