<?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: call function RV_FTT_GOV_ISSUE_LOG_SEL_REP:PERFORMANCE ISSUE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-rv-ftt-gov-issue-log-sel-rep-performance-issue/m-p/4735267#M1111186</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;Regarding the performance issue which you are facing in the Function Module : RV_FTT_GOV_ISSUE_LOG_SEL_REP what you need to do is follow the following steps :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First Put an SQL Trace on the transaction code and check whether which particular query is taking time and whether it is the query inside the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also do the Run time Analysis for the transaction code and if possible do the ST12 analysis that will help you to do the analysis for both SQL and Runtime Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.  After analysing these things you need to write to SAP regarding that by creating an OSS Message and for this function module performance with your analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. SAP Support will reply you if they have faced the similar issue with some other client and otherwise they will provide you solution how you can solve the performance problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2008 04:45:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-12T04:45:38Z</dc:date>
    <item>
      <title>call function RV_FTT_GOV_ISSUE_LOG_SEL_REP:PERFORMANCE ISSUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-rv-ftt-gov-issue-log-sel-rep-performance-issue/m-p/4735266#M1111185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the  report uses this function module and its very slow due to poor performance.&lt;/P&gt;&lt;P&gt;When i did the run time analysis i could see that at this function module its consuming more time.&lt;/P&gt;&lt;P&gt;Please suggest how to optimize it and improve its performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Akmal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;...

CONSTANTS:false TYPE c VALUE ' '.
FORM selection_logs_issue
            TABLES pt_incomp_header TYPE v50g_incompletion_data
                   pt_incomp_item   TYPE v50g_incompletion_data
                   pt_selection_log TYPE v50g_selection_log
            USING  ps_alv_variant            LIKE disvariant
                   pv_reporting_type         TYPE v50g_i_reporting_type
                   pv_direction              LIKE veiav-arrivdepa
                   pv_reporting_year         LIKE veiav-datumjahr
                   pv_reporting_month        LIKE veiav-datummona
                   pv_reporting_country_iso2 LIKE t005-intca
                   pv_sel_log_type           TYPE c
                   pv_selection_report_name  LIKE sy-cprog.

  CALL FUNCTION 'RV_FTT_GOV_ISSUE_LOG_SEL_REP'
    EXPORTING
      flow_of_goods            = pv_direction
      flg_simulation           = false
      reporting_type           = pv_reporting_type
      log_type                 = pv_sel_log_type
      reporting_month          = pv_reporting_month
      reporting_year           = pv_reporting_year
      variant                  = ps_alv_variant
      country                  = pv_reporting_country_iso2
      calling_program          = pv_selection_report_name
    TABLES
      selection_log            = pt_selection_log
      incompletion_data_header = pt_incomp_header
      incompletion_data_item   = pt_incomp_item
    EXCEPTIONS
      wrong_reporting_type     = 1
      OTHERS                   = 2.

  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE w083(eip) WITH '011'.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 09:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-rv-ftt-gov-issue-log-sel-rep-performance-issue/m-p/4735266#M1111185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-11T09:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: call function RV_FTT_GOV_ISSUE_LOG_SEL_REP:PERFORMANCE ISSUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-rv-ftt-gov-issue-log-sel-rep-performance-issue/m-p/4735267#M1111186</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;Regarding the performance issue which you are facing in the Function Module : RV_FTT_GOV_ISSUE_LOG_SEL_REP what you need to do is follow the following steps :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First Put an SQL Trace on the transaction code and check whether which particular query is taking time and whether it is the query inside the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Also do the Run time Analysis for the transaction code and if possible do the ST12 analysis that will help you to do the analysis for both SQL and Runtime Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.  After analysing these things you need to write to SAP regarding that by creating an OSS Message and for this function module performance with your analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. SAP Support will reply you if they have faced the similar issue with some other client and otherwise they will provide you solution how you can solve the performance problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 04:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-rv-ftt-gov-issue-log-sel-rep-performance-issue/m-p/4735267#M1111186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T04:45:38Z</dc:date>
    </item>
  </channel>
</rss>

