Skip to Content

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

Modifying an internal table

Hi frirnds,

I need to modify a internal table under the loop of a another internal table... Presen, I am doing this as..

loop at itab1.

read table itab2 with key (Some condition)....

itab2-f1 = xxx.

modify itab2 index sy-tabix from itab2.

Is the way i am approaching is correct...Because sy-tabix shows the record no of itab1, but i need to modify itab2.... Should i use sy-tabix or sy-index here....if i wont use any of that its going toshort dump..so i think i need to use an index...Pls sugest me...

Thanks,

Shyam.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question