‎2007 Sep 27 11:32 AM
‎2007 Sep 27 11:37 AM
‎2007 Sep 27 11:37 AM
‎2007 Sep 27 11:59 AM
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!!!
‎2007 Sep 27 12:01 PM
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
‎2007 Sep 27 12:19 PM
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]