‎2007 Jun 26 1:09 PM
Hi all
in control break statments AT NEW COMMAND will provide astrik and blank in the out put in right side of the column.why!
in the case of on change of it will not give astrik and blank on the right side of the column in the out put . why!
regards
Nagendra.
‎2007 Sep 14 7:39 PM
Control Break Statements:
1. At First
2. At last
3. At New
4. At End of
5. on change.
*at first, at last, at new, at end of are also called as at
events and these will be used in loop.....endloop of an
internal table.
*'on change' can be used in out side of the loop...endloop.
1.At first event will be executed only for the first
iteration of the loop...endloop. This event is used for
writing headings.
2. At last event will be triggered for the last iteration
of the loop...endloop.
3. At new event will be triggered for every new value
enters in to the field.
4. event at end of will be triggered if the current running
value is the last value.
5. on change will be triggered for any change in the
specified field value.
‎2007 Jun 26 1:11 PM
Hi,
At new - we can use only in control break
on change of - we can use any loop like do.
That is the speciality of on change of
Regards,
Nandha
Reward if it helps
‎2007 Jun 26 1:11 PM
Hi Nagendra,
It is because of your structure. If you are keeping control AT NEW itab-<field1>
Then it has to be first field in the defined structure of ITAB.
Reward if useful.
‎2007 Jun 26 1:11 PM
Hi,
a) When AT NEW occurs,
the alpha-numeric fields have ******* in their value,
b) where as in case of ON CHANGE,
the alpha-numeric fields have their corresponding value,
of that particular record.
Thanks,
Anitha
‎2007 Jun 26 1:16 PM
hi,
a) When AT NEW statement triggers, the alpha-numeric fields have ******* in their value,
b) where as in case of ON CHANGE control break statement the alpha-numeric fields have their corresponding value of that particular record.
regards,
Suresh.A
‎2007 Sep 14 7:39 PM
Control Break Statements:
1. At First
2. At last
3. At New
4. At End of
5. on change.
*at first, at last, at new, at end of are also called as at
events and these will be used in loop.....endloop of an
internal table.
*'on change' can be used in out side of the loop...endloop.
1.At first event will be executed only for the first
iteration of the loop...endloop. This event is used for
writing headings.
2. At last event will be triggered for the last iteration
of the loop...endloop.
3. At new event will be triggered for every new value
enters in to the field.
4. event at end of will be triggered if the current running
value is the last value.
5. on change will be triggered for any change in the
specified field value.