Application Development and Automation 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: 
Read only

FIELD_SYMBOL INTERNAL TABLE WITH HEAD APPEND

Claytoncbj
Participant
0 Kudos
399

HI

I need to append a record to the internal table 'TKOMV' in the SAPMM06E program.

The table is declared

*------- TKOMV ( Tabelle der Konditionen im Beleg)
DATA: BEGIN OF tkomv OCCURS 50.
INCLUDE STRUCTURE komv.
DATA: END OF tkomv.

And a need to access from the a FM User-exit 'EXIT_SAPLMEKO_002'

I create a FIELD-SYMBOLS <fs_tkomv> TYPE ANY TABLE.

ASSIGN ('(SAPMM06E)tkomv[]') TO <fs_tkomv>.

But i do not know how to append at it.

Can anybody help me?

Thanks!

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Kudos
336

Because you declared it "any table", you may only use INSERT ... INTO TABLE <fs_tkomv>.

If you had declared it "standard table" (it should be possible as I guess it's declared in SAPMM06E as a standard table), you might have used APPEND ... TO <fs_tkomv>.