Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

append one register to internal table in abap oo

Former Member
0 Kudos

DATA: l_fields TYPE STANDARD TABLE OFsval ,

LINEA TYPE sval.

linea-tabname = 'CSKS'.

linea-fieldname = 'KOSTL'.

linea-value = 0.

APPEND linea to l_fields.

i want to do this append, but i have an error because i work in a ABAP Objects

Some suggestions?

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Try this:

LineA like line of l_fields.

Best!

Jim

4 REPLIES 4

Former Member
0 Kudos

How are you doing it in OO. Paste your code pls.

Thanks

Aman

Former Member
0 Kudos

Try this:

LineA like line of l_fields.

Best!

Jim

uwe_schieferstein
Active Contributor
0 Kudos

Hello Jos

Have a look at my answer in your duplicate thread [;

Regards

Uwe

mrio_espinheira
Participant
0 Kudos

Hi!

Could you Copy & Paste the text of the error? If you can it would be good to give the message id (sy-msgid) and number (sy-msgno) also.

I'm assuming that "OFsval" is a typo and in your code it's like "OF sval".

Regards,

Mário Espinheira

Edited by: Mário Espinheira on Dec 20, 2007 9:22 PM