<?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 while selecting from dbtable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296748#M1390544</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;I have tried with the Function Module 'REPOSITORY_INFO_SYSTEM_F4'&lt;/P&gt;&lt;P&gt;I could get the F4 help for VARIANT by using the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f4_p_vari.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      object_type          = 'VARI'&lt;/P&gt;&lt;P&gt;      object_name          = p_VARI&lt;/P&gt;&lt;P&gt;      suppress_selection   = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      object_name_selected = p_VARI&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS               = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                                                    " F4_P_VARI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Butin case of JOBNAME , i could not find out the exact value for the exporting parameter&lt;/P&gt;&lt;P&gt;object_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need some help for that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Indira&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Nov 2009 05:22:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-10T05:22:10Z</dc:date>
    <item>
      <title>Performance issue while selecting from dbtable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296745#M1390541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have used the following code in my program to provide F4 help for JOBNAME and VARIANT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;          AT SELECTION SCREEN ON VALUE REQUEST&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.&lt;/P&gt;&lt;P&gt;*Subroutine to provide F4 help for variant&lt;/P&gt;&lt;P&gt;  PERFORM f4_p_vari.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;          AT SELECTION SCREEN ON VALUE REQUEST&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_job.&lt;/P&gt;&lt;P&gt;*Subroutine to provide F4 help for jobname&lt;/P&gt;&lt;P&gt;  PERFORM f4_p_jobname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form F4_P_JOBNAME .&lt;/P&gt;&lt;P&gt;select jobname&lt;/P&gt;&lt;P&gt;       from tbtcp&lt;/P&gt;&lt;P&gt;       into table it_jobname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc  = 0.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DDIC_STRUCTURE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    retfield = 'JOBNAME'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PVALKEY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    dynpprog = sy-cprog&lt;/P&gt;&lt;P&gt;    dynpnr = sy-dynnr&lt;/P&gt;&lt;P&gt;    dynprofield = 'P_JOB'&lt;/P&gt;&lt;P&gt;    value_org = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;    value_tab = it_JOBNAME.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " F4_P_JOBNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT variant       "ABAP: Name of variant (without program name)&lt;/P&gt;&lt;P&gt;         FROM vari     "ABAP/4: Variant storage (similar to INDX)&lt;/P&gt;&lt;P&gt;         INTO TABLE it_vari.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DDIC_STRUCTURE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    retfield = 'VARIANT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PVALKEY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    dynpprog = sy-cprog&lt;/P&gt;&lt;P&gt;    dynpnr = sy-dynnr&lt;/P&gt;&lt;P&gt;    dynprofield = 'P_VARI'&lt;/P&gt;&lt;P&gt;    value_org = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;    value_tab = it_vari.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I check the code using CODE INSPECTOR , 2 Errors are shown.&lt;/P&gt;&lt;P&gt;1)Large table VARI: No WHERE condition&lt;/P&gt;&lt;P&gt;2)Large table TBTCP: No WHERE condition  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me in overcomming the above errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Indira&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 04:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296745#M1390541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T04:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue while selecting from dbtable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296746#M1390542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parvatha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now selecting from these tables is going to give you a huge list (even bigger in production systems) which will not look good when doing F4. I suggest you create search helps (SE11) for these two fields so that the user may enter other details for the fields too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pushpraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 04:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296746#M1390542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T04:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue while selecting from dbtable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296747#M1390543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parvatha Reddy Indira Priyadarshini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you are not providing any where conditon while seletcting data from these tables, it will going to fetch full table data which may take a long time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to suggest you to create elementory/Collective search help for this requirement where user can provide some data in selction criteria in your case user can enter REPORT Name..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg go to MM03 &lt;/P&gt;&lt;P&gt;in material field press F4 it will display F4 help where user can provide some related input to get desired Material....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table VARI stores all the variant information including standard report variants.. So If your requirement meets for only Z Developed reports then you can use LIKE Keyword and filter REPORT LIKE 'Z*' .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyhow it's not meaningfull too to display full result in F4 help as normally it will display 500 records and so other all records will get eliminated in the list..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better to give some where condition( Primary Key or indexes)... it will only going to improve the performance.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ilesh Nandaniya&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 05:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296747#M1390543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T05:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue while selecting from dbtable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296748#M1390544</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;I have tried with the Function Module 'REPOSITORY_INFO_SYSTEM_F4'&lt;/P&gt;&lt;P&gt;I could get the F4 help for VARIANT by using the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f4_p_vari.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      object_type          = 'VARI'&lt;/P&gt;&lt;P&gt;      object_name          = p_VARI&lt;/P&gt;&lt;P&gt;      suppress_selection   = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      object_name_selected = p_VARI&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS               = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                                                    " F4_P_VARI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Butin case of JOBNAME , i could not find out the exact value for the exporting parameter&lt;/P&gt;&lt;P&gt;object_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need some help for that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Indira&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 05:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296748#M1390544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-10T05:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue while selecting from dbtable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296749#M1390545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use this function module for jobs, because jobs are not respository objects.&lt;/P&gt;&lt;P&gt;Why are you selecting job steps from TBTCP and not job headers from TBTCO? In the latter table, you could narrow down at least by client or job status, check your requirements.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 08:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-selecting-from-dbtable/m-p/6296749#M1390545</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-11-10T08:34:08Z</dc:date>
    </item>
  </channel>
</rss>

