<?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: performance issue in smart forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497345#M564110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;First fetch the PERNR's into a ITAB.&lt;/P&gt;&lt;P&gt;for all entries of this ITAB&lt;/P&gt;&lt;P&gt;write select statements to individual tables and fetch the data into separate internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then loop this ITAB.&lt;/P&gt;&lt;P&gt;and under this loop read all the internal tables.. on eby one and fetch the texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is performance wise better&lt;/P&gt;&lt;P&gt;instead of writing select single..for each table within the loop of Pernr's ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&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>Sat, 21 Jul 2007 06:11:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-21T06:11:03Z</dc:date>
    <item>
      <title>performance issue in smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497344#M564109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am making some smartform in HR and whenever user is generating the form, I am storing all the dynamic fields in a ztable and assigning this set of values a unique key in the table so that whenever a user wants to generate the same smartform in future again, he can do so by using this unique key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my concern is that I  am storing all the dynamic fields like personal area text and designation text etc. in that z table. Whenever i am using the unique key to generate that form, its going into that z table and fetching the values from there on the basis of unique keys. Imagining that there are 50000 records in that table, will it be better performance wise it I just store the key codes of fields like personal area text and designation text etc. and while generating the form, and fetching the values wrt. key, I get the texts from different tables using these  key codes of fields like personal area text and designation text etc. or it makes no difference if i store complete personal area text and designation text etc in the ztable and while genetating form i can get all the values from that single line of ztable using the key???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another concern which i have is that wheather an inner join is better or 3-4 'Select Single' statments are better performance wise? - In other words suppose if I want to pull out single record  -  different fields from different tables of one personal number, should I use select single on all those table or is join better n that case too????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ribhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2007 06:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497344#M564109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-21T06:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue in smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497345#M564110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;First fetch the PERNR's into a ITAB.&lt;/P&gt;&lt;P&gt;for all entries of this ITAB&lt;/P&gt;&lt;P&gt;write select statements to individual tables and fetch the data into separate internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then loop this ITAB.&lt;/P&gt;&lt;P&gt;and under this loop read all the internal tables.. on eby one and fetch the texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is performance wise better&lt;/P&gt;&lt;P&gt;instead of writing select single..for each table within the loop of Pernr's ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&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>Sat, 21 Jul 2007 06:11:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497345#M564110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-21T06:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue in smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497346#M564111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is taken care of Anji, My question is 'Is select single more better or Inner join". I am talking about only one single line of record which will ultimately be passed on to smartform.   - in this case Only one or two fields - records from different tables will give the single record for passing into smart form. So in this case I should use join statment or select single 's ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ribhu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2007 06:28:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497346#M564111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-21T06:28:21Z</dc:date>
    </item>
  </channel>
</rss>

