<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788447#M650296</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;Do like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a new table tab1 of same structure as tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT tab BY matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab1-matnr = tab-matnr.&lt;/P&gt;&lt;P&gt;tab1-qty = tab-qty.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;APPEND tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT END OF matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL function 'REUSE_ALV_GRID_LIST' using table tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the function call, REFRESH tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the catalog table before the loop only, so you will only change the data table contents in the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vikas Bittera.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Sep 2007 06:28:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-01T06:28:32Z</dc:date>
    <item>
      <title>ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788446#M650295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Please help me regarding my issue. I have one internal table in that table i have the records in the following format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;Material&amp;lt;/u&amp;gt;   &amp;lt;u&amp;gt;quantity&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    mat1                   100&lt;/P&gt;&lt;P&gt;    mat1                   200&lt;/P&gt;&lt;P&gt;    mat1                   600&lt;/P&gt;&lt;P&gt;    mat2                   10&lt;/P&gt;&lt;P&gt;    mat2                   20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      I need to develop alv report for mat1 and another alv for mat2. How to do this? Please guide me some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be awarded&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2007 06:20:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788446#M650295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-01T06:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788447#M650296</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;Do like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a new table tab1 of same structure as tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT tab BY matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab1-matnr = tab-matnr.&lt;/P&gt;&lt;P&gt;tab1-qty = tab-qty.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;APPEND tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT END OF matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL function 'REUSE_ALV_GRID_LIST' using table tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the function call, REFRESH tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the catalog table before the loop only, so you will only change the data table contents in the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vikas Bittera.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2007 06:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788447#M650296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-01T06:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788448#M650297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can split the internal table into multiple internal tables based on material but you can show only one alv report at a time using simple list or grid display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, build a hierarchy alv report where you will display the list of material in the header and when you can display the details in item details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2007 06:32:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788448#M650297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-01T06:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788449#M650298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravikanth,&lt;/P&gt;&lt;P&gt;first have one more internal table wth the same records.&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;move-correspong itab1 to itab2.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;now itab1 and itab2 will have the same data.&lt;/P&gt;&lt;P&gt;************&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;if itab1-matnr  NE 'MAT1'&lt;/P&gt;&lt;P&gt;delete itab1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;call reuse_alv_grid_display&lt;/P&gt;&lt;P&gt;In this alv pass internal table itab1 so that you will have only records related to MAT1.&lt;/P&gt;&lt;P&gt;********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;if itab2-matnr NE 'MAT2'&lt;/P&gt;&lt;P&gt;delete itab2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;call resue_alv_list_display.&lt;/P&gt;&lt;P&gt;In this alv pass internal table itab2 so that you will have only records related to MAT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any doubts revert it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kiran K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2007 06:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788449#M650298</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-09-01T06:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788450#M650299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;have a look at the following SDN wiki code snippet&lt;/P&gt;&lt;P&gt;(hope you can adapt it to your needs):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/tabstrip%20in%20alv(OOPS)&amp;amp;focusedCommentId=38805" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/tabstrip%20in%20alv(OOPS)&amp;amp;focusedCommentId=38805&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2007 10:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2788450#M650299</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2007-09-01T10:49:35Z</dc:date>
    </item>
  </channel>
</rss>

