<?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 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/2497509#M564151</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:04:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-21T06:04:16Z</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/2497509#M564151</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:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497509#M564151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-21T06:04:16Z</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/2497510#M564152</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;Whenever a case of regeneration of smart forms in future the procedure followed to use Z-table as storage is normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply to Concern (1)&lt;/P&gt;&lt;P&gt;************************&lt;/P&gt;&lt;P&gt;It is better to store all values in the Z-table rather than " select single text for fields" based on value from Z-table because otherwise again a database operation is performed for every select single operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For one or two text fetch using select single,performance is not an issue but when it comes to multiple rows and coloumns and text for all these it may worsen performance(time consuming)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply to Concern (2)&lt;/P&gt;&lt;P&gt;************************&lt;/P&gt;&lt;P&gt;For multiple table linkage from 3-4 inner join is advisable.&lt;/P&gt;&lt;P&gt;Always try passing key fields which is always going to boost up system performance and add filtering as and when required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2007 10:47:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497510#M564152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-21T10:47:56Z</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/2497511#M564153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Byju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks for your reply. Well aone more small concern - While fetching the data from a z table with all the fields, will it take more time - performance wise than if i store key fields in z table and use inner joins for getting texts in smartform  - which of the two would be better. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I store all the data from infotypes, there would be a lot of repetiton of data like employee name, designation etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So which thing I sholud use of the two????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your advice.......&lt;/P&gt;&lt;P&gt;&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;Ribhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 07:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497511#M564153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T07:28:28Z</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/2497512#M564154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ribhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the idea i have....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you are reading data from Z-tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a)Multiple entry case---&amp;gt; &lt;/P&gt;&lt;P&gt;if you are doing read table for internal table again for a very large number of records...performance decreases &lt;/P&gt;&lt;P&gt;ie..&lt;/P&gt;&lt;P&gt;select * from Ztable into Itab where ZABC = 'ABC' and....&lt;/P&gt;&lt;P&gt;and read table itab with key XYZ.  (itab has large number of lines..? then performance issue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here innerjoin on key fields of HR tables may prove better if you are reading single text for smart forms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b)Single entry from ZABC case&lt;/P&gt;&lt;P&gt;select single * =&amp;gt; O.K  than innerjoin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you are storing data from HR try to fetch latest data from HR by using BEGDA-ENDDA combination as key fields in Ztable.If the Ztable itself contains as much data as in standard tables it is advisable to use inner join since existance of Ztable serves no purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clarifies you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and welcome(glad to be of any help)&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 10:43:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497512#M564154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T10:43:35Z</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/2497513#M564155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats a perfect reply Byju. My g mail id is ribhuahuja@gmail.com. Whats urs? &lt;/P&gt;&lt;P&gt;Waiting for your reply to close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Ribhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 10:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497513#M564155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T10:58:27Z</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/2497514#M564156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ribhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad that my suggestions proved useful and thanks for the appreciation&lt;/P&gt;&lt;P&gt;You can reach me at shadowcatbx@gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:14:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-smart-forms/m-p/2497514#M564156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:14:43Z</dc:date>
    </item>
  </channel>
</rss>

