cancel
Showing results for 
Search instead for 
Did you mean: 

System Error: ASSIGN_CAST_WRONG_LENGTH

Former Member
0 Kudos
891

Hello All,

While displaying an asset I have encoutered the below dump:

-


Error analysis

In the current program "SAPLSDSD", the ASSIGN ... TYPE ... statement

used to assign the type "D" to the field symbol "<%_1_SYSINI>". The l

defined for this type is 16, but the reference field is 8 characters

long. The type to be assigned is in the field "S_DESCR-INTTYPE".

How to correct the error

ABAP/4 type D fields must be 8 characters long, type T fields 6

characters, type I fields 4 characters, and type F fields 8 character

If the error occurred in one of your own programs or in an SAP progra

that you modified, try to correct it yourself.

-


However other user do not.

How could be this possible that the dump is exprecienced by some users and some users do not.

Kindly help.

Thanks in Advance,

Jhero

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello All,

Thanks for the feedback.

We can not use sap note 542337 because our SAP are on a higher version.

Any other suggestions?

Thanks in advance!

Jhero

former_member182098
Active Contributor
0 Kudos

Hello,

What about the first note.

Regards,

Ravi

Answers (5)

Answers (5)

0 Kudos

I was same problem in a S/4Hana 2020 SPS3.

This happen just to 1 user after conversion.

This system was first converted from NUC to Unicode and then converted to S/4.

I have solved it running the report UMG_F4_CLEANUP.

Former Member
0 Kudos

Hello Ravi,

actually we found a note to delete entries in table DDSHPVAL50 to resolve the issue. This is working. However would this mean that everytime a user experience the error we have to delete entries in table DDSHPVAL50?

what would you suggest?

Thanks in advance,

Jhero

Former Member

use report UMG_F4_CLEANUP.

Refer note 1275149

Nicola

former_member182098
Active Contributor
0 Kudos

Hello,

Please refer SAP

Note 881048 - F4 Help: Unicode conversion for table DDSHPVAL50

Note 542337 - 'ASSIGN_CAST_WRONG_LENGTH' with user filters

Regards,

Ravi

Former Member
0 Kudos

Hello,

Thanks for the feedback.

We created the same user account with reference to the account that experience the error. However, the new user account do not experience same error.

Kindly advice.

Thanks in advance,

Jhero

Former Member
0 Kudos

Hi

Check the user profile in the TCODE : SU3 and also compare the same with the other users who is not getting the problem.

VVR