<?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: Problem with LDB_PROCESS .. Not working in Loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500622#M1421695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was a problem with repeated call of the function module for some LDB some years ago, but most were solved via OSS notes from 2003 (like [Note 648739 - Call of IOC logical database with LDB_PROCESS|https://service.sap.com/sap/support/notes/648739]) look at OSS for your system version., or put a BREAK-POINT at "PERFORM LDB_PROCESS_INIT" in FM LDB_PROCESS. (Also do you check exception  LDB_NOT_REENTRANT Logical database not intended for multiple calls ?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you may try [CALL FUNCTION LDB_CALL_LDB_PROCESS STARTING NEW TASK|http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_STARTING.htm#!ABAP_ADDITION_2@2@], receiving the result in a form, so 1-bypass the initialization problems, 2-parallelization of your process... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jan 2010 07:46:38 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2010-01-21T07:46:38Z</dc:date>
    <item>
      <title>Problem with LDB_PROCESS .. Not working in Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500621#M1421694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using FM LDB_PROCESS for calling PNM LDB iteratively for some data in internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first record it works well and give me corresponding node values.&lt;/P&gt;&lt;P&gt;But for other line items/records of internal table, it does n't give me any output , although some of these line items contain exactly the same data as contained in first record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 07:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500621#M1421694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-21T07:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LDB_PROCESS .. Not working in Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500622#M1421695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was a problem with repeated call of the function module for some LDB some years ago, but most were solved via OSS notes from 2003 (like [Note 648739 - Call of IOC logical database with LDB_PROCESS|https://service.sap.com/sap/support/notes/648739]) look at OSS for your system version., or put a BREAK-POINT at "PERFORM LDB_PROCESS_INIT" in FM LDB_PROCESS. (Also do you check exception  LDB_NOT_REENTRANT Logical database not intended for multiple calls ?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you may try [CALL FUNCTION LDB_CALL_LDB_PROCESS STARTING NEW TASK|http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_STARTING.htm#!ABAP_ADDITION_2@2@], receiving the result in a form, so 1-bypass the initialization problems, 2-parallelization of your process... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 07:46:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500622#M1421695</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-01-21T07:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LDB_PROCESS .. Not working in Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500623#M1421696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried debugging the FM but it is not stopping at the perform you mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I opted for CALL FUNCTION 'LDB_CALL_LDB_PROCESS' starting new task v_task_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't use "starting new task v_task_id" it gives dump at the following part of   'LDB_CALL_LDB_PROCESS' , stating Result table incompatible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LDB_CALLBACK'&lt;/P&gt;&lt;P&gt;         DESTINATION 'BACK'&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              CALLBACK_TAB   = G_CALLBACK&lt;/P&gt;&lt;P&gt;              RESULTS        = RESULTS&lt;/P&gt;&lt;P&gt;              LDBNODES       = I_LDBS.&lt;/P&gt;&lt;P&gt;                                       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I use CALL FUNCTION 'LDB_CALL_LDB_PROCESS' starting new task v_task_id then it does n't give me any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 09:39:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500623#M1421696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-21T09:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LDB_PROCESS .. Not working in Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500624#M1421697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two remarks&lt;/P&gt;&lt;P&gt;- [RFC Destination|http://help.sap.com/abapdocu_70/en/ABENRFC_DESTINATION.htm] : use Destination "NONE", "BACK" is used by a called function to call back to its caller&lt;/P&gt;&lt;P&gt;- Receive results : add a [PERFORMING &amp;lt;subroutine&amp;gt; ON END OF TASK|http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_STARTING.htm#!ABAP_ADDITION_2@2@], in this task a [RECEIVE RESULTS FROM FUNCTION|http://help.sap.com/abapdocu_70/en/ABAPRECEIVE.htm] statement will get the result back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 10:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500624#M1421697</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-01-21T10:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LDB_PROCESS .. Not working in Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500625#M1421698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LDB was not meant to be processed in loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 08:31:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500625#M1421698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-26T08:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LDB_PROCESS .. Not working in Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500626#M1421699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can add this code after calling LDB_PROCESS &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: L_FIELD(40). 
FIELD-SYMBOLS: &amp;lt;FS&amp;gt;.
L_FIELD = '(SAPLSLDBFREE)BAD_LDBS[]'. 
ASSIGN (L_FIELD) TO &amp;lt;FS&amp;gt;.
CLEAR &amp;lt;FS&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Jan 2020 11:07:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-ldb-process-not-working-in-loop/m-p/6500626#M1421699</guid>
      <dc:creator>former_member612421</dc:creator>
      <dc:date>2020-01-30T11:07:27Z</dc:date>
    </item>
  </channel>
</rss>

