Skip to Content
0
Former Member
Jun 29, 2007 at 10:30 AM

assign a value to an internal table dynamically.

18 Views

Hi Friends,

I have three field symbols

FIELD-SYMBOLS: <component> TYPE table,

<line> TYPE ANY,

<field> TYPE ANY.

Before my code was.

ASSIGN COMPONENT 'DATA-LOGSYS' OF STRUCTURE <line> TO <field>.

when <component> had a structure

DATA (type u - structure without internal table)

>DATA-LOGSYS.

But now the <component> has a structure

SET (type h - Internal table)

>DATA-LOGSYS.

Now how should I modify my code to work properly?

How can I access the field inside this dynamically created internal table?

ASSIGN COMPONENT <b>' '</b> OF STRUCTURE <line> TO <field>.

What should I write in this space?

Regards,

Raju