Skip to Content
0
Former Member
Jan 17, 2008 at 06:41 AM

How to increment a character variable?

1543 Views

Hi,

I need to increment v_chgno by 1. But the following code gives me runtime error. Please can anyone guide me where i am going wrong.

Data: v_chgno TYPE char12 value 'CR0000000000',

v_newchgno TYPE char12.

v_newchgno = v_chgno + 1.

Thanks in advance.

Sunanda.