Application Development 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: 

Code inspection warnings in Function Group

anilsonesar
Explorer
0 Kudos
412

Hello,

Help appreciated.

I have created a Function Group. When code inspection is done it is giving following warnings :

Warnings:

1. Message code Len

The parameter "I_INHDR" is transferred as value. Use reference transfer

2. Message Code MESSAGEGM1

Sequential read access possible for a sorted table.

3. Message Code 19

Field label has a fixed font instead of a proportional font

4. Message Code 05

First info not in line 1 or 3

5. Message code str_innowr

I am not able to understand how to resolve them. Kindly help me with the same.

Thank You..

1 REPLY 1

former_member222709
Contributor
0 Kudos
150

Hi Anil,

The first 2 warnings can be resolved as follows:

1. The parameter "I_INHDR" is probably hard coded. If feasible define it is a CONSTANT in data declaration or use a reference variable (i.e. passing value from a work area or internal table).

2. You may be reading a sorted internal table. You can use 'BINARY SEARCH' for getting the record.

For the other messages, paste your code lines for reference.

Regards,

Pranav.