<?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 Dynamic Alv Alignment problem in Print preview (SALV) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496310#M1932534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Dear Experts,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am using Salv Method to display the report.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Both display and print preview looks different by alignment and some contents are not displayed fully.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Display&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/878629" width="450" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Print preview.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/878633" width="450" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Declared dynamic fields&amp;nbsp; with of reference table (makt) and field name (Maktx).&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;gr_columns&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;set_optimize&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;lv_true &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Kindly guide me.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2016 16:00:21 GMT</pubDate>
    <dc:creator>VenkatRamesh_V</dc:creator>
    <dc:date>2016-02-01T16:00:21Z</dc:date>
    <item>
      <title>Dynamic Alv Alignment problem in Print preview (SALV)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496310#M1932534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Dear Experts,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am using Salv Method to display the report.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Both display and print preview looks different by alignment and some contents are not displayed fully.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Display&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/878629" width="450" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Print preview.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/878633" width="450" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Declared dynamic fields&amp;nbsp; with of reference table (makt) and field name (Maktx).&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;gr_columns&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;set_optimize&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;lv_true &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Kindly guide me.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:00:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496310#M1932534</guid>
      <dc:creator>VenkatRamesh_V</dc:creator>
      <dc:date>2016-02-01T16:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Alv Alignment problem in Print preview (SALV)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496311#M1932535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SALV is using the total of all columns length to determine the page layout (like X_65_80 or X_65_255). You can influence this by getting the print object using the GET_PRINT. Use the method SET_PRINT_CONTROL to set the format for the page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you should break the hierarchy which you print at the bottom of the page. When you concatenate each value to make the string, just check the length of the string, if it is more than few (like 80 char), start a new string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496311#M1932535</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2016-02-01T16:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Alv Alignment problem in Print preview (SALV)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496312#M1932536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already used &lt;SPAN style="color: #333333; font-size: 13.3333px;"&gt;set_optimize but in print preview column is not optimized.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333px;"&gt;Venkat&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 01:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496312#M1932536</guid>
      <dc:creator>VenkatRamesh_V</dc:creator>
      <dc:date>2016-02-02T01:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Alv Alignment problem in Print preview (SALV)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496313#M1932537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to add LINE-SIZE width in your report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex : REPORT Zxxxxx LINE WIDTH 150.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Thierry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 09:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496313#M1932537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-02T09:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Alv Alignment problem in Print preview (SALV)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496314#M1932538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, the SET_OPTIMIZE will only effect the columns not the Long Text in the End of the page. Try setting up the print layout with wider page layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-alv-alignment-problem-in-print-preview-salv/m-p/11496314#M1932538</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2016-02-02T14:41:24Z</dc:date>
    </item>
  </channel>
</rss>

