<?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: Diff between SLIS n LVC.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179703#M463314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama krishna,&lt;/P&gt;&lt;P&gt;SLIS is for normal ABAP alv programming and &lt;/P&gt;&lt;P&gt;LVC is for Object oriented alv programming.&lt;/P&gt;&lt;P&gt;Both are for ALV's but one is for normal programming and the other for OOABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type refers to existing datatype ,type doesnt occupy memory.&lt;/P&gt;&lt;P&gt;Ex: data: t1 type i.&lt;/P&gt;&lt;P&gt;Like Refers to custom datatype, like occupies memory whenevr it is declared.&lt;/P&gt;&lt;P&gt;Ex : data: t1 type i.&lt;/P&gt;&lt;P&gt;      data : t2 like t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2007 13:25:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-07T13:25:18Z</dc:date>
    <item>
      <title>Diff between SLIS n LVC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179702#M463313</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;&lt;/P&gt;&lt;P&gt;Can you please explain me what exactly is the difference between the type-pools SLIS n LVC and also the difference between LIKE n TYPE in the DATA declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;rama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179702#M463313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T13:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Diff between SLIS n LVC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179703#M463314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama krishna,&lt;/P&gt;&lt;P&gt;SLIS is for normal ABAP alv programming and &lt;/P&gt;&lt;P&gt;LVC is for Object oriented alv programming.&lt;/P&gt;&lt;P&gt;Both are for ALV's but one is for normal programming and the other for OOABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type refers to existing datatype ,type doesnt occupy memory.&lt;/P&gt;&lt;P&gt;Ex: data: t1 type i.&lt;/P&gt;&lt;P&gt;Like Refers to custom datatype, like occupies memory whenevr it is declared.&lt;/P&gt;&lt;P&gt;Ex : data: t1 type i.&lt;/P&gt;&lt;P&gt;      data : t2 like t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179703#M463314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T13:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Diff between SLIS n LVC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179704#M463315</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;Type pool SLIS contains all types, and data structures in ALV.  I am not able to find LVC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; difference between LIKE n TYPE in the DATA declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3034358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3034358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Referring to Known Data Types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the addition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE &amp;lt;type&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to refer to any data type &amp;lt;type&amp;gt; that is already known at this point in the program. It can be used in any of the statements listed below. The expression &amp;lt;obj&amp;gt; is either the name of the data object or the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Referring to Existing Technical Attributes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a variable that inherits exactly the same technical attributes as an existing data type or data object as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA &amp;lt;f&amp;gt; [TYPE &amp;lt;type&amp;gt;|LIKE &amp;lt;obj&amp;gt;]...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the TYPE addition, &amp;lt;type&amp;gt; is any data type with fully-specified technical attributes. This can be a:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Non-generic predefined ABAP type (D, F, I, T, STRING, XSTRING) &lt;/P&gt;&lt;P&gt;Any existing local data type in the program. &lt;/P&gt;&lt;P&gt;Any ABAP Dictionary data type &lt;/P&gt;&lt;P&gt;If you use the LIKE addition, &amp;lt;obj&amp;gt; is a data object that has already been declared. This can also be a predefined data object. The variable &amp;lt;f&amp;gt; adopts the same technical attributes as the data object &amp;lt;obj&amp;gt;. You can also use LIKE to refer to a line of an internal table that has already been declared as a data object:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA &amp;lt;f&amp;gt; LIKE LINE OF &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To ensure compatibility with previous releases, &amp;lt;obj&amp;gt; can also be a database table, a view, a structure, or a component of a structure from the ABAP Dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:28:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179704#M463315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T13:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Diff between SLIS n LVC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179705#M463316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As far as I know, there is not a real difference. The interface of the&lt;/P&gt;&lt;P&gt;function module LVC is different in that it does not use type-group SLIS&lt;/P&gt;&lt;P&gt;anymore for fieldcatalog, but DDIC table types like LVC_T_FCAT. The&lt;/P&gt;&lt;P&gt;possible ALV-functions are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When run in background, both functions delivery their output in&lt;/P&gt;&lt;P&gt;list-format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On WAS700 systems, this function is still not released by SAP.&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:28:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179705#M463316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T13:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Diff between SLIS n LVC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179706#M463317</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;diff bet lvc and slis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u are usin OO alv u have to use LVC_T_FCAT.&lt;/P&gt;&lt;P&gt;if it is normal av u have to use SLIS_T_FIELDCAT_ALV .&lt;/P&gt;&lt;P&gt;u should not use SLIS_T_FIELDCAT_ALV in OO alv and LVC_T_FCAT in normal alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diff betw like and type:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report ZTYPES *&lt;/P&gt;&lt;P&gt;*&amp;amp; *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTYPES .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Table declaration (old method)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: BEGIN OF tab_ekpo OCCURS 0, "itab with header line&lt;/P&gt;&lt;P&gt;ebeln TYPE ekpo-ebeln,&lt;/P&gt;&lt;P&gt;ebelp TYPE ekpo-ebelp,&lt;/P&gt;&lt;P&gt;END OF tab_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Table declaration (new method) "USE THIS WAY!!!&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_ekpo,&lt;/P&gt;&lt;P&gt;ebeln TYPE ekpo-ebeln,&lt;/P&gt;&lt;P&gt;ebelp TYPE ekpo-ebelp,&lt;/P&gt;&lt;P&gt;END OF t_ekpo.&lt;/P&gt;&lt;P&gt;DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0, "itab&lt;/P&gt;&lt;P&gt;wa_ekpo TYPE t_ekpo. "work area (header line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build internal table and work area from existing internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: it_datatab LIKE tab_ekpo OCCURS 0, "old method&lt;/P&gt;&lt;P&gt;wa_datatab LIKE LINE OF tab_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build internal table and work area from existing internal table,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;adding additional fields&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPES: BEGIN OF t_repdata.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE tab_ekpo. "could include EKKO table itself!!&lt;/P&gt;&lt;P&gt;TYPES: bukrs TYPE ekpo-werks,&lt;/P&gt;&lt;P&gt;bstyp TYPE ekpo-bukrs.&lt;/P&gt;&lt;P&gt;TYPES: END OF t_repdata.&lt;/P&gt;&lt;P&gt;DATA: it_repdata TYPE STANDARD TABLE OF t_repdata INITIAL SIZE 0, "itab&lt;/P&gt;&lt;P&gt;wa_repdata TYPE t_repdata. "work area (header line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/tips/tips_itab.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/tips/tips_itab.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type -- refer to data type (may be user defined using types)&lt;/P&gt;&lt;P&gt;like -- refer to database fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:34:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179706#M463317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T13:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Diff between SLIS n LVC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179707#M463318</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;&lt;/P&gt;&lt;P&gt;Thanks a lot for the answers....i just want to continue the topic a bit more...when i use the type or like in my syntax, does it have any effect on the performance of the program(any load on the database)....which one is feasible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 13:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179707#M463318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T13:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Diff between SLIS n LVC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179708#M463319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;the performance doent effect anyway by using type or like,&lt;/P&gt;&lt;P&gt;but its better to use TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as it will be hard to identify the userdefined dat types using LIKE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 14:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179708#M463319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T14:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Diff between SLIS n LVC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179709#M463320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naveen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 14:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-slis-n-lvc/m-p/2179709#M463320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T14:22:10Z</dc:date>
    </item>
  </channel>
</rss>

