Skip to Content
0
Former Member
Sep 18, 2007 at 05:51 PM

Regarding zppending zeroes in ABAP.

11 Views

Hi,

How can I code followng in ABAP ?

If the length of field (ZDCM-ZIPCODE) is less than 5 digits, then append zeros at beginning so that length becomes 5 digits.

Ex: If we have 45 then it should become 00045

If we have 1 then it should become 00001

If we have 3478 then it should become 03478

Regards,

Rajesh