08-08-2007 6:51 PM
08-08-2007 7:05 PM
HI,
if s1 and s2 are..
1) are of the same type.
s1 = s2.
2) if few fields are same..
use move corresponing s1 to s2.
3) if all are distinct.
s1-filed1 = s2-value.
Thanks
Mahesh
08-08-2007 7:21 PM
Hi Sandeep,
As you have said S1 and S2 are different structures,
if they have similar fields with the same field name definitions, then you can go for :
MOVE-CORRESPONDING S1 TO S2.
If they have less number of similar fields or similar fields but different field name definitions, then you should move individual fields manually, in the below manner.
S1-<FieldX> = S2-<FieldY>. where FieldX and FieldY are similar field types but with different names.
<b>Reward points if this helps,</b>
kiran