01-16-2009 5:04 AM
Hi All,
I'm working on Smartform PO. I'm facing Problem in line alignment.
i'm having line item and sunline item... line should come after the subline item but line is coming for every line item
Eg:
Item :
-
10
-
20
a
b
c
-
30
-
40
a
b
-
I need in this pattern
Regards
Suprith
01-16-2009 5:08 AM
Hi,
Try like below code
&%TEXT1+0(9)& in first line
&%TEXT1+9(9)& in second line
Regards
Md.MahaboobKhan
01-16-2009 5:08 AM
Hi,
Try like below code
&%TEXT1+0(9)& in first line
&%TEXT1+9(9)& in second line
Regards
Md.MahaboobKhan
01-16-2009 5:11 AM
01-16-2009 5:16 AM
hi,
in your table goto data tab and in there, their is a section called sort area, uncheck already sorted.Now put, for ex: vbeln check sort ascending and check event on sort end. you will get a event subitem under your table in there create a text element and print line.
this should solve your problem.
thanks,
anupama.
01-16-2009 5:18 AM
Hi,
Can you try this,
Sort your internal table based on Line item.
Now use program lines, create a global variable called flag, and mark it as 'X' when ever the line item is changed. ( I mean for every new item ) Then try to print the lines. Other wise clear the flag.
I mean for the first time when the line item comes it will hold the mark as 'X'. This line item wil be printed, immediately clear this flag.
So, for the subitems line will not be printed. For every loop you need to chek the flag. If it is 'X' print the horizontal lines.
Regards,
Venkatesh