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

SAP Script Issue

Former Member
0 Likes
845

Hi all,

I am facing an issue with the SAP script alignment.

I have to display in the output both English and Chinese text with right aligned as

eg:

ABC corp

ABC总公司

but on output the alignment of the Chinese characters is affected and it is displayed as:

ABC corp

ABC总公司

not completely right aligned.

I am using the same paragraph format for both the texts.

Does the chinese characters behave differently or is it due the GUI settings in my system?

Pls provide ur ideas.

Thanks ,

Stock

6 REPLIES 6
Read only

Former Member
0 Likes
813

Each chinese character will take two bytes where as english character takes one byte

Read only

Former Member
0 Likes
813

Hi all,

The Chinese characters are not displayed in the message.

i need alignment as

ABC corp.(Right aligned )

@#$$$$%%. (assuming this to be chinese charcters)

Presently i get output as

ABC corp.(Right aligned )

@#$$$$%%. (not right aligned)

Thanks,

stock

Read only

0 Likes
813

Take care of the Font while assigning to Character formar or paragraph format. Dont use normal font name. Example of chinese phone "CNSONG".

Read only

0 Likes
813

I am using the font A_SIMP for both the English and Chinese characters.Would that be the reason ?

Thanks,

stock

Read only

0 Likes
813

ya may be just check it out ....best of luck...:-)

Read only

Former Member
0 Likes
813

hi

To get the chinese text to get properly alligned, you need to have the chinese font and this will solve the purpose of allignment.

Regards,

Richa