Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from stupid++ on May 6 at 11:35 PM Hey see your logic is working like: data: v_sno type n. v_sno = 1. v_sno = v_sno + 1. clear v_sno. do 12 times. v_sno = v_sno + 1. write:/ v_sno. ENDDO. write:/ 'After loop', v_sno. change type from n to i. Try this: data: v_sno type i. v_sno = 1. v_sno = v_sno + 1. clear v_sno. do 12 times. v_sno = v_sno + 1. write:/ v_sno. ENDDO. write:/ 'After loop', v_sno. Regards, Vineet
| | | ---------------Original Message--------------- From: Venkata Sent: Sunday, May 06, 2012 12:04 PM Subject: Serial Number in Table in Smartform Hi, If I declare type I, it is working fine. But, even though if I declare DATA V_SNO(2) TYPE N, the output is same.i.e.,it is repeating again from 0,1,2..... Any idea..? Thanks, Venkata. | | Reply to this email to post your response. __.____._ | _.____.__ |