<?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: Custom Function Module - internal table with employee data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454467#M1056087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;yes you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write code for fetching data from db into int table.&lt;/P&gt;&lt;P&gt;pass that table i.e. under tables tab declare one more table like that int table.&lt;/P&gt;&lt;P&gt;now as u have table for required output no need to specify &lt;/P&gt;&lt;P&gt;export parameters.&lt;/P&gt;&lt;P&gt;when u call that FM extract  output into one more table .&lt;/P&gt;&lt;P&gt;display that output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it will resolve ur query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2008 12:44:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-16T12:44:04Z</dc:date>
    <item>
      <title>Custom Function Module - internal table with employee data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454464#M1056084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a customized function module, in source code can we define the internal table of fields like export parameter and fetch the data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;employee number is import parameter and name, address , telephone number is export parameter.&lt;/P&gt;&lt;P&gt;Can I define the internal table of name , address and telphone number field and fetch the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes how can I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Sep 16, 2008 3:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 12:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454464#M1056084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T12:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Module - internal table with employee data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454465#M1056085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reshma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose Import parameter is matnr and export parameter is maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the sourcs code you can write this way-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;   begin of wa_material,&lt;/P&gt;&lt;P&gt;    maktx type makt-maktx,&lt;/P&gt;&lt;P&gt;   end of wa_material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:it_material like table of wa_material.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 12:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454465#M1056085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T12:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Module - internal table with employee data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454466#M1056086</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;Since the FM is global, you have to use global data types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a global structure as ZEMP_DET in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There include fields Name, Address, telephone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FM, &lt;STRONG&gt;Tables&lt;/STRONG&gt; Tab section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EMP_DET TYPE ZEMP_DET.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 12:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454466#M1056086</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2008-09-16T12:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Module - internal table with employee data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454467#M1056087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;yes you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write code for fetching data from db into int table.&lt;/P&gt;&lt;P&gt;pass that table i.e. under tables tab declare one more table like that int table.&lt;/P&gt;&lt;P&gt;now as u have table for required output no need to specify &lt;/P&gt;&lt;P&gt;export parameters.&lt;/P&gt;&lt;P&gt;when u call that FM extract  output into one more table .&lt;/P&gt;&lt;P&gt;display that output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it will resolve ur query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 12:44:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454467#M1056087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T12:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Function Module - internal table with employee data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454468#M1056088</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; Best way to meet your reuirement is..,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create one structure from SE11 with reuired fields in the same package&lt;/P&gt;&lt;P&gt;2. Now in the table parameters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;    TABLE LIKE &amp;lt;CREATED STRUCTURE&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Now in the sourse code write simply select statement with where condition as import parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define above internal table in your source code also, but you can't get output table until you define it as TABLE parameter!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 12:51:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-function-module-internal-table-with-employee-data/m-p/4454468#M1056088</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-09-16T12:51:28Z</dc:date>
    </item>
  </channel>
</rss>

