2010 Feb 20 6:50 AM
Hi Friends,
I have one problem.... I want to print number of dates in horizontal format using loop. Right now i m geting date in vertical format.... I need to display no. of date in horizontal format....
Like
I need
01.01.2010 02..02.2010 03.02.2010........................................10.02.2010
Pl help me.
Regards,
Swapnika
Edited by: Swapnika Panse on Feb 20, 2010 7:51 AM
Hi Friends,
I have one problem.... I want to print number of dates in horizontal format using loop. Right now i m geting date in vertical format.... I need to display no. of date in horizontal format....
Like
I need
01.01.2010 02..02.2010 03.02.2010........................................10.02.2010
Pl help me.
Regards,
Swapnika
Edited by: Swapnika Panse on Feb 20, 2010 7:51 AM
2010 Feb 20 7:20 AM
If Date is the only field in the table then while printing in the TEXT NODE use APPEND DIRECTLY for START value.
Otherwise, concatenate all the vales in one STRING type field and display that on the form.
2010 Feb 20 7:26 AM
Hi Swapnika,
I think before you populate the data to smartform, convert your internal table in horzontal format from vertical format
and I think by this you will able to print the output in vertical format,
I do agree with what amit said, but I am sure that it is not only the date field you want to print as horzontal one, as for each date some data must be associate that should also able to print in the down of the date filed, ed. daily despaches in qty
Date - 01 02 03 ................... 29 30
Qty Despach- 50 30 70 .....................90 110
Hope this will solve your problem
Rani
2010 Feb 20 7:57 AM
Thanks Rani.....
U exactly got my issue.....can u tell me how to convert my internal table vertical into horizontal format....
Pl give me a example for my better understanding...if u can....
Thanks and Regards,
Swapnika
2010 Feb 20 8:36 AM
Hi,
If you can able to paster ur internal table declaration, I can able to give you the logic to convert your vertical internal table into horizontal format,
But simply i can tell you that you declare one more internal table like,
Data: begin of itab_hori occurs 0,
Matnr like mara-matnr,
date1(2) type c,
date2(2) type c,
..
..
..
Date31(2) type c,
End of itab_hori.
Then with the key filed you can convert your vertical format to horizontal format.
Hope this will solve your problem
Rani
2010 Feb 20 1:23 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |