cancel
Showing results for 
Search instead for 
Did you mean: 

Can i use modify with two internal tables?

vladson_albuquerque
Discoverer
0 Kudos
110

Hi guys, I want to use a internal table in modify to update another internal table, but always SAP give me an error which says: "Field "TABLE" is unknow. Is not possible to do this?

My code look like:

MODIFY <it_1> FROM TABLE <it_2>.

Accepted Solutions (0)

Answers (1)

Answers (1)

fabio_saito
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You can only modify a internal table from a work area as per the documentation. MODIFY itab - ABAP Keyword Documentation (sap.com)

Your code can be only used to modify an database table from a internal table. (MODIFY dbtab - source - ABAP Keyword Documentation (sap.com)

Regards.