‎2008 May 15 11:05 AM
Hi Experts,
We are updated to the ECC6 system. There are issues coming while executing some of the programs. One of the issue is with the LFA1 table structure. Previously in 4.7, this statement used in the program w_lfa1+3(1429) transferring this value to some variable. Now in ECC6, it is giving the syntax error message, saying that, SUM OF OFFSET AND LENGTH (=1432) EXCEEDING THE LENGTH OF THE START (=1232) OF THE STRUCTURE.
‎2008 May 15 11:44 AM
this is because in EE6 version
for LFA1 table the maximum size is 1232
so if w_lfa1 exceed the maximum limit it will raise error.
so change it as
w_lfa2 = w_lfa1+3(1229).
1229+ 3 = 1232.
‎2008 May 15 11:55 AM
Hi Joffy,
Thanks for the reply. I checked in the LFA1 table, the structure is having the length greater than 1500. The length of the structure has been increased in the ECC6 than that of 4.7. Still it not allowing me to use it over 1232. Any clues!
Thanks,
Ganesh Khumse
‎2008 May 15 11:54 AM
Hi,
Structure of WA_LFA1 ? Is it a single field or structure of LFA1 ?
Regards,
Satya
‎2008 May 15 12:30 PM
‎2008 May 15 2:48 PM
Hi Ganesh,
I believe your system is Unicode enabled ? This is a typical unicode error we come across. The reason for this error is you are trying to use offset to access a non character type field(C,N,D,T), usually an amount type or quantity type field.
You can resolve this by checking in the debug mode ( In the old system) what are the values that are getting filled up in your target structure, and therefore write the code to move them individually field by field.
Regards
Naren