<?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: Converting  Rows Into Column Headers - ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-rows-into-column-headers-alv/m-p/6032849#M1349652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you want to display this in an ALV; then your internal table will be dynamic.&lt;/P&gt;&lt;P&gt;Your internal table will consists of following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Work Centre&lt;/P&gt;&lt;P&gt;ship-to-party address 50020&lt;/P&gt;&lt;P&gt;ship-to-party address 50021&lt;/P&gt;&lt;P&gt;ship-to-party address 50022&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;ship-to-party address N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ship-to-party address columns will not be of type character as in this columns you have to store the workcentres in them.&lt;/P&gt;&lt;P&gt;Create your dynamic internal table using the class &lt;/P&gt;&lt;P&gt;CL_ALV_TABLE_CREATE and method CREATE_DYNAMIC_TABLE.&lt;/P&gt;&lt;P&gt;You will have to create a fieldcatalog table and pass to the method.&lt;/P&gt;&lt;P&gt;Then use the dynamic internal table created to store your data horizontally against each ship-to-party address  column.&lt;/P&gt;&lt;P&gt;Display the output in an ALV.&lt;/P&gt;&lt;P&gt;Pass the ship-to-party address values as the description for each ship-to-party address column in the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you get the concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akash Rana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Aug 2009 09:28:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-08T09:28:01Z</dc:date>
    <item>
      <title>Converting  Rows Into Column Headers - ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-rows-into-column-headers-alv/m-p/6032848#M1349651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all ,&lt;/P&gt;&lt;P&gt;         I have a doubt like how can i convert my dynamic internal table rows into column headers in my alv grid program .&lt;/P&gt;&lt;P&gt;For eg: i have 3 ship-to-party address 50020,50021 and 50022 in my dynamic internal table . i need these values as column headers on alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please show some light on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sri on Aug 8, 2009 8:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2009 06:38:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-rows-into-column-headers-alv/m-p/6032848#M1349651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-08T06:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Converting  Rows Into Column Headers - ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-rows-into-column-headers-alv/m-p/6032849#M1349652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you want to display this in an ALV; then your internal table will be dynamic.&lt;/P&gt;&lt;P&gt;Your internal table will consists of following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Work Centre&lt;/P&gt;&lt;P&gt;ship-to-party address 50020&lt;/P&gt;&lt;P&gt;ship-to-party address 50021&lt;/P&gt;&lt;P&gt;ship-to-party address 50022&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;ship-to-party address N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ship-to-party address columns will not be of type character as in this columns you have to store the workcentres in them.&lt;/P&gt;&lt;P&gt;Create your dynamic internal table using the class &lt;/P&gt;&lt;P&gt;CL_ALV_TABLE_CREATE and method CREATE_DYNAMIC_TABLE.&lt;/P&gt;&lt;P&gt;You will have to create a fieldcatalog table and pass to the method.&lt;/P&gt;&lt;P&gt;Then use the dynamic internal table created to store your data horizontally against each ship-to-party address  column.&lt;/P&gt;&lt;P&gt;Display the output in an ALV.&lt;/P&gt;&lt;P&gt;Pass the ship-to-party address values as the description for each ship-to-party address column in the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you get the concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akash Rana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2009 09:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-rows-into-column-headers-alv/m-p/6032849#M1349652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-08T09:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Converting  Rows Into Column Headers - ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-rows-into-column-headers-alv/m-p/6032850#M1349653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar requirement.&lt;/P&gt;&lt;P&gt;Check this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1438459"&gt;&lt;/A&gt;;&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;Ankur Parab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2009 09:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-rows-into-column-headers-alv/m-p/6032850#M1349653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-08T09:56:19Z</dc:date>
    </item>
  </channel>
</rss>

