<?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: Create Parameter in Smartforms Interface table tab signed as local type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386697#M188202</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;The form Interface for Smartform works equal to the interface to any Function Module like in any function module if you declare a internal table in the Function gruop top declaration you cannot use that as reference to the passign parameter in the FM same is the case with Smartform, the type declaration is very much to be used within the Smartform itself and will not be recognised when used in passing parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jul 2006 06:49:35 GMT</pubDate>
    <dc:creator>former_member480923</dc:creator>
    <dc:date>2006-07-05T06:49:35Z</dc:date>
    <item>
      <title>Create Parameter in Smartforms Interface table tab signed as local type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386692#M188197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error Message:&lt;/P&gt;&lt;P&gt;Form Interface	Only table types may be used as the reference type for a table parameter&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;I have created a table in &amp;lt;i&amp;gt;tables tab&amp;lt;/i&amp;gt; of &amp;lt;b&amp;gt;Form Interface&amp;lt;/b&amp;gt; like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Parameter Name: IT_1
Type Assignemnt: TYPE
Associate Type: TYT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**TYT is defined in &amp;lt;i&amp;gt;Types&amp;lt;/i&amp;gt; tab under &amp;lt;b&amp;gt;Global Definition&amp;lt;/b&amp;gt; like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF tys,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-vbeln,
END OF tys.

TYPES: tyt TYPE TABLE OF tys.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that if I create these two structure in data dictionary then It will work.&lt;/P&gt;&lt;P&gt;But my question is :&lt;/P&gt;&lt;P&gt;Can I create tables parameter with locally declared type. If no, I will appreciate if you can explain the reason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 05:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386692#M188197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T05:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create Parameter in Smartforms Interface table tab signed as local type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386693#M188198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot declare the local types and use that reference for the parameters of the form. The reason being, when the form is being activated it checks for the ref. parametes in the data dictionary just like how a function module is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 05:46:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386693#M188198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T05:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create Parameter in Smartforms Interface table tab signed as local type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386694#M188199</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;Theres a much easier way to declare tables in Samrtforms, try this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Declare your TYPE declaration under TYPES TAB&lt;/P&gt;&lt;P&gt;2) Declare your tables in global definition by assiging TYPE TABLE OF &amp;lt;your Type&amp;gt;. &lt;/P&gt;&lt;P&gt;3) If you are using a custom structure to pas value from your driver program to your SF then you have to declare the structure in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 05:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386694#M188199</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2006-07-05T05:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create Parameter in Smartforms Interface table tab signed as local type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386695#M188200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;But I can pass table (signed as local type) thru Import / Export tab of smartforms Interface.&lt;/P&gt;&lt;P&gt;So in the same way it sud allow me to pass thru tables too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 05:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386695#M188200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T05:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create Parameter in Smartforms Interface table tab signed as local type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386696#M188201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; You cannot declare the local types and use that&lt;/P&gt;&lt;P&gt;&amp;gt; reference for the parameters of the form. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Ravikumar Allampallam ,&lt;/P&gt;&lt;P&gt;We can, in case you are using importing / exporting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 05:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386696#M188201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T05:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create Parameter in Smartforms Interface table tab signed as local type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386697#M188202</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;The form Interface for Smartform works equal to the interface to any Function Module like in any function module if you declare a internal table in the Function gruop top declaration you cannot use that as reference to the passign parameter in the FM same is the case with Smartform, the type declaration is very much to be used within the Smartform itself and will not be recognised when used in passing parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 06:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386697#M188202</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2006-07-05T06:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create Parameter in Smartforms Interface table tab signed as local type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386698#M188203</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;Yes u can create a local type and use it to define IMPORT/EXPORT parameters, but you can't use a table type to be used for TABLE parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway I think it would be better to use the local types only to define local variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the interface of SM is the gate to link the smartform to external enviroment so I believe it doesn't make a sense to create a parameter as local type because only sf can use that type and so it should re-define it in every program where the sf has to be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 07:07:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-parameter-in-smartforms-interface-table-tab-signed-as-local-type/m-p/1386698#M188203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T07:07:44Z</dc:date>
    </item>
  </channel>
</rss>

