when we are using at new?should we use this inside the loop
or outside?what will be the effect?

Answer Posted / ekta

At New field: it compares with the previous record of the
internal table whether the value is different or not, if
different the event is triggered...all the fields on the
right hand side of the at new field is marked as *...this
is maily bcoz at runtime their are many records for the at
new field say for a carrid there r many connid...ur carrid
is the at new carrid...so if you want to access a connid
system will not undersatand to which connid you really want
to access

At New
1. When a new record comes at new triggers. Atnew only used
inside loop and endloop.

2. At new is controlbreak statment on at new the left side
field change, the event
trigers and the values become 0 and *

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if while coding power goes off , how to retrieve the codes?

1626


What is the max no of match code id's that can be defined for one match code object? : abap data dictionary

651


How to write a code in tab control? : abap bdc

634


Explain what is a logical database?

602


What is protect & endprotect?

575






What is netweaver???what is the relationship with ABAP?

1631


Explain open dataset in sap abap?

803


What is the BAPI_CUSTMATINFO_GETDETAILM used for? what is the input and output of this bapi.

2867


What is the significance of the screen number ‘0’?

566


Explain about Recording Function?

670


Explain what is the difference between primary key and unique key?

642


Explain the difference between tables and structures?

487


How will you define org structure in MM?

842


What is match code? : sap abap hr

647


What are the different types joins?

571