<?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: Replace Table Control with ALV Grid Control using Classes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559071#M252960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes we can replace Table control with ALV in Dynpro/Module pool programming. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The advantage of Table control is that you can directly link Database tables to table control using Loop..Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in case of ALV, you need to create Field catalog and assign it. Also you need to create  a container on the screen for ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the answers are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Yes, in theory it can be done.&lt;/P&gt;&lt;P&gt;2. No downside as such. Infact ALV provides lots of features ( Auto sorting/ Summations -- ALV toolbar ) which table control doesnt provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done the same in one of our project, because Business Users wanted all the features provided by ALV in module pool program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : Please reward all helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Sep 2006 07:44:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-16T07:44:42Z</dc:date>
    <item>
      <title>Replace Table Control with ALV Grid Control using Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559069#M252958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to evaluate if the ALV Grid control can be used as a replacement for the normal table control in dynpro programmming. I am trying to understand &lt;/P&gt;&lt;P&gt;1) Can this in theory be done&lt;/P&gt;&lt;P&gt;2) Is there any downside to such kind of a replacement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My curiosity stems from the fact that even the ALV Grid control has events which can be used for data validation. However can these completely replace the classic LOOP at TABLECONTROL technique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 07:38:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559069#M252958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T07:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Table Control with ALV Grid Control using Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559070#M252959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amit,&lt;/P&gt;&lt;P&gt;welcome to SDN.&lt;/P&gt;&lt;P&gt;The Concept of Table Control and ALV Grid are entirely different.so you cannot replace one with the other..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 07:44:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559070#M252959</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-09-16T07:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Table Control with ALV Grid Control using Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559071#M252960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes we can replace Table control with ALV in Dynpro/Module pool programming. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The advantage of Table control is that you can directly link Database tables to table control using Loop..Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in case of ALV, you need to create Field catalog and assign it. Also you need to create  a container on the screen for ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the answers are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Yes, in theory it can be done.&lt;/P&gt;&lt;P&gt;2. No downside as such. Infact ALV provides lots of features ( Auto sorting/ Summations -- ALV toolbar ) which table control doesnt provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done the same in one of our project, because Business Users wanted all the features provided by ALV in module pool program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : Please reward all helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 07:44:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559071#M252960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T07:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Table Control with ALV Grid Control using Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559072#M252961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am with ALV in thi matter.&lt;/P&gt;&lt;P&gt;we can do anythin in ALV, as like a table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly go to se38- &amp;gt; give BCALV_ and press f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can c a lot of class programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we go thru this programs carefully, we can c that we can do anything with ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helped mark points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 08:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559072#M252961</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-09-16T08:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Table Control with ALV Grid Control using Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559073#M252962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you kindly send me a code example for this.&lt;/P&gt;&lt;P&gt;Would appreciate the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My email id is amit-kumar.behera@atosorigin.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 11:41:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559073#M252962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T11:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Table Control with ALV Grid Control using Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559074#M252963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV can be created using containers in the DynPros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just go through these documents and you will get good idea about working with ALV using OOPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/b708766f-a934-42a1-8064-c4de75b48fc4/Sample-Program-of-alv-using-oops.ppt" target="test_blank"&gt;http://esnips.com/doc/b708766f-a934-42a1-8064-c4de75b48fc4/Sample-Program-of-alv-using-oops.ppt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/a2e42503-cf0f-4418-94ee-580f5900a81f/alv-with-oop.doc" target="test_blank"&gt;http://esnips.com/doc/a2e42503-cf0f-4418-94ee-580f5900a81f/alv-with-oop.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/2d953590-e8c5-490c-a607-d1ab7cf517d7/ALV.pdf" target="test_blank"&gt;http://esnips.com/doc/2d953590-e8c5-490c-a607-d1ab7cf517d7/ALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Award points if found useful.&amp;lt;/b&amp;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;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 12:44:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559074#M252963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-16T12:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Table Control with ALV Grid Control using Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559075#M252964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course it is possible to replace a table control with an ALV grid.&lt;/P&gt;&lt;P&gt;Last year I worked in a project where actually used this replacement: the client wanted to add his specific data to the material master data (displayed in a subscreen) and, at the same time, these data should be maintainable in a separate report (for mass-maintenance).&lt;/P&gt;&lt;P&gt;I used the ALV grid approach for two reasons:&lt;/P&gt;&lt;P&gt;(1) I cannot program table controls anymore because it is such an old-fashioned programming technique&lt;/P&gt;&lt;P&gt;(2) I did not want to two different solutions, but a single solution that could be used in both situations (material master data and mass-maintenance report).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the ALV grid approach allows such solutions because the container instance holding the Grid instance can be linked (using the container method LINK) to any dynpro. In my case I linked the ALV grid either to the subscreen in the material master data or to the dynpro in the mass-maintenance report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, as soon as the customer realized the potential of the ALV grid solution (which they had seen for the first time in material master data) they generated lots of additional requirements (particularly for validating data) which hardly could be realized using classical table controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus, my recommendation is: whenever you have the choice between a table control and an ALV grid choose the grid because its flexibility is much higher and new requirements can be implemented much easier and faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Sep 2006 14:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-table-control-with-alv-grid-control-using-classes/m-p/1559075#M252964</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-09-16T14:27:02Z</dc:date>
    </item>
  </channel>
</rss>

