on 09-02-2008 11:46 AM
Hi.
I've created a smartform and I've displayed a table in
main window.
Now in that table I want to display serial no. as 1st column.
For that, I've taken a system field 'count'. But in the output
i'm getting '1' for all rows.
please help me to solve this issue.
Thanks & Regards
Rajesh
Hi,
Just use the sy-tabix(number of line item of table ) in first coloumn of the table display instead system field 'count'. This system field field count is the number of copies.
Regards,
Raju.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sir will you share the process of adding it in smart form
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for coming to SAP Community for answers. Please post your question as a new question here:
Since you're new in asking questions here, check out our tutorial about asking and answering questions (if you haven't already), as it provides tips for preparing questions more effectively, that draw responses from our members.
Please note, that your post here won't be answered.
Hi,
Do the counter related thing like count = count + 1 ( initialized with 0 ) when you are populating the internal table in your the driver program & pass it in your function module calling the form.
Regards,
Brajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
use one local integer say count...
Set its value to 0...
write a code line inside loop i.e.
count = count + 1.
For each iteration of loop .....
count will get generated...
assign this text value to your row number text...
..Regards
..Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a variable in global definitions...
under the table node... create program lines node
add 1 to <variable>
display the variable in text element of the first column
&<variable name>(C)&
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Declare cnt type i value 0 in global definitions
Inside the loop,
create program line
Input parameter cnt
Output parameter cnt
code
cnt = cnt + 1
Create text element drag and drop the cnt.
Regards,
Raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi rajesh,
In global defintions declare variable sno
In your table Create program lines..
SNO = SNO + 1.
In text node drag & drop the variable sno.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.