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

extended program check and code inspector

Former Member
0 Likes
1,215

Hi Gurus,

I developed on report . I wrote at end of and at new in loop but extended code checking it showing one error is:

1)The LOOP statement processing will be limited

(FROM, TO and WHERE additions in LOOP)

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

(The message can be hidden with "#EC *)

2)The LOOP statement processing will be limited

(FROM, TO and WHERE additions in LOOP)

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

(The message can be hidden with "#EC *)

and I wrote select statement for input validation extended check showing warning as:

Syntax check warning

This warning is only displayed in SLIN

In "SELECT SINGLE ...", the WHERE condition for the

test for equality. Therefore, the single record in q

Internal Message Code: MESSAGE GSB

(The message can be hidden with "#EC *)

I want to remove those warnings and errors please can any body help me.

Regards,

Shashikumar.G

1 REPLY 1
Read only

Former Member
0 Likes
376

Hi Sashi,

1) The LOOP statement error is coming because, you must have used LOOP AT itab WHERE ... something like this.. this means that you are limiting theh records processed in the LOOP. Under this case you can not use AT events..

To use AT events, fill another internal table with the records that you want to process and use AT event in loop at that table..

2) You have used SELECT SINGLE in your code, but the select query does not have the full primary key in the WHERE condition.. it is mandatory to define complete primary key value so that the system will get only single record...

To remove this error, instead of SELECT SINGLE, use SELECT..UP TO 1 ROWS..

Let the query be as it is.. only remove SINGLE keyword and put UP TO 1 ROWS after the FROM clause and Before WHERE clause...

Thanks and Best Regards,

Vikas Bittera.