cancel
Showing results for 
Search instead for 
Did you mean: 

Check Printing Issue

Former Member
0 Kudos

Hello All,

I am using script for check printing. I am getting the cheque number based on the check lot configuration. If the cheque number is five digits then in my script it should be displayed with six digits by placing 0 in front of the cheque number. The addition of zeros should be dynamic with respect to the cheque number.If it is four digit cheque number then two zeros should be added.

Can anybody help me in this issue.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi try to implement this logic.



data: str type string,
len type i.

i = strlen( str ).

i = 6 - i.

do len times.

concatenate '0' str into str.
enddo.

кu03B1ятu03B9к