Internal table records - print horizontally
I have an internal table containing handling units(container numbers). I want to print these in a row(s). For example if my internal table has data as
container1 container2 container3
I want the output as
container1 / container2 / container3
Can anyone suggest me a solution
what technique are you using? Smartforms or sapscript? or even adobe PDF forms?
Anyway there are sooooo much ways to achieve this.
Easiest would be probably to handle that in the driver program.
loop at itab into wa. concatenate lv_line wa-value into lv_line seperated by ' / '. endloop.
in form print lv_line then.
if it can happen that your itab holds so much records that your values wont fit into one line, you need to think about printing more lines adn creating more lines in your loop.
you need some criteria then when to start a new line, e.G. every 5 values or so.
you could as well append your line to a text every 5 values and then save the text using FM SAVE_TEXT.
Now on form you can print you text.