04-19-2008 6:39 AM
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.
04-19-2008 6:41 AM
04-19-2008 7:18 AM
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
04-19-2008 7:19 AM
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.
04-21-2008 12:47 PM
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.
04-21-2008 1:02 PM
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