2011 Oct 31 2:10 PM
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..
2011 Nov 01 4:46 AM
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.