Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Ext Prog Check errors.

Former Member
0 Likes
359

in my program,

loop at ts_matnr into wa_matnr.

loop at zt_tab where zno = wa_matnr-no

and ret_matnr_ext = wa_matnr-matnr.

at new zno.

w_index = sy-index.

continue.

endat.

and when I ran Ext prog check, i am getting this errors

The LOOP statement processing will be limited

(FROM, TO and WHERE additions in LOOP)

Interaction with group change processing (AT NEW, ...) is undefined

How can I remove this error??? appreciated ur help.

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
328

Hi,

Remove code block


at new zno.
w_index = sy-index.
continue.
endat.

If an internal table is processed only in a restricted form (using the additions FROM, TO and/or WHERE with the LOOPstatement), you should not use the control structures for control level processing because the interaction of a restricted LOOP with the AT statement is currenly not properly defined.

regards,

1 REPLY 1
Read only

Former Member
0 Likes
329

Hi,

Remove code block


at new zno.
w_index = sy-index.
continue.
endat.

If an internal table is processed only in a restricted form (using the additions FROM, TO and/or WHERE with the LOOPstatement), you should not use the control structures for control level processing because the interaction of a restricted LOOP with the AT statement is currenly not properly defined.

regards,