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

CONTROL LEVELS

Former Member
0 Likes
529

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

5 REPLIES 5
Read only

Former Member
0 Likes
502

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.

Read only

Former Member
0 Likes
502

Hi,

Just press F1 on both the keywords and you will get to know the differences.

Thanks

Nitesh

Read only

Former Member
0 Likes
502

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

Read only

Former Member
0 Likes
502

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

Read only

matt
Active Contributor
0 Likes
502

do not post questions either in the subject or the body, in ALL CAPITALS