Hello, Before when I used to create my output using the traditional SAS monospace output, the blank spaces to the left were preserved and the line breaks were created, and my AE output was similar to the output below. I've now converted my outputs to RTF, and now the output in the report (for the column of interest) is either to the left, to the right or in the center. Can you please let me know how I can add indents to my RTF output? Also can you please let me know how I can also add the line breaks into the output too? Please see below for the example dataset and code. MedDRA System Organ Class Preferred Term CTCAE Grade ------------------------------------------------------------------------------------------- ANY SYSTEM / ANY TERM Total (3 + 4 + 5) 3 4 5 BLOOD AND LYMPHATIC SYSTEM DISORDERS Neutropenia Total (3 + 4 + 5) 3 4 5 data test; input @1 mycat $40. ptermord; cards; ANY SYSTEM / ANY TERM 1 Total (3 + 4 + 5) 1 3 1 4 1 5 1 BLOOD AND LYMPHATIC SYSTEM DISORDERS 2 Neutropenia 2 Total (3 + 4 + 5) 2 3 2 4 2 5 2 ; run; * Creating indents *; ods rtf file = "test.rtf"; data test2; set test; if _n_ in (2, 3, 4, 5, 8, 9, 10, 11) then mycat = " "||mycat; run; proc report data=test2 headline headskip split="¬" nowd missing style(report)=[whitespace=pre_wrap NOBREAKSPACE= OFF]; column MyCat ptermord; define MyCat / display left width=73 format=$200. left flow id "MedDRA System Organ Class¬ Preferred Term¬ CTCAE Grade" style(column)=[cellwidth=75% WHITESPACE=PRE textalign = _UNDEF_]; define ptermord / order order=internal noprint; break after ptermord / SKIP ; run; ods rtf close; Many thanks in advance!
... View more