<?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: BAPI_CUSTOMER_CREATEFROMDAT1 issue with parallel processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614397#M25445</link>
    <description>&lt;P&gt;if we use single program it is taking around 17 hours of time for 1000,000( 1 million). So to make it 4 to 5 hours we have created 4 parallel jobs.&lt;/P&gt;
  &lt;P&gt;Not sure why the BAPI buffers causing the issue. Internally it is creating multiple customers.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Regards &lt;/P&gt;
  &lt;P&gt;Raja&lt;/P&gt;</description>
    <pubDate>Thu, 12 Apr 2018 15:51:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-04-12T15:51:31Z</dc:date>
    <item>
      <title>BAPI_CUSTOMER_CREATEFROMDAT1 issue with parallel processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614395#M25443</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
  &lt;P&gt;we are creating lakhs (100,000) of customer records at a time using BAPI BAPI_CUSTOMER_CREATEFROMDAT1 using parallel job approach.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Below are the details&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;1. Fetch the records from HANA schema table using ADBC query.&lt;/P&gt;
  &lt;P&gt;2. Split the records in to 4 parts ( Ex: 25000 records for single job&lt;/P&gt;
  &lt;P&gt;3. Call BAPI using SUBMIT programs by sending the records using DB Index.&lt;/P&gt;
  &lt;P&gt;Export itab to database index indx(zb).&lt;/P&gt;
  &lt;P&gt;4. Used asynchronous updates BAPI_TRANSACTION_COMMIT with out wait.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Issue :&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;Creating extra records in ECC side ex: 101000 records when we process 100000 records of HANA schema table.&lt;/P&gt;
  &lt;P&gt;Tried with SET UPDATE TASK LOCAL with BAPI_TRANSACTION_COMMIT without wait&lt;/P&gt;
  &lt;P&gt;Tried with SET UPDATE TASK LOCAL with BAPI_TRANSACTION_COMMIT with wait = 'X'&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 12:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614395#M25443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-12T12:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDAT1 issue with parallel processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614396#M25444</link>
      <description>&lt;P&gt;For parallel processing use CALL FUNCTION STARTING NEW TASK and pass data as an input parameter rather than memory export/import.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 15:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614396#M25444</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2018-04-12T15:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDAT1 issue with parallel processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614397#M25445</link>
      <description>&lt;P&gt;if we use single program it is taking around 17 hours of time for 1000,000( 1 million). So to make it 4 to 5 hours we have created 4 parallel jobs.&lt;/P&gt;
  &lt;P&gt;Not sure why the BAPI buffers causing the issue. Internally it is creating multiple customers.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Regards &lt;/P&gt;
  &lt;P&gt;Raja&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 15:51:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614397#M25445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-04-12T15:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDAT1 issue with parallel processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614398#M25446</link>
      <description>&lt;P&gt;You may have better luck using CALL FUNCTION STARTING NEW TASK. Idocs would be another option but you may require several different Idoc types (adrmas, cremas, debmas).&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 15:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614398#M25446</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2018-04-12T15:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDAT1 issue with parallel processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614399#M25447</link>
      <description>&lt;P&gt;Hi Rajasrikanth,&lt;/P&gt;
  &lt;P&gt;Consider reviewing your steps and testing as below.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;2. Delete adjacent duplicates before Split records into 4 parts ( Ex: 25000 records ).&lt;/P&gt;
  &lt;P&gt; 2.a.Save those records separated by comma into 4 ABAP Flat Files Interface (ex.: client01.txt, client02.txt etc.) into SAP Application Server (ex.: \\...\inbound\client01.txt etc.).&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/abenfile_interface_statements.htm" target="test_blank"&gt;https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/abenfile_interface_statements.htm&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;3. Process another program/report to each file created above but regarding 4 different jobs (background mode) and calling BAPI directly using BAPI_TRANSACTION_COMMIT with wait = 'X'.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 21:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614399#M25447</guid>
      <dc:creator>roberto_forti</dc:creator>
      <dc:date>2018-04-12T21:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDAT1 issue with parallel processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614400#M25448</link>
      <description>&lt;P&gt;I don't think this would be smart: theoretically you would be starting 100.000 new tasks in parallel (1 for each new customer). My guess is you'll bring down the whole system.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 06:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614400#M25448</guid>
      <dc:creator>former_member284740</dc:creator>
      <dc:date>2018-04-13T06:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_CUSTOMER_CREATEFROMDAT1 issue with parallel processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614401#M25449</link>
      <description>&lt;P&gt;Maybe if you did it your way it would not be smart. Custom server groups can be used control maximum work processes.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 10:33:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-customer-createfromdat1-issue-with-parallel-processing/m-p/614401#M25449</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2018-04-17T10:33:25Z</dc:date>
    </item>
  </channel>
</rss>

