<?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: Calling a function module and displaying in ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745594#M901232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create an Internal Table with all the fields u want and use  the function module by giving three parameters : matnr              =&lt;/P&gt;&lt;P&gt;    werks              =&lt;/P&gt;&lt;P&gt;    perkz              =&lt;/P&gt;&lt;P&gt;    periv              =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create an internal table like SVERBTABA to get total consumption and use Move-corresponding to get all the info into u r final inetrnal table and display using ALV funcyion modules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2008 11:31:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-24T11:31:52Z</dc:date>
    <item>
      <title>Calling a function module and displaying in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745592#M901230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get a month by month alv grid from the data held in function module 'Consumption_Read_For_MM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to create an ALV grid but how do I get the data from this function module to display it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745592#M901230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T11:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a function module and displaying in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745593#M901231</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;1st create an internal table and append all the entries to that internal table which you are getting and finally pass that internal table to that ALV Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745593#M901231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T11:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a function module and displaying in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745594#M901232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create an Internal Table with all the fields u want and use  the function module by giving three parameters : matnr              =&lt;/P&gt;&lt;P&gt;    werks              =&lt;/P&gt;&lt;P&gt;    perkz              =&lt;/P&gt;&lt;P&gt;    periv              =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create an internal table like SVERBTABA to get total consumption and use Move-corresponding to get all the info into u r final inetrnal table and display using ALV funcyion modules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745594#M901232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T11:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a function module and displaying in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745595#M901233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is a great help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the function module do I reference the internal table fields like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONSUMPTION_READ_FOR_MM'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    MATNR = S_MATNR.&lt;/P&gt;&lt;P&gt;werks = S_MATNR.&lt;/P&gt;&lt;P&gt;perkz = tbl_SVERBTABA-ERTAG&lt;/P&gt;&lt;P&gt;periv = tbl_SVERBTABA-VBWRT.&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;SVERBTABA = tbl_sverbtaba&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;  program_error            = 1&lt;/P&gt;&lt;P&gt;  others                   = 2.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would imagine something like this is needed so the fields correspond to my internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:49:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745595#M901233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T11:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a function module and displaying in ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745596#M901234</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;No. Lopp at your internal table &amp;amp; pass a single value of matnr at a time . Same is applicable for werks as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 12:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-function-module-and-displaying-in-alv/m-p/3745596#M901234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T12:27:04Z</dc:date>
    </item>
  </channel>
</rss>

