<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: increase font size in reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-font-size-in-reports/m-p/3899872#M935849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the code below :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT  z_demo_alv_jg                           .

* Include for all style values
INCLUDE &amp;lt;cl_alv_control&amp;gt;.

* Internal table for final output data

DATA: i_flight TYPE STANDARD TABLE OF sflight.* Internal table for field catalog info

DATA: i_fields TYPE lvc_t_fcat.* Field symbol for field catalog

FIELD-SYMBOLS: &amp;lt;wa_fields&amp;gt; TYPE lvc_s_fcat.

* Select data
SELECT * FROM sflight
INTO TABLE i_flight
UP TO 100 ROWS.

IF sy-subrc = 0.
* Get field catalog

  CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
   EXPORTING
      i_structure_name             = 'SFLIGHT'
    CHANGING
      ct_fieldcat                  = i_fields
   EXCEPTIONS
     inconsistent_interface       = 1
     program_error                = 2
     OTHERS                       = 3
            .
  IF sy-subrc = 0.

*   Changing the style of field catalog
    LOOP AT i_fields ASSIGNING &amp;lt;wa_fields&amp;gt;.
      IF sy-tabix &amp;gt; 4.
        &amp;lt;wa_fields&amp;gt;-style  =  ALV_STYLE_FONT_ITALIC.
      ELSE.
        &amp;lt;wa_fields&amp;gt;-style  =  ALV_STYLE_FONT_BOLD.
      ENDIF.
    ENDLOOP. 
 ENDIF.
* Calling the FM to display ALV report

  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
    EXPORTING
      i_structure_name = 'SFLIGHT'
      i_grid_title     = 'Style demo'(001)
      it_fieldcat_lvc  = i_fields
    TABLES
      t_outtab         = i_flight
    EXCEPTIONS
      program_error    = 1
      OTHERS           = 2.

  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2008 04:55:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-06T04:55:48Z</dc:date>
    <item>
      <title>increase font size in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-font-size-in-reports/m-p/3899870#M935847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;is it possible ti increase font size in our reports,m working on one report in which user wants that heading of my report should be very bold,likewise the few more headings..is it possible to do  in reports.if yes then plz tell me how cud i b able to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 04:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-font-size-in-reports/m-p/3899870#M935847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T04:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: increase font size in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-font-size-in-reports/m-p/3899871#M935848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you change the LINE-SIZE and LINE-COUNT parameters in the REPORT &lt;/P&gt;&lt;P&gt;statement of the report, you can control the number of rows and columns &lt;/P&gt;&lt;P&gt;that appear on the report. If you choose a larger amount of columns (65 &lt;/P&gt;&lt;P&gt;X 255 for example), SAP will automatically choose a smaller font. Aside &lt;/P&gt;&lt;P&gt;from that, your best bet is probably to create a SAPscript form and &lt;/P&gt;&lt;P&gt;print your report using that. That way you will have a lot more control &lt;/P&gt;&lt;P&gt;over the fonts and overall formatting of the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To change the font size on SAPgui.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( SAPgui version 6.10 only): &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start SAPgui 6.10. &lt;/P&gt;&lt;P&gt;In the top SAP menu bar, click on the white question mark (?) at the far right. &lt;/P&gt;&lt;P&gt;Select Visual Settings. &lt;/P&gt;&lt;P&gt;When the Visual Settings dialog box appears, click on the Font Size tab and choose your preference on the panel that appears. &lt;/P&gt;&lt;P&gt;When you have made your selection, click Apply. &lt;/P&gt;&lt;P&gt;Result: You see the changes in your open SAP window. &lt;/P&gt;&lt;P&gt;If you want to keep the changes, click on OK. &lt;/P&gt;&lt;P&gt;PC: &lt;/P&gt;&lt;P&gt;In the Task Bar at the very far right in the System Tray, click on the SAP GUI Setting icon. &lt;/P&gt;&lt;P&gt;To change the font size, in the Font Size panel, select the font size (by percentage) that you want and click OK &lt;/P&gt;&lt;P&gt;Restart SAP. &lt;/P&gt;&lt;P&gt;Result: The change takes effect when you restart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://web.mit.edu/sapr3/docs/webdocs/getstarted/gsCOLORS.html" target="test_blank"&gt;http://web.mit.edu/sapr3/docs/webdocs/getstarted/gsCOLORS.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 04:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-font-size-in-reports/m-p/3899871#M935848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T04:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: increase font size in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/increase-font-size-in-reports/m-p/3899872#M935849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the code below :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT  z_demo_alv_jg                           .

* Include for all style values
INCLUDE &amp;lt;cl_alv_control&amp;gt;.

* Internal table for final output data

DATA: i_flight TYPE STANDARD TABLE OF sflight.* Internal table for field catalog info

DATA: i_fields TYPE lvc_t_fcat.* Field symbol for field catalog

FIELD-SYMBOLS: &amp;lt;wa_fields&amp;gt; TYPE lvc_s_fcat.

* Select data
SELECT * FROM sflight
INTO TABLE i_flight
UP TO 100 ROWS.

IF sy-subrc = 0.
* Get field catalog

  CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
   EXPORTING
      i_structure_name             = 'SFLIGHT'
    CHANGING
      ct_fieldcat                  = i_fields
   EXCEPTIONS
     inconsistent_interface       = 1
     program_error                = 2
     OTHERS                       = 3
            .
  IF sy-subrc = 0.

*   Changing the style of field catalog
    LOOP AT i_fields ASSIGNING &amp;lt;wa_fields&amp;gt;.
      IF sy-tabix &amp;gt; 4.
        &amp;lt;wa_fields&amp;gt;-style  =  ALV_STYLE_FONT_ITALIC.
      ELSE.
        &amp;lt;wa_fields&amp;gt;-style  =  ALV_STYLE_FONT_BOLD.
      ENDIF.
    ENDLOOP. 
 ENDIF.
* Calling the FM to display ALV report

  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
    EXPORTING
      i_structure_name = 'SFLIGHT'
      i_grid_title     = 'Style demo'(001)
      it_fieldcat_lvc  = i_fields
    TABLES
      t_outtab         = i_flight
    EXCEPTIONS
      program_error    = 1
      OTHERS           = 2.

  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 04:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/increase-font-size-in-reports/m-p/3899872#M935849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T04:55:48Z</dc:date>
    </item>
  </channel>
</rss>

