2014 Jul 29 11:28 AM
Dear experts,
I have requirement like i need to draw horizontal line under main window of Table Header, Only for table header, i know how to draw horizotanl and vertical lines in tabkle this Question for table under header to draw horizontal line? please reply this ?
i know for table we need go for template or box shading , my requirement this options are not working?
Thanks
Ravilla
2014 Jul 29 11:41 AM
I am not sure what you wanted to do, may be you share screen shots of layout/Form, what you want to achive.
You also have CHARACTER PHORMAT, under line (UL).
2014 Jul 29 12:19 PM
Hi
I just need one horizontal line under table header it self.
blow example like this
-----------------------------------------
srno name =====> this is header
------------------------------------------
1 lakshman
======> this is item
2 ravilla
from the above table i just horizontal lines as above same to same how do i get? I know if we use patterns we get rows and columns but i need rows for only header in table?
Thanks
Ravilla
2014 Jul 29 12:31 PM
If it's a simple report:
* Header
WRITE: sy-uline(20),
/ 'snro', 10 'name',
/ sy-uline(20).
* Item
* Loop at item
WRITE: / '1', 10 'lakshman', "Change it to internal table values
/ '2', 10 'ravilla'. "Change it to internal table values
2014 Jul 29 11:42 AM
Ravilla,
if you are using write check this example: WRITE: sy-uline(20).
If you are using sapscript, check this BOX command.
2014 Jul 29 11:45 AM
Hello,
Try to create a paragraph format and check Underline
After creating the PF assigne it to the Header Text in table.
Thanks
Sam
2014 Jul 29 12:23 PM
create text in table header and insert parameter.
&sy-uline(50)& "draws horizonal line with 50 dashes
2014 Jul 29 12:59 PM
Hi,
In where: report list, Sapscript, Smartform, something else...?
cheers
Janis
2014 Jul 29 2:43 PM
2014 Jul 29 3:03 PM
Hello Ravilla,
Try like as suggested in my early replay.
Thanks
Sam
2014 Jul 29 4:06 PM
Hi,
I'd create another line type in the table node and use a line line type with borders/shading for header and a second one (without borders and shading) for the table body. Anything else (outputing extra lines using bitmap, or underline characters) is asking for unnecessary trouble (in maintenance of the form), I feel.
cheers
Janis
2014 Jul 29 3:37 PM
Something inovative... Try this as well...
Create a variable in Samrtform, gv_line type string.
gv_line = '_______________________________________'.
OR
gv_line = sy-uline(20).
Print gv_line just below header.