<?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: Dynamic Fields in Smartforms - Is it Possible? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-smartforms-is-it-possible/m-p/3242581#M773921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to first creat your field catalog of your selected fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then pass this catalog to below method -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;fieldcatalog = ** Your field catalog **&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;ep_table = &amp;lt;dy_table&amp;gt;. ( field symbol type any )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use ASSIGN syntax to feed value in &amp;lt;dy_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass this dynamic table &amp;lt;dy_table&amp;gt; to smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nimesh S. Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 08:09:39 GMT</pubDate>
    <dc:creator>Nimesh_S_Patel</dc:creator>
    <dc:date>2008-01-17T08:09:39Z</dc:date>
    <item>
      <title>Dynamic Fields in Smartforms - Is it Possible?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-smartforms-is-it-possible/m-p/3242580#M773920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement in which before calling the smartform the fields would be dynamically selected and the selected fields only have to be printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example, I have all values(28 fields) in a internal table but before printing the user will select only whatever fields he whats to be in the printout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say for the first time if he want 15 fields he will select that fields, and the next time he may select another set of fields...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My doubt was, is this possible in smartform?&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;If Possible how i have to proceed....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest some ideas.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 08:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-smartforms-is-it-possible/m-p/3242580#M773920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T08:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Fields in Smartforms - Is it Possible?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-smartforms-is-it-possible/m-p/3242581#M773921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to first creat your field catalog of your selected fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then pass this catalog to below method -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;fieldcatalog = ** Your field catalog **&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;ep_table = &amp;lt;dy_table&amp;gt;. ( field symbol type any )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use ASSIGN syntax to feed value in &amp;lt;dy_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass this dynamic table &amp;lt;dy_table&amp;gt; to smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nimesh S. Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 08:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-smartforms-is-it-possible/m-p/3242581#M773921</guid>
      <dc:creator>Nimesh_S_Patel</dc:creator>
      <dc:date>2008-01-17T08:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Fields in Smartforms - Is it Possible?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-smartforms-is-it-possible/m-p/3242582#M773922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done it by creating different smartforms with different fieldlist....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 11:00:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-fields-in-smartforms-is-it-possible/m-p/3242582#M773922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-11T11:00:36Z</dc:date>
    </item>
  </channel>
</rss>

