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: 

need to update internal table randmly with reference to filds

Former Member
0 Kudos

I had a internal table with 10 fields and I want to update a particular field randomly and the remaining will be same as before.

3 REPLIES 3

Former Member
0 Kudos

Hi

Use MODIFY command.

Syntax:

MODIFY itab [FROM wa] [INDEX idx]

Thanks

Vasudha

jj
Active Contributor
0 Kudos

Use transporting option to modify only particular fields.

MODIFY scarr_tab INDEX idx FROM scarr_wa

TRANSPORTING currcode.

so only currcode field will be updated.

Former Member
0 Kudos

Hi

I guess this question is posted again. You will need to use the 'TRANSPORTING' option in your modify statement as I told earlier.

Thanks

Vijay

PLZ reward points if helpful