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

uwe_schieferstein
Active Contributor
0 Kudos

Hello Jos

If this is the exact coding then there is a simple error:

"DATA: l_fields TYPE STANDARD TABLE OFsval ,

DATA: l_fields TYPE STANDARD TABLE OF sval , " space between OF and structure name !!!

LINEA TYPE sval.

Regards,

Uwe

2 REPLIES 2

uwe_schieferstein
Active Contributor
0 Kudos

Hello Jos

If this is the exact coding then there is a simple error:

"DATA: l_fields TYPE STANDARD TABLE OFsval ,

DATA: l_fields TYPE STANDARD TABLE OF sval , " space between OF and structure name !!!

LINEA TYPE sval.

Regards,

Uwe

matt
Active Contributor
0 Kudos

>

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

>

> Some suggestions?

One suggestion - tell us what the error is!

matt