<?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 Processing material movement using parallel processing - need help for split targets! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517246#M2004436</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;
  &lt;P&gt;Currently I'm planning a process for material movement, which are happens every month.&lt;/P&gt;
  &lt;P&gt;It looks like this :&lt;BR /&gt;&lt;IMG alt="" style="color: inherit;" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1987833-c1.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;You have different number of materials(in this screenshot, it's just 2 - but it can be more than 10+) to Good Issue(261), and I'm currently split them 300 lines, and creating document every 300 lines (for speed issue).&lt;/P&gt;
  &lt;P&gt;Problem is, Is it possible to make internal table dynamically, using other itab data?&lt;/P&gt;
  &lt;P&gt;In screenshot - I have to make 2 itab dynamically(using left itab - Material Num. to right table).&lt;/P&gt;
  &lt;P&gt;Any help would be appreciated. Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 00:18:30 GMT</pubDate>
    <dc:creator>former_member282589</dc:creator>
    <dc:date>2021-11-04T00:18:30Z</dc:date>
    <item>
      <title>Processing material movement using parallel processing - need help for split targets!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517246#M2004436</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
  &lt;P&gt;Currently I'm planning a process for material movement, which are happens every month.&lt;/P&gt;
  &lt;P&gt;It looks like this :&lt;BR /&gt;&lt;IMG alt="" style="color: inherit;" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1987833-c1.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;You have different number of materials(in this screenshot, it's just 2 - but it can be more than 10+) to Good Issue(261), and I'm currently split them 300 lines, and creating document every 300 lines (for speed issue).&lt;/P&gt;
  &lt;P&gt;Problem is, Is it possible to make internal table dynamically, using other itab data?&lt;/P&gt;
  &lt;P&gt;In screenshot - I have to make 2 itab dynamically(using left itab - Material Num. to right table).&lt;/P&gt;
  &lt;P&gt;Any help would be appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 00:18:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517246#M2004436</guid>
      <dc:creator>former_member282589</dc:creator>
      <dc:date>2021-11-04T00:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Processing material movement using parallel processing - need help for split targets!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517247#M2004437</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;parkchanseul&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;What you mean by dynamic table. Do you want to add one table data to other table, or you want to create a dynamic line type for internal table.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourab&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 05:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517247#M2004437</guid>
      <dc:creator>Gourab_Dey</dc:creator>
      <dc:date>2021-11-04T05:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Processing material movement using parallel processing - need help for split targets!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517248#M2004438</link>
      <description>&lt;P&gt;Hi Gourab Dey,&lt;/P&gt;&lt;P&gt;I want to add another internal table for EACH row of Material Num. table.&lt;/P&gt;&lt;P&gt;For example )&lt;/P&gt;&lt;P&gt;I have 3 materials(A,B,C)&lt;/P&gt;&lt;P&gt;I have to make internal table for each row(gt_A, gt_B, gt_C).&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 05:57:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517248#M2004438</guid>
      <dc:creator>former_member282589</dc:creator>
      <dc:date>2021-11-04T05:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Processing material movement using parallel processing - need help for split targets!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517249#M2004439</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;parkchanseul&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I think you don't really need to create internal tables dynamically. I'd suggest nested internal tables instead. For instance:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES:&lt;BR /&gt;  BEGIN OF t_record,&lt;BR /&gt;    matnr TYPE matnr,&lt;BR /&gt;    items TYPE bapi2017_gm_item_create_t,&lt;BR /&gt;  END OF t_record,&lt;BR /&gt;  t_table TYPE STANDARD TABLE OF t_record.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;An internal table of t_table type contains records with two fields:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;MATNR - material number&lt;/LI&gt;&lt;LI&gt;ITEMS - that's a nested table of BAPI2017_GM_ITEM_CREATE records.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This way you can create as many records as you need in the table and each record will hold a nested internal table similar to GT_A and GT_B in your question.&lt;/P&gt;&lt;P&gt;Of course you can define the type as you need - that's is just an example to explain the concept.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 07:49:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517249#M2004439</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2021-11-04T07:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Processing material movement using parallel processing - need help for split targets!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517250#M2004440</link>
      <description>&lt;P&gt;As I wrote - I 'copuled' 300 documents to 1 GI Document(like, 4911111111 - Item no 10 ~ 3000).&lt;/P&gt;&lt;P&gt;So, When I finished a parallel job - It updates a itab for ( Transaction Count / 300 ) + 1 (if have any leftover) Rows.&lt;/P&gt;&lt;P&gt;I can use your suggestion if i put all the transaction counts for 1 document, i.e putting 12000 line items into 1 document, sadly it's really time consuming - I think SAP BAPI for small line item use, but it's different kind of problem.&lt;/P&gt;&lt;P&gt;And.. I was worrying about.. 'modifying both itab at the same time' problem.&lt;/P&gt;&lt;P&gt;If parallel jobs finished at the same time, and it tries update t_table - Which DML will be used first?&lt;BR /&gt;I think Modify, or Update DML will put sy-subrc = 4, which are error - the table is locked.&lt;BR /&gt;So, I want to split the itab for job-basis. I think it completely negates the 'update' problem.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 08:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/processing-material-movement-using-parallel-processing-need-help-for-split/m-p/12517250#M2004440</guid>
      <dc:creator>former_member282589</dc:creator>
      <dc:date>2021-11-04T08:12:39Z</dc:date>
    </item>
  </channel>
</rss>

