<?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: accessing user defined datatype in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708355#M310068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot access TYPE_POOLS in the smart form parameters. So, create that data type as a strucutre in the dictionary (SE11) and your problem should be resolved.&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>Fri, 10 Nov 2006 14:29:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-10T14:29:39Z</dc:date>
    <item>
      <title>accessing user defined datatype in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708352#M310065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created type group named &amp;#147;zkttp&amp;#148;. In that I have created a data type named zkttp_ty_sflight. I did include that in my smartform &amp;#147;zrkt_sform_saplane&amp;#148;. But it is showing error. This I am trying because I don&amp;#146;t want to send all fields of sflight table in smartform. is this the right way? in smartform i have defined internal table with like as the the above datatype. still it is giving error as "TYPE ZKTTP_TY_SFLIGHT NOT ALLOWED IN THIS CONTEXT".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 12:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708352#M310065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-10T12:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: accessing user defined datatype in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708353#M310066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruby,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             Whenever we use a Type Group in Report Program, we have to give &amp;lt;b&amp;gt;TYPE-POOLS&amp;lt;/b&amp;gt; statement ( &amp;lt;b&amp;gt;TYPE-POOLS zkttp&amp;lt;/b&amp;gt;, in your case ). Can we give such statement in SMARTFORM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;   Abdul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: Mark Points, if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 14:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708353#M310066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-10T14:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: accessing user defined datatype in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708354#M310067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ruby,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obviously there is no official way to use type-pools in SMARTFORMS, I assume what you created as type group is what you include in ABAP programs as TYPE-POOLS ZKTTP_TY_SFLIGHT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you put this statement inside a FORM, you can use the included types locally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yo don't need to define anything what is existing. In the SMARTFORMS TYPES section, you may define your own type as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES:&lt;/P&gt;&lt;P&gt; begin of zkttp_ty_sflight,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;  end of zkttp_ty_sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then You can use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 14:27:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708354#M310067</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-11-10T14:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: accessing user defined datatype in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708355#M310068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot access TYPE_POOLS in the smart form parameters. So, create that data type as a strucutre in the dictionary (SE11) and your problem should be resolved.&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>Fri, 10 Nov 2006 14:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708355#M310068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-10T14:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: accessing user defined datatype in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708356#M310069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Regarding the 'If you put this statement inside a FORM, you can use the included types locally' , it is not syntactically possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The best trade off to circumvent this problem, without creating numerous customer dictionary data types (Z structures, et al), is to create a function module, that takes input of a select few parameters and delivers a processed output as an exporting parameter. Only these exporting and/or the importing parameters are required to be created in the Data Dictionary. The function module should be made in the same function group in which the type pool has been created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Abhijeet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Abhijeet Kulkarni on Feb 5, 2008 6:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 12:39:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-user-defined-datatype-in-smartforms/m-p/1708356#M310069</guid>
      <dc:creator>Abhijeet-K</dc:creator>
      <dc:date>2008-02-05T12:39:41Z</dc:date>
    </item>
  </channel>
</rss>

