<?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: ALV - Automatic Adjustable Columns (based on selection criteria) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428346#M1410570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Halo John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its very much possible in ALV Grid. It all depends upon the logic you build the field Catalog.&lt;/P&gt;&lt;P&gt;Your Initial field catalog should have 12 fields ( ie 12 month names )&lt;/P&gt;&lt;P&gt;Depending upon the user input , you can put the no_out = abap_true.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2009 23:15:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-03T23:15:53Z</dc:date>
    <item>
      <title>ALV - Automatic Adjustable Columns (based on selection criteria)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428342#M1410566</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;I am currently in the process of building a costing report for a number of materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the output, the columns will be the months, while the rows will pertain to the specific materials (1 or 2 columns for the material text and info).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, the columns of the report will look something like:&lt;/P&gt;&lt;P&gt;Material  January  February  March u2026.. December&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the selection-screen, I will have input fields, including posting period range (month) and fiscal year single value.&lt;/P&gt;&lt;P&gt;If the user enters year 2008 and period 10, I only want 1 column for October, with the other columns not present&lt;/P&gt;&lt;P&gt;If they enter year 2008 and period 10 to 11, then only columns October and November show be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible in abap ALV programming? If so, how? Are there FMu2019s and object-oriented routes that I can take &amp;amp; if so, what do I do? Please provide code samples if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 18:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428342#M1410566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T18:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALV - Automatic Adjustable Columns (based on selection criteria)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428343#M1410567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can accomplish this using dynamic internal tables... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one another alternative is to have rows of months and columns as data... ie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;jan       data1 data2....

feb 

mar
......&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 18:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428343#M1410567</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-12-03T18:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV - Automatic Adjustable Columns (based on selection criteria)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428344#M1410568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can achieve it using the dynamic internal table. Check this link which describes similar internal table creation dynamically.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help-abap.blogspot.com/2008/09/dynamic-internal-table-creation.html" target="test_blank"&gt;http://help-abap.blogspot.com/2008/09/dynamic-internal-table-creation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 18:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428344#M1410568</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2009-12-03T18:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: ALV - Automatic Adjustable Columns (based on selection criteria)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428345#M1410569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks - Just what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking a bit into  this and found that another option is to hide the fields before output.&lt;/P&gt;&lt;P&gt;I think hiding might work better, since the only columns that I want missing are the ones containing months that the user didn't specify in the selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still, thanks. Very useful to know that this option exists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 19:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428345#M1410569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T19:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV - Automatic Adjustable Columns (based on selection criteria)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428346#M1410570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Halo John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its very much possible in ALV Grid. It all depends upon the logic you build the field Catalog.&lt;/P&gt;&lt;P&gt;Your Initial field catalog should have 12 fields ( ie 12 month names )&lt;/P&gt;&lt;P&gt;Depending upon the user input , you can put the no_out = abap_true.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 23:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-automatic-adjustable-columns-based-on-selection-criteria/m-p/6428346#M1410570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-03T23:15:53Z</dc:date>
    </item>
  </channel>
</rss>

