Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

update field of an internal table

hi,

i want to update one field of internal table from field from some another internal table whose key field matches.

Tags:
Former Member
Former Member replied

hi,

do the following:

loop at IT_A into WA_A.(internal table whose field value is to

be updated)

read table IT_B into WA_B with key abc = WA_A-abc.(internal

table which contains the field value to be assigned )

if sy-subrc = 0.

move WA_B-field to WA_A-field.

modify IT_A index sy-tabix from WA_A transporting field.

endif.

endloop.

try this....

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question