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

ECC6 upgrade issues

Former Member
0 Likes
697

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.

5 REPLIES 5
Read only

JoffyJohn
Active Contributor
0 Likes
676

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.

Read only

Former Member
0 Likes
676

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

Read only

Former Member
0 Likes
676

Hi,

Structure of WA_LFA1 ? Is it a single field or structure of LFA1 ?

Regards,

Satya

Read only

0 Likes
676

its a structure of LFA1.

Thanks,

Ganesh

Read only

0 Likes
676

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