on 08-18-2011 1:21 PM
Dear All,
I need to print internal table data in a horizontal line in smartform,ie., ex:1,2,3,4,5,6,7,8,9,10. like this in a row of my smartform,is it possible?how to achieve it.
Moderator message: please choose more descriptive subject lines for your posts, select correct ABAP subforum for your issue.
Edited by: Thomas Zloch on Aug 18, 2011 5:43 PM
Hi raghav,
I as far as I know we canot print that way because the line type cannot be changed dynamically.
BR
Dep
Edited by: DeepakNandikanti on Aug 18, 2011 2:55 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure, declare a variable of type c, with the appropriate length.
Loop at your internal table.
if sy-tabix = 1.
your variable = internal_table-fieldname.
else.
concatenate your_variable internal-table-fieldname
into your_variable separated by ', '.
endif.
endloop.
You could do this in your smartform, or you could do in code and pass to variable to your SmartForm.
Edited by: DaveL on Aug 22, 2011 7:21 PM
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.