Skip to Content

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

to append leading zeros to a character field

Hi,

can some body tell me how to append leading zeroes to a character field

Tags:
Former Member
replied
DATA:
 w_char TYPE matnr.

WRITE 'ABC' TO w_char RIGHT-JUSTIFIED.
TRANSLATE w_char USING ' 0'.
WRITE:w_char.
0 View this answer in context

Helpful Answer

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