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

Move corresponding its bad for performance?

ronaldo_aparecido
Contributor
0 Likes
1,313

Hi Gurus.

I need move 100 fields from structure A to structure B .they are not equal.

Move corresponding in loop its bad to performance program?

Thanks.

1 ACCEPTED SOLUTION
Read only

nishantbansal91
Active Contributor
0 Likes
854

Hi Ronaldo,

If both structure are same then use the Append lines of one structure to another structure.

If both structure are different then i think

Loop at it_itab.

use move-corresponding.

endloop.

Thanks.

Nishant Bansal

Hi Gurus.

I need move 100 fields from structure A to structure B .they are not equal.

Move corresponding in loop its bad to performance program?

Thanks.

3 REPLIES 3
Read only

nishantbansal91
Active Contributor
0 Likes
855

Hi Ronaldo,

If both structure are same then use the Append lines of one structure to another structure.

If both structure are different then i think

Loop at it_itab.

use move-corresponding.

endloop.

Thanks.

Nishant Bansal

Read only

0 Likes
854

Ok I used the move 1 by 1 and the performace improved.

Thanks For Help.

Read only

0 Likes
854

Hi Ronaldo Aparecido,

Move corresponding and use 1 by 1 totally depend on the scenario or number of records in your internal table.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30c02051-852d-2c10-3c91-ba2bcf404...

Follow this link this it may be useful for you.

Thanks.

Nishant Bansal