Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP List / Uline

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

Tags:
Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question