<?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: Can I use BAPI BAPI_GOODSMVT_CREATE with Parallel Processing? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115326#M1973813</link>
    <description>&lt;P&gt;Also, one more thing you have to consider while uploading "70,000" records is how to handle reprocess the error record. This will be troublesome for uploading these many record in a single go. You also have to consider the uploading time of the 70000 records. Instead you can split the record to 5000 record in each file and upload once. &lt;/P&gt;&lt;P&gt;Else you can read only 5000 record from the same file and process(the file will be 1, but you will only read 5000 record at a time) and you can run the program simultaneously in 6 session. So that it will be easy in production. You can plan for a complete day cut-over in PRD in the week off and proceed so that it will easy and error free.&lt;/P&gt;&lt;P&gt;Technically it is possible to do the BAPI in parallel process. Though it is technically possible but will be difficult for tracing of any error for a single go.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourab &lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2019 06:17:57 GMT</pubDate>
    <dc:creator>Gourab_Dey</dc:creator>
    <dc:date>2019-10-25T06:17:57Z</dc:date>
    <item>
      <title>Can I use BAPI BAPI_GOODSMVT_CREATE with Parallel Processing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115320#M1973807</link>
      <description>&lt;P&gt;Currently, I'm wondering I can improve current program with Parallel Processing -&lt;/P&gt;
  &lt;P&gt;I have to make 70,000 GI/GR Documents with BAPI, and it takes a lot of time.. So I want to split into smaller packages AND do some Parallel Processing to split WP.&lt;/P&gt;
  &lt;P&gt;So I make test-run program, which makes 50 Document, which splits to 10 WP Like this : &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;DO 50 TIMES.&lt;/P&gt;
  &lt;P&gt; WAIT UNTIL g_progs LE pa_wpnum.&lt;/P&gt;
  &lt;P&gt; CALL FUNCTION 'Z_PARA_TEST'&lt;BR /&gt; STARTING NEW TASK g_task DESTINATION IN GROUP ' 390'&lt;BR /&gt; PERFORMING return_z_para_test ON END OF TASK&lt;BR /&gt; exceptions&lt;BR /&gt; resource_failure = 3.&lt;/P&gt;
  &lt;P&gt; CASE sy-subrc.&lt;BR /&gt; WHEN 3.&lt;BR /&gt; WAIT UNTIL g_progs &amp;lt; 3 UP TO '20' SECONDS.&lt;BR /&gt; ENDCASE.&lt;/P&gt;
  &lt;P&gt; ADD 1 TO g_task.&lt;BR /&gt; ADD 1 TO g_progs.&lt;BR /&gt; ADD 1 TO g_sprog.&lt;/P&gt;
  &lt;P&gt;ENDDO.&lt;/P&gt;
  &lt;P&gt;FORM return_z_pp_para_test USING taskname.&lt;/P&gt;
  &lt;P&gt; SUBTRACT 1 FROM g_progs.&lt;/P&gt;
  &lt;P&gt; ADD 1 TO g_eprog.&lt;/P&gt;
  &lt;P&gt; gt_chk_message-message = 10.&lt;BR /&gt; APPEND gt_chk_message.&lt;/P&gt;
  &lt;P&gt;ENDFORM.&lt;/P&gt;
  &lt;P&gt;* Z_PARA_TEST has BAPI_GOODSMVT_CREATE -&amp;gt; BAPI_TRANSACTION COMMIT functions.&lt;/P&gt;
  &lt;P&gt;It turns out, I looped 50 times(it shows 50 lines of '10' writings). But Only makes 1 documents!&lt;/P&gt;
  &lt;P&gt;So..My question is :&lt;/P&gt;
  &lt;P&gt;1. Do BAPI_GOODSMVT_CREATE works with Parallel Processing? Or am I doing Wrong?&lt;/P&gt;
  &lt;P&gt;2. I think Document Number will be same, If each WP is working too fast. It could be a problem?&lt;/P&gt;
  &lt;BR /&gt;</description>
      <pubDate>Thu, 24 Oct 2019 05:55:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115320#M1973807</guid>
      <dc:creator>former_member282589</dc:creator>
      <dc:date>2019-10-24T05:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use BAPI BAPI_GOODSMVT_CREATE with Parallel Processing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115321#M1973808</link>
      <description>&lt;P&gt;Any BAPI works well with parallel processing.&lt;/P&gt;&lt;P&gt; Do you execute the BAPI correctly, and did you check its return message?&lt;/P&gt;&lt;P&gt;Number ranges should not be a problem (few issues sometimes like performance, number gaps, order of numbers, but it doesn't prevent successful execution).&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 08:40:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115321#M1973808</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-10-24T08:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use BAPI BAPI_GOODSMVT_CREATE with Parallel Processing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115322#M1973809</link>
      <description>&lt;P&gt;Instead of doing the parallel processing, you can split the file to multiple file and run the program multiple times con-currently.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourab&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 11:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115322#M1973809</guid>
      <dc:creator>Gourab_Dey</dc:creator>
      <dc:date>2019-10-24T11:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use BAPI BAPI_GOODSMVT_CREATE with Parallel Processing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115323#M1973810</link>
      <description>&lt;P&gt;Found the problem :&lt;/P&gt;&lt;P&gt;Between the Do ~ Enddo, I have to delay some time(I used Wait up to '0.5' seconds).&lt;/P&gt;&lt;P&gt;But It makes different problem - In smaller pockets, &lt;/P&gt;&lt;P&gt;It overweighs actual process time without Parallel Process!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So, I'm currently find the way to minimal 'wait time' between DO - ENDDO.&lt;/P&gt;&lt;P&gt;Any Idea would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 23:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115323#M1973810</guid>
      <dc:creator>former_member282589</dc:creator>
      <dc:date>2019-10-24T23:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use BAPI BAPI_GOODSMVT_CREATE with Parallel Processing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115324#M1973811</link>
      <description>&lt;P&gt;Yes. That could be answer - but Why I'm using parallel processing is.. avoid 'using multiple tabs to run a problem'.&lt;/P&gt;&lt;P&gt;It's actually parallel processing with manual as I know of?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 23:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115324#M1973811</guid>
      <dc:creator>former_member282589</dc:creator>
      <dc:date>2019-10-24T23:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use BAPI BAPI_GOODSMVT_CREATE with Parallel Processing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115325#M1973812</link>
      <description>&lt;P&gt;You can do it with BAPI as I recon. Please pass 'X' to the importing parameter of FM "BAPI_TRANSACTION_COMMIT". Below thread for reference for parallel processing in SAP.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2019/03/19/parallel-processing-made-easy/"&gt;https://blogs.sap.com/2019/03/19/parallel-processing-made-easy/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourab&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 06:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115325#M1973812</guid>
      <dc:creator>Gourab_Dey</dc:creator>
      <dc:date>2019-10-25T06:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use BAPI BAPI_GOODSMVT_CREATE with Parallel Processing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115326#M1973813</link>
      <description>&lt;P&gt;Also, one more thing you have to consider while uploading "70,000" records is how to handle reprocess the error record. This will be troublesome for uploading these many record in a single go. You also have to consider the uploading time of the 70000 records. Instead you can split the record to 5000 record in each file and upload once. &lt;/P&gt;&lt;P&gt;Else you can read only 5000 record from the same file and process(the file will be 1, but you will only read 5000 record at a time) and you can run the program simultaneously in 6 session. So that it will be easy in production. You can plan for a complete day cut-over in PRD in the week off and proceed so that it will easy and error free.&lt;/P&gt;&lt;P&gt;Technically it is possible to do the BAPI in parallel process. Though it is technically possible but will be difficult for tracing of any error for a single go.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourab &lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 06:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-i-use-bapi-bapi-goodsmvt-create-with-parallel-processing/m-p/12115326#M1973813</guid>
      <dc:creator>Gourab_Dey</dc:creator>
      <dc:date>2019-10-25T06:17:57Z</dc:date>
    </item>
  </channel>
</rss>

