<?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: TYPES DECLARATION IN REPORT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597053#M866252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Both are same.....&lt;/P&gt;&lt;P&gt;mara-matnr is reference matnr of mara but if u wrote matnr type matnr it means it refrenced directly journal matnr data element but a purpose for which u r using no issues u can use either.......&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Mar 18, 2008 6:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2008 13:58:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-18T13:58:29Z</dc:date>
    <item>
      <title>TYPES DECLARATION IN REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597048#M866247</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;IN CREATION OF REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is better to write &lt;STRONG&gt;nameoftable-fieldname&lt;/STRONG&gt; or &lt;STRONG&gt;dataelementname&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for exp : &lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Types : begin of ty_mara,&lt;/P&gt;&lt;P&gt;               matnr type &lt;STRONG&gt;mara-matnr&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;               pstat type &lt;STRONG&gt;mara-pstat&lt;/STRONG&gt;   , &lt;/P&gt;&lt;P&gt;        end of ty_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Types : begin of ty_mara,&lt;/P&gt;&lt;P&gt;               matnr type &lt;STRONG&gt;matnr ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                pstat type &lt;STRONG&gt;pstat_d&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;            end of ty_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which one is the common practice...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls tell me this&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajan Mehta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 13:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597048#M866247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T13:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES DECLARATION IN REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597049#M866248</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;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Types : begin of ty_mara,
matnr type mara-matnr,
pstat type mara-pstat , 
end of ty_mara.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the best way .&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;S.Nehru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 13:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597049#M866248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T13:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES DECLARATION IN REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597050#M866249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;referring to the data element ..  is better ... &lt;/P&gt;&lt;P&gt;as the nameoftable-fieldname will also refer to the data element&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 13:57:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597050#M866249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T13:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES DECLARATION IN REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597051#M866250</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;The first one is of common practice, and widely used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second one is usually not preferred because it generally refers to a domain and not to a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Mar 18, 2008 6:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 13:57:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597051#M866250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T13:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES DECLARATION IN REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597052#M866251</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;&lt;STRONG&gt;nameoftable-fieldname&lt;/STRONG&gt;  this is the common practice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 13:58:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597052#M866251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T13:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES DECLARATION IN REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597053#M866252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Both are same.....&lt;/P&gt;&lt;P&gt;mara-matnr is reference matnr of mara but if u wrote matnr type matnr it means it refrenced directly journal matnr data element but a purpose for which u r using no issues u can use either.......&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Mar 18, 2008 6:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 13:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597053#M866252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T13:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: TYPES DECLARATION IN REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597054#M866253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rajan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I would say the first one TABLE-FIELDNAME &lt;/P&gt;&lt;P&gt;   is always better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Bcos&lt;/P&gt;&lt;P&gt;3. We are essentially interested in the FIELDNAMEs type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. In future, if SAP changes the data element of the&lt;/P&gt;&lt;P&gt;    field, then we do not need to change the program.&lt;/P&gt;&lt;P&gt;    The program (since it is declared using table-fieldname),&lt;/P&gt;&lt;P&gt;   will automatically ADAPT to the new settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(If we had declared using data element, then&lt;/P&gt;&lt;P&gt;  our program would not ADAPT to the field in question. It would&lt;/P&gt;&lt;P&gt;still point to the old data element, which is now not used in the table)&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 14:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/types-declaration-in-report/m-p/3597054#M866253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T14:00:17Z</dc:date>
    </item>
  </channel>
</rss>

