<?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: Table used in function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-used-in-function-module/m-p/2260134#M489811</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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Tables in function modules are parameter to that function module.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;That can be processed when the function module code is called.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   and the result can be stored in the tables.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Tables have a structure like ABAP Dictionary structure .ie. You will be&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;define the table type as a dictionary table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Ramganesan K&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2007 10:40:26 GMT</pubDate>
    <dc:creator>former_member189631</dc:creator>
    <dc:date>2007-05-30T10:40:26Z</dc:date>
    <item>
      <title>Table used in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-used-in-function-module/m-p/2260133#M489810</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;As I am programming ABAP for the first time I have a question which I think is pretty basic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a function module Z_POPUP_GET_VALUES which calls the function POPUP_GET_VALUES. I got some sample code from another forum post and it defines a table name and fieldname. But I am not sure what this table is suppose to be (or do)? Is it an ABAP dictionary table? If so, how do I create one based on the characteristic I want to display??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The implemented code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i_sval Like sval occurs 1 with Header Line.&lt;/P&gt;&lt;P&gt;data: v_subrc like sy-subrc.&lt;/P&gt;&lt;P&gt;i_sval-tabname = &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;?????&lt;/P&gt;.&lt;BR /&gt;i_sval-fieldname = '&lt;B&gt;&lt;P&gt;?????&lt;/P&gt;&lt;/B&gt;'.&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_sval-fieldtext = 'Eiendelsområde'.&lt;/P&gt;&lt;P&gt;i_sval-field_obl = 'X'.&lt;/P&gt;&lt;P&gt;append i_sval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_GET_VALUES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_VALUE_CHECK = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;POPUP_TITLE = 'Asset Area'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;START_COLUMN = '5'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;START_ROW = '5'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURNCODE = v_subrc&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;FIELDS = i_sval&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERROR_IN_FIELDS = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;All help appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;TM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 10:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-used-in-function-module/m-p/2260133#M489810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T10:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table used in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-used-in-function-module/m-p/2260134#M489811</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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Tables in function modules are parameter to that function module.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;That can be processed when the function module code is called.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   and the result can be stored in the tables.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Tables have a structure like ABAP Dictionary structure .ie. You will be&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;define the table type as a dictionary table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Ramganesan K&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 10:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-used-in-function-module/m-p/2260134#M489811</guid>
      <dc:creator>former_member189631</dc:creator>
      <dc:date>2007-05-30T10:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table used in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-used-in-function-module/m-p/2260135#M489812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What purpose you are creating the fun module? first be clear!&lt;/P&gt;&lt;P&gt;if you are using it to display a field(which is in some table) Popup values&lt;/P&gt;&lt;P&gt;give that table name and field name&lt;/P&gt;&lt;P&gt;Here your heading appears that ASSET AREA, so you have to give the field which relates to Asset area and the Table in which this field is there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 10:49:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-used-in-function-module/m-p/2260135#M489812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T10:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Table used in function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-used-in-function-module/m-p/2260136#M489813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this helped me in creating the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a popup to restrict a BPS layout (user exit variable). The user is suppose to select an area and then the layout will show only the assets in this area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the popup appears and lets the user enter the correct characteristic value, but when clicking 'Continue' nothing happens. How do I collect the actual value and use it for its purpose? Is it in the 'returncode'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 11:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-used-in-function-module/m-p/2260136#M489813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-30T11:06:33Z</dc:date>
    </item>
  </channel>
</rss>

