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

Which one is better joins or views and why?

639


What is the difference between field-group header and other field groups? : abap modularization

573


Can you give the Example for the structure of an ABAP program? REPORT... NODES: SPFLI, SFLIGHT. DATA:... INITIALIZATION. AT SELECTION-SCREEN. START-OF-SELECTION. GET SPFLI... GET SFLIGHT... GET SPFLI LATE. END-OF-SELECTION. FORM... ENDFORM.

606


SAP query how to use end users?

1697


Of the two call transaction and session method, which is faster?

700






What are field groups?

604


How can we determine a vendor is Bloc/Unblock from the table LFA1?

1660


In sap script how to print bar code in vertical manner

3441


Difference between select option and ranges ?

650


What are the different functions used in sap script? What are the parameters used in each function?

620


What is a data class? : abap data dictionary

634


How to create a check box/option button in a list?

2462


What are the types of subroutines? : abap data dictionary

588


What is the difference between bdc_open_group and bdc_open_dataset. : abap bdc

616


What is the function of a data element? : abap data dictionary

589