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

Unicode Compatible About Standard Program

Former Member
0 Likes
1,115

Hi, All.

When I did exercise in BC460, I found the srandard program SAPBC460D_01 cannot be compiled because of the error:The program "SAPBC460D_01" is not Unicode-compatible, accroding to its program attribes.

I looked for the answers to the questions and most said the attribute of the program should be changed and set "Unicode checks active" unselected, but when I wanna do like this, I found that "Unicode checks active" is originally unselected. Some others said they could use T-code UCCHECK but the thing is I don't know how to use it and whether it will be functional.

It is appreciated that if some one could help me on this.

7 REPLIES 7
Read only

Former Member
0 Likes
1,009

Hi,

That Unicode check box has to be selected.

Thanks,

Venkatesh.

Read only

0 Likes
1,009

Hi Venkatesh,

Firstly, thanks for your reply.

Secondly, I have tried to select the unicode checkbox, but the result is that when I check the code, it shows that "RSTXD must be a character-type field".

Thanks & Best Regards

Ben

Read only

nils_buerckel
Product and Topic Expert
Product and Topic Expert
0 Likes
1,009

Hi Ben,

you are using an old version of this program. I guess you will find a newer one (which is Unicode compliant) in the latest IDES system.

Best regards,

Nils

Read only

0 Likes
1,009

Hi Ben,

I too faced the same problems. Copy the program to a Z program completely ( including screens) . Make the unicode check active in the program attributes.

Now go for the syntax check of program. The syntax error occurs in 3 lines as

"rstxd must be...."

double-click on the line to go the error causing line. All you need to do is comment that line.

Comment the remaining 2 lines which are causing the same error.

Now run the syntax check which gives no errors. Activate and execute it. In the resulting screen, give your exercise form name.!

This reply may be very late to you. But it may be useful for some people like me who are learning SAPSCRIPT through BC460.

So just posting due to that reason. You might have already got this resolved.

Regards,

Harry

Read only

Clemenss
Active Contributor
0 Likes
1,009

Hi Ben,

BC 460 is for sapscript. This is completely historical though still offered by SAP. I have serious doubts that they reworked the old sample programs to make them Unicode-enabled.

If you want some ABAP exercise, make a copy of SAPBC460D_01 to Z name space, set Unicode flag, then make the necessary changes, i.e. not use a whole structure RSTXD as one flat field.

Regards

Clemens

Read only

0 Likes
1,009

Hi Clemens, can you explain a little better how to make the neccesary changes?

Thanks

Read only

juancarlos_dasilva
Participant
0 Likes
1,009

Hi, I ran to same problem, how did you solve it?