<?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 parameter in FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885250#M1141618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BAL_S_MSG is defined as a structure so you should be able to use it in the FM 'tables' tab as 'TYPE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you adding it?  What error message are you getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Dec 2008 16:02:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-16T16:02:21Z</dc:date>
    <item>
      <title>Table parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885248#M1141616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i would like to create a function module that takes a list of messages(BAL_S_MSG) and a log object (BAL_S_LOG) (basically it will be used to add log messages in different programs)&lt;/P&gt;&lt;P&gt;I can't put directly the type BAL_S_MSG in the table definition tab because it is not defined as a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i have to create a table with the same structure as BAL_S_MSG or is there some other trick i could do ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 15:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885248#M1141616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T15:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885249#M1141617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just create a table type with the structure 'BAL_S_MSG' and use that. You should also use the importing or exporting parameters instead of the tables parameter. Just do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;X_parameter TYPE your_table_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;y_parameter TYPE your_table_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create an import or export table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or just use an existing table type which uses structure BAL_S_MSG (e.g. BAL_T_MSG).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Michael Wackerbauer on Dec 16, 2008 11:02 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 16:01:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885249#M1141617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T16:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Table parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885250#M1141618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BAL_S_MSG is defined as a structure so you should be able to use it in the FM 'tables' tab as 'TYPE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you adding it?  What error message are you getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 16:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885250#M1141618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T16:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Table parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885251#M1141619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use BAL_T_MSG instead of BAL_S_MSG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 16:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885251#M1141619</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-12-16T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885252#M1141620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm getting : "Only table types may be used as the reference type for a table parameter"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 16:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885252#M1141620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T16:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885253#M1141621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks  a®s  it worked !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tom . on Dec 16, 2008 5:09 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 16:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885253#M1141621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T16:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Table parameter in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885254#M1141622</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;You no need to declare the table in the database same like BAL_S_MSG  structure. If you have this structure in the database or you can create the structure using SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Different ways of declaring the table in FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Exporting Tab - need to refer to table type for all the parameters delcared in this tab ..which will behave as table in the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Tanle Tab - need to refer to structure type for all the parameters delcared in this tab ..which will behave as table in the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 16:08:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-parameter-in-fm/m-p/4885254#M1141622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T16:08:42Z</dc:date>
    </item>
  </channel>
</rss>

