‎2008 Nov 20 9:55 AM
Moderator message: do not post questions either in the subject or the body, in ALL CAPITALS
HI FRIENDS
at new ,on change of both r work almost same.
then why don,t we use on change of instead of at new in control level?
Edited by: Matt on Nov 20, 2008 11:34 AM - second warning
‎2008 Nov 20 10:04 AM
The Major difference between the two is that AT NEW can be
used ONLY for INTERNAL TABLES, while on change of can be
used for any loop processing i.e do..enddo, while..endwhile
and loop..endloop also.
‎2008 Nov 20 10:04 AM
Hi,
Just press F1 on both the keywords and you will get to know the differences.
Thanks
Nitesh
‎2008 Nov 20 10:08 AM
Hi Syamala
Before posting search in SCN You will a get sufficient data from SCN.
Check This Link
https://forums.sdn.sap.com/click.jspa?searchID=18939507&messageID=4734682
Ranga
‎2008 Nov 20 10:21 AM
loop at itab.
on change of itab-field1." here we specify full path of column
endon.
endloop.
loop at itab.
at new field1." here we specify only column name
endat.
endloop.
ON CHANE OF, ENDON are obsolete statements.
Other diff:
As told by Martina Floriette above
‎2008 Nov 20 10:36 AM
do not post questions either in the subject or the body, in ALL CAPITALS