‎2008 Jun 11 8:04 AM
Hello,
I thing it's a really easy question, but I could find the information I need (maybe i couldn't descripe my problem.)
I'm writing a report and it gives me a list with different facts like this
write: / '|' , 'fact1' , '|' , 'fact2' , '|' , 'fact3' , '|'.
Because of the '|', I get wonderful vertical lines between the facts,
But if i try ULINE. before and after the facts, i get a really ugly box like this:
-
'|' , 'fact1' , '|' , 'fact2' , '|' , 'fact3' , '|'.
'|' , 'fact1' , '|' , 'fact2' , '|' , 'fact3' , '|'.
'|' , 'fact1' , '|' , 'fact2' , '|' , 'fact3' , '|'.
-
So the Uline combines with the vertical line, but it is too long for a nice box.
How can i do a horizontal line that fits to my vertical lines?
I hope you may help me.
Regards
Andy
Edited by: Andreas Schmidt on Jun 11, 2008 9:06 AM
‎2008 Jun 11 8:09 AM
NO STANDARD PAGE HEADING
define the size her......how much u want
this will limit u hori line.......
and use vline commened dont give like this '/'
check this sample report
DATA i TYPE i VALUE 0.
DATA col(15) TYPE c.
WHILE i < 8.
CASE i.
WHEN 0. col = 'COL_BACKGROUND '.
WHEN 1. col = 'COL_HEADING '.
WHEN 2. col = 'COL_NORMAL '.
WHEN 3. col = 'COL_TOTAL '.
WHEN 4. col = 'COL_KEY '.
WHEN 5. col = 'COL_POSITIVE '.
WHEN 6. col = 'COL_NEGATIVE '.
WHEN 7. col = 'COL_GROUP '.
ENDCASE.
FORMAT INTENSIFIED COLOR = i.
WRITE: /(4) i, AT 7 sy-vline,
col, sy-vline,
col INTENSIFIED OFF, sy-vline,
col INVERSE.
i = i + 1.
ENDWHILE.
Reward IF...........
regards
Anbu
Edited by: Anbu B on Jun 11, 2008 9:10 AM
‎2008 Jun 11 8:09 AM
NO STANDARD PAGE HEADING
define the size her......how much u want
this will limit u hori line.......
and use vline commened dont give like this '/'
check this sample report
DATA i TYPE i VALUE 0.
DATA col(15) TYPE c.
WHILE i < 8.
CASE i.
WHEN 0. col = 'COL_BACKGROUND '.
WHEN 1. col = 'COL_HEADING '.
WHEN 2. col = 'COL_NORMAL '.
WHEN 3. col = 'COL_TOTAL '.
WHEN 4. col = 'COL_KEY '.
WHEN 5. col = 'COL_POSITIVE '.
WHEN 6. col = 'COL_NEGATIVE '.
WHEN 7. col = 'COL_GROUP '.
ENDCASE.
FORMAT INTENSIFIED COLOR = i.
WRITE: /(4) i, AT 7 sy-vline,
col, sy-vline,
col INTENSIFIED OFF, sy-vline,
col INVERSE.
i = i + 1.
ENDWHILE.
Reward IF...........
regards
Anbu
Edited by: Anbu B on Jun 11, 2008 9:10 AM
‎2008 Jun 11 8:11 AM
Hi,
One of several ways is to decrease the line size of the report to the length u want.
U need to specify the length of the report in the REPORT statement.
One more way is to draw a sy-uline of that length.
Thanks,
Anon
‎2008 Jun 11 8:12 AM
u can always use sy-uline for horizontal lines and sy-vline for vertical lines .
also with uline place how long u want it
write uline(22).
‎2008 Jun 11 8:15 AM