difference between at new and on change of

pl its urgent

Answer Posted / balakrishna

When we use At new for a field, it will trigger whenever
there is any change in al lthe fields from the left to that
of the particular field. But when we use On change of it
triggers only when there is any change in the particular
field.
At new can only be used inside loop. On change of can used
outside the loop.

No logical Expressions can be added with at new. Logical
expressions like AND OR can be used with on change of.

When AT NEW occurs, the alpha-numeric fields have * in
their value,where as in case of On Change, the alphanumeric
fields have their Corresponding value, of that particular
record, where the Event gets fired.

On Change of executes for the first value of field too,
this is not the case with At New.

On change of cannot be used in ABAP objects At new can be
used in this

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to run host command from SAP environment? How do you run?

612


how to Implement a BADI in which it restricts the access when purchase order is created against contract using definition ME_PURCHDOC_POSTED. please tell me the answers if any one knows. thanks in advance. :ravikiran

2041


What happens if a function module runs in an update task?

554


How does the interface between the dynpro and the abap/4 modules take place?

555


What are the advantages and disadvantages of ABAP query tool?

575






What functions does a data dictionary perform ?

561


Why do we use events and actions in web dynpro?

588


What is the difference between a dialog program and a report?

551


What does hide statement do?

567


How can we decide weather we can enhance the standard infotype or not ? : abap hr

571


Program for Prime numbers and Matrix plz explain me the procedural method with steps

2255


What is the master data necessary before you can start posting in MM?

831


function modules are also external subroutines. State true or false. : abap modularization

600


What is open sql?

575


Module Pool Programming: Events and Table Control handling.

846