<?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/1197763#M130187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u have to give the name in fieldacatalog like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcat-fieldname = 'TOTPRICE' &lt;/P&gt;&lt;P&gt;  FIELDCAT-SELTEXT_M = 'TOT_PRICE'.&lt;/P&gt;&lt;P&gt;  FIELDCAT-COL_POS = COL_POS.&lt;/P&gt;&lt;P&gt;  FIELDCAT-OUTPUTLEN = OUTPUTLEN.&lt;/P&gt;&lt;P&gt;  APPEND FIELDCAT TO FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. THE FIELDCAT IS VERY IMPORTANT. WHAT EVER SELTEXT U GIVE IN FIELDCATALOG APPEARS IN THE O/P OF ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. U NEED TO BUILD FIELDCAT AND PASS IT TO REUSE_ALV fn module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. &amp;lt;b&amp;gt;there is no rule that fieldcat fields should be there in either database table or even internal table.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Mar 2006 05:22:28 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2006-03-01T05:22:28Z</dc:date>
    <item>
      <title>ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197762#M130186</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;if a column in an alv is not a table field like in a table we will have 'Quantity' and 'Price' fields but not the 'TotPrice' field so if we calculate the totprice(Quantity * Price) and add in our internal table, how will i get the name of this column as TotPrice in alv and its subtotals and totals. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls do the needful asap.&lt;/P&gt;&lt;P&gt;&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>Wed, 01 Mar 2006 05:13:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197762#M130186</guid>
      <dc:creator>ravi_sirigiri</dc:creator>
      <dc:date>2006-03-01T05:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197763#M130187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u have to give the name in fieldacatalog like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcat-fieldname = 'TOTPRICE' &lt;/P&gt;&lt;P&gt;  FIELDCAT-SELTEXT_M = 'TOT_PRICE'.&lt;/P&gt;&lt;P&gt;  FIELDCAT-COL_POS = COL_POS.&lt;/P&gt;&lt;P&gt;  FIELDCAT-OUTPUTLEN = OUTPUTLEN.&lt;/P&gt;&lt;P&gt;  APPEND FIELDCAT TO FIELDCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. THE FIELDCAT IS VERY IMPORTANT. WHAT EVER SELTEXT U GIVE IN FIELDCATALOG APPEARS IN THE O/P OF ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. U NEED TO BUILD FIELDCAT AND PASS IT TO REUSE_ALV fn module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. &amp;lt;b&amp;gt;there is no rule that fieldcat fields should be there in either database table or even internal table.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2006 05:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197763#M130187</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-03-01T05:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197764#M130188</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;You have to manually set the name of this column as Tot Price, by modifying the fieldcatalog.you have to move the name to SELTEXT_L Of your fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghavendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2006 05:23:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197764#M130188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-01T05:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197765#M130189</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; if the field is present in the itab..&lt;/P&gt;&lt;P&gt; you can use the fieldcatalogue to display these options..&lt;/P&gt;&lt;P&gt; for eg.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;tempcat-fieldname = &amp;lt;tot_price&amp;gt;.
*for display of heading
  tempcat-seltext_l = 'Total Price'.
  tempcat-ddictxt = 'L'.
*for total
  tempcat-do_sum = 'X'.
APPEND TEMPCAT TO FIELDCAT .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for &amp;lt;b&amp;gt;subtotal use it_sort of type slis_t_sortinfo_ALV.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2006 05:24:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197765#M130189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-01T05:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197766#M130190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hymavathi Oruganti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2006 05:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197766#M130190</guid>
      <dc:creator>ravi_sirigiri</dc:creator>
      <dc:date>2006-03-01T05:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197767#M130191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. It is working.&lt;/P&gt;&lt;P&gt;&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>Wed, 01 Mar 2006 05:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1197767#M130191</guid>
      <dc:creator>ravi_sirigiri</dc:creator>
      <dc:date>2006-03-01T05:37:57Z</dc:date>
    </item>
  </channel>
</rss>

