We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

Re: [sap-dev] Serial Number in Table in Smartform

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
stupid++  

achievement
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language