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

Type Incompatible

Former Member
0 Likes
638

Hi,

I trying convert the 4.5b code to 6.0, I'm getting error as type incompatiable for the code

Data : HEXIN(12) TYPE X,HEX TYPE X.

DO ANZAHL TIMES

VARYING HEX FROM HEXIN NEXT HEXIN+1.

ENDDO

Can anyone please help me to fix this issue?

Thanks

Kisu

6 REPLIES 6
Read only

Former Member
0 Likes
577

mostly the TYPE X is not present in 6.0 check and replace it with the one which has been provided and it will work...

Read only

Former Member
0 Likes
577

hi Kisu,

TYPE X may not be present in 6.0 version or may not be supported because of unicode related issues check help .

Regards,

Santosh

Read only

Former Member
0 Likes
577

This is caused becuase of the Unicode environment in the new instance.

You need to do the changes to the code so that they are unicode compatible.

See Help

http://help.sap.com/saphelp_nw2004s/helpdata/en/79/c55485b3dc11d5993800508b6b8b11/content.htm

By the way, data type X is still supported.

Regards,

Ravi

Note - Please mark the helpful answers

Read only

Former Member
0 Likes
577

Can anyone help me in rewriting the code in unicode systems.. please.....

Read only

0 Likes
577

Hi kisu,

please post more code.

Tra replacement of TYPE X with type C.

Regards,

Clemens

Read only

0 Likes
577

Try changing HEX TYPE X to HEX(12) TYPE X.

Regards

Sridhar