Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

offset position of a field containing korean text is incorrect in sapscript

Hi ,

I am facing an issue regarding taking offset position of korean text field. I have a variable g_name which contains kna1-name .Since the name can be 30 chars the full name will not fit into 1 line . So I am taking offset and printing G_name+(12)

in 1st line ,g_name12 (12) in 2nd line and G_name24 (6) in 3rd line....But G_name12 (12) is not getting printed as expected in the sapscript layout ie characters are getting printed from 9th position . By experimenting I saw that if I take G_name17(12) for the 2nd offset position instead of G_name+12 (12) I am getting the expected result . Why the offset position mentioned is interpreted more when i am printing it and what is the solution for this ?

I saw a class CL_ABAP_LIST_UTILITIES regarding this but that is related to output list display . Is it applicable to form printing also.

Former Member
Not what you were looking for? View more on this topic or Ask a question