<?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 Why if I'm using a VKONT parallel object, search for GPART blocks in FPVA in SAP for Utilities Discussions</title>
    <link>https://community.sap.com/t5/sap-for-utilities-discussions/why-if-i-m-using-a-vkont-parallel-object-search-for-gpart-blocks-in-fpva/m-p/12652308#M29444</link>
    <description>&lt;P&gt;Hi gurus,&lt;/P&gt;
  &lt;P&gt; I'm facing a performance problem with FPVA, I allready clean the DFKKLOCKS from all lock that were due, but still the DFKKLOCKS is on the top of my SQL trace, I look at the abap code I realise that at this point of the code the search use only the GPART even when I'm using a VKONT as object to create the intervals:&lt;/P&gt;
  &lt;P&gt;include: LFKKLOCK_SERVICEF01&lt;/P&gt;
  &lt;P&gt;from line 211: I'll spect that the program goes for the first block, but l_fieldname is not VKONT ¿?, so I'm getting all the blocks for the GPART with others VKONT diferent the one I'm working.&lt;/P&gt;
  &lt;P&gt; IF l_fieldname = 'VKONT'. &lt;BR /&gt; CLEAR ls_dfkklocks.&lt;BR /&gt; SELECT (it_flst)&lt;BR /&gt; FROM dfkklocks&lt;BR /&gt; INTO CORRESPONDING FIELDS OF ls_dfkklocks&lt;BR /&gt; WHERE (it_where_cond) "#EC CI_DYNWHERE&lt;BR /&gt; AND fdate IN pt_fkkr_fdate&lt;BR /&gt; AND tdate IN pt_fkkr_tdate&lt;BR /&gt; AND proid IN pt_fkkr_proid&lt;BR /&gt; AND lockr IN pt_fkkr_lockr&lt;BR /&gt; ORDER BY vkont.&lt;BR /&gt;&lt;BR /&gt; APPEND ls_dfkklocks TO it_dfkklocks.&lt;BR /&gt;&lt;BR /&gt;* if it happens, that there are more than 10000 locks for the&lt;BR /&gt;* same vkont, the program select all locks (there is no limit)&lt;BR /&gt; IF l_count_select &amp;gt; gc_db_count AND&lt;BR /&gt; ls_dfkklocks-vkont &amp;lt;&amp;gt; l_first_record.&lt;BR /&gt; EXIT.&lt;BR /&gt; ENDIF.&lt;BR /&gt;&lt;BR /&gt; ADD 1 TO l_count_select.&lt;BR /&gt; ENDSELECT.&lt;BR /&gt; ELSE.&lt;BR /&gt; CLEAR ls_dfkklocks.&lt;BR /&gt; SELECT (it_flst)&lt;BR /&gt; FROM dfkklocks&lt;BR /&gt; INTO CORRESPONDING FIELDS OF ls_dfkklocks&lt;BR /&gt; WHERE (it_where_cond) "#EC CI_DYNWHERE&lt;BR /&gt; AND fdate IN pt_fkkr_fdate&lt;BR /&gt; AND tdate IN pt_fkkr_tdate&lt;BR /&gt; AND proid IN pt_fkkr_proid&lt;BR /&gt; AND lockr IN pt_fkkr_lockr&lt;BR /&gt; ORDER BY gpart.&lt;BR /&gt;&lt;BR /&gt; APPEND ls_dfkklocks TO it_dfkklocks.&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Cristian&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 12:00:17 GMT</pubDate>
    <dc:creator>former_member829732</dc:creator>
    <dc:date>2022-11-18T12:00:17Z</dc:date>
    <item>
      <title>Why if I'm using a VKONT parallel object, search for GPART blocks in FPVA</title>
      <link>https://community.sap.com/t5/sap-for-utilities-discussions/why-if-i-m-using-a-vkont-parallel-object-search-for-gpart-blocks-in-fpva/m-p/12652308#M29444</link>
      <description>&lt;P&gt;Hi gurus,&lt;/P&gt;
  &lt;P&gt; I'm facing a performance problem with FPVA, I allready clean the DFKKLOCKS from all lock that were due, but still the DFKKLOCKS is on the top of my SQL trace, I look at the abap code I realise that at this point of the code the search use only the GPART even when I'm using a VKONT as object to create the intervals:&lt;/P&gt;
  &lt;P&gt;include: LFKKLOCK_SERVICEF01&lt;/P&gt;
  &lt;P&gt;from line 211: I'll spect that the program goes for the first block, but l_fieldname is not VKONT ¿?, so I'm getting all the blocks for the GPART with others VKONT diferent the one I'm working.&lt;/P&gt;
  &lt;P&gt; IF l_fieldname = 'VKONT'. &lt;BR /&gt; CLEAR ls_dfkklocks.&lt;BR /&gt; SELECT (it_flst)&lt;BR /&gt; FROM dfkklocks&lt;BR /&gt; INTO CORRESPONDING FIELDS OF ls_dfkklocks&lt;BR /&gt; WHERE (it_where_cond) "#EC CI_DYNWHERE&lt;BR /&gt; AND fdate IN pt_fkkr_fdate&lt;BR /&gt; AND tdate IN pt_fkkr_tdate&lt;BR /&gt; AND proid IN pt_fkkr_proid&lt;BR /&gt; AND lockr IN pt_fkkr_lockr&lt;BR /&gt; ORDER BY vkont.&lt;BR /&gt;&lt;BR /&gt; APPEND ls_dfkklocks TO it_dfkklocks.&lt;BR /&gt;&lt;BR /&gt;* if it happens, that there are more than 10000 locks for the&lt;BR /&gt;* same vkont, the program select all locks (there is no limit)&lt;BR /&gt; IF l_count_select &amp;gt; gc_db_count AND&lt;BR /&gt; ls_dfkklocks-vkont &amp;lt;&amp;gt; l_first_record.&lt;BR /&gt; EXIT.&lt;BR /&gt; ENDIF.&lt;BR /&gt;&lt;BR /&gt; ADD 1 TO l_count_select.&lt;BR /&gt; ENDSELECT.&lt;BR /&gt; ELSE.&lt;BR /&gt; CLEAR ls_dfkklocks.&lt;BR /&gt; SELECT (it_flst)&lt;BR /&gt; FROM dfkklocks&lt;BR /&gt; INTO CORRESPONDING FIELDS OF ls_dfkklocks&lt;BR /&gt; WHERE (it_where_cond) "#EC CI_DYNWHERE&lt;BR /&gt; AND fdate IN pt_fkkr_fdate&lt;BR /&gt; AND tdate IN pt_fkkr_tdate&lt;BR /&gt; AND proid IN pt_fkkr_proid&lt;BR /&gt; AND lockr IN pt_fkkr_lockr&lt;BR /&gt; ORDER BY gpart.&lt;BR /&gt;&lt;BR /&gt; APPEND ls_dfkklocks TO it_dfkklocks.&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Cristian&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 12:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/sap-for-utilities-discussions/why-if-i-m-using-a-vkont-parallel-object-search-for-gpart-blocks-in-fpva/m-p/12652308#M29444</guid>
      <dc:creator>former_member829732</dc:creator>
      <dc:date>2022-11-18T12:00:17Z</dc:date>
    </item>
  </channel>
</rss>

