‎2006 Sep 04 10:51 AM
Hi all,
I have a program where a section of code is as follows:
LOOP AT ITAB WHERE FIELD2 IN VARIABLE.
AT NEW FIELD1.
IF COND.
PERFORM....
ENDIF.
ENDAT.
AT NEW FIELD2.
IF COND.
PERFORM....
ENDIF.
ENDAT.
ENDLOOP.
When i check the program with Code Inspector, for this section it gives an error that reads as follows..
"The loop statement processing will be limited".
(Interaction with group change processing (AT NEW...) is undefined).
Any body got any idea about how to solve this error? Any helpful suggestions are welcome.
Thanks and regards,
Ram.
‎2006 Sep 04 11:09 AM
I think it is due to the fact that you are using a WHERE condition in the loop and AT NEW events...because it is possible that the behaviour of AT events can be an issue depending on the data filtered via the WHERE condition.
Regards
Anurag
‎2006 Sep 04 10:55 AM
hi ram,
you are using a condition in a loop for field2.
then wats necessary to use at new field2.
‎2006 Sep 04 11:07 AM
Hi Rajesh,
The condition is not on the field2. The condition is inside the loop but not for that field...
Regards,
Ram.
‎2006 Sep 04 11:09 AM
I think it is due to the fact that you are using a WHERE condition in the loop and AT NEW events...because it is possible that the behaviour of AT events can be an issue depending on the data filtered via the WHERE condition.
Regards
Anurag
‎2006 Sep 04 11:12 AM
Hi Anurag,
Lemme try removing the where condition and get back to you.
Regards,
Ram.
‎2006 Sep 04 11:14 AM