Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Underline Text

Former Member
0 Kudos

How to show underline text in list display?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check the following link:

http://sap-img.com/ab027.htm

Regards,

Bhaskar

4 REPLIES 4

Former Member
0 Kudos

Hi,

Check the following link:

http://sap-img.com/ab027.htm

Regards,

Bhaskar

Former Member
0 Kudos

You cannot exactly underline a text in ABAP, but there is other way round, check the code below

parameters w type text15 default 'India'.

data count type i.

write: w.

skip.

count = strlen( w ).

do count times.

write: '_' no-gap.

enddo.

Reward points if useful, get back in case of query...

Cheers!!!

Former Member
0 Kudos

Hi VIkas,

DD_STYLE_TABLE is the sample program to print text in reports with fonts and colors and this report is based on class CL_DD_DOCUMENT with its methods and this class is avialable from 4.7 onwards.

Check method UNDERLINE under class CL_DD_DOCUMENT to have underline.

Thanks,

Vinay

Former Member
0 Kudos

Hi Vikas,

The following might help.

REPORT ZCZTEST.

INCLUDE <ICON>.

ULINE.

WRITE: /'USER ADDRESS INFORMATION'.

ULINE.

SKIP 2.

ULINE 10(60).

WRITE: /15 ICON_DATE AS ICON, SY-DATUM,

/15 ICON_TIME AS ICON, SY-UZEIT,

/15 ICON_REPORT AS ICON, 'ABAP48', 30 TEXT-001,

/ TEXT-002 UNDER TEXT-001,

/ TEXT-003 UNDER TEXT-001.

ULINE /10(60).

regards,

Karen

[reward if useful]