Skip to Content
author's profile photo Former Member
Former Member

difference betwen At new / on-changes

Dear,

can any confirm me what is the difference b/w at-new and on-change syntax

bye

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 11:15 AM

    hi vikrant ,

    <b>on-change</b>

    Syntax

    ON CHANGE OF <f> [OR <f1> OR <f2>...].

    Opens an ON control structure, which ends with ENDON. The statement block is executed whenever the contents of the field <f> or one of the other fields <fi> has changed since the statement was last executed.

    <b>At-NEW.</b>

    AT for group change

    Change of group when processing loops of extracts and internal tables.

    Syntax

    AT NEW <f>.

    AT END OF <f>.

    AT FIRST.

    AT LAST.

    AT <fg>.

    The statements are used to process group levels within a loop using an extract dataset or an internal table. They introduce statement blocks that must be closed with ENDAT. The statements between AT and ENDAT are only executed if the corresponding group change occurred.

    i thing it will help u

    thanks

    chetan vishnoi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.