Once I remove CELLWIDTH=3.4IN and CELLWIDTH=1IN . I get the right result . OPTIONS NODATE NONUMBER NOCENTER NOBYLINE TOPMARGIN="1IN" BOTTOMMARGIN="1IN" LEFTMARGIN="1IN" RIGHTMARGIN="1IN" MISSING=' '; ODS ESCAPECHAR='^'; ODS PDF FILE="c:\temp\DOC.PDF" UNIFORM NOTOC; ODS PDF STARTPAGE=NO; PROC REPORT DATA=SASHELP.COMPANY NOWINDOWS HEADLINE MISSING style(report)={outputwidth=100% rules=none frame=void borderspacing=0} style(header)={borderwidth=0 borderspacing=0 backgroundcolor=cx990000 color=white font_size=16pt font_face='Franklin Gothic Demi Cond'} style(column)={borderwidth=0 borderspacing=0 font_size=12pt font_face='Franklin Gothic Medium Cond'} style(summary)={borderspacing=0 bordertopwidth=2 bordertopcolor=black font_size=16pt font_face='Franklin Gothic Demi Cond'}; COLUMN ('Level 3' LEVEL3) LEVEL2,N; DEFINE LEVEL3 / GROUP '' STYLE(COLUMN)=[ borderspacing=0]; COMPUTE LEVEL3; COUNT+1; IF (MOD(COUNT,2)) THEN CALL DEFINE(_ROW_, 'STYLE','STYLE=[BACKGROUND=#FFCCCC borderspacing=0]'); IF _BREAK_='_RBREAK_' THEN CALL DEFINE('LEVEL3','style','style=[pretext="Total"]'); IF _BREAK_='_RBREAK_' THEN CALL DEFINE(_ROW_, 'STYLE','STYLE=[BACKGROUND=#FFFFFF]'); ENDCOMP; DEFINE LEVEL2 / ACROSS '' STYLE(COLUMN)=[borderspacing=0]; DEFINE N / '' FORMAT=COMMA8.0 STYLE(COLUMN)=[borderspacing=0]; RBREAK AFTER / SUMMARIZE; RUN; ODS PDF CLOSE;
... View more