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: 

shall we use move-corrsponding in stead of several move statements

Former Member
0 Kudos

hi gurus

can any one suggest me

shall we use move-corresponding instead of several move statements in reports

in which cases we cannot use that also plz inform me

thank you

regards

kals.

5 REPLIES 5

former_member156446
Active Contributor
0 Kudos

move-corresponding always kills performance

Former Member
0 Kudos

Hi,

First you need to know the difference between MOVE and MOVE-CORRESPONDING statements.

MOVE: it is used for similar structures,means both structures have the same fields and same type.

MOVE-CORRESPONDING: it is used for non-similar structures

When comes to performance,Use

MOVE is used for similar structures

MOVE-CORRESPONDING is used for non-similar structes

Reward,if useful.

thanks,

Chandu

Former Member
0 Kudos

It depends upon situations. Seperate 'MOVE' statement is good than 'move-corrsponding' performancewise.

But if you have to move a number of fields and most of the fields of two structure are same, then we use 'move-corrsponding' instead of move.

Former Member
0 Kudos

Hi

Performance wise move statement is better than move-corresponding

Move-corresponding is used for dissimiliar structures and move is used for same structure.

It is better to avoid the usage of move-corresponding by using the similiar structures.

thnx

Sravani

Plz reward points if useful.

Former Member
0 Kudos

Hi,

instead of MOVE CORRESPONDING use several MOVE statements performance wise it is very good when compared with that MOVE CORRESPONDING..

becoz see move corresponding will search for what is field to be moved into what filed like that so it iwll taka lot time when compared with MOVE so better always use MOVE ....

Regards

Sunil Kumar Mutyala