<?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 Using BAPI_ROUTING_CREATE to copy a routing? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-routing-create-to-copy-a-routing/m-p/865934#M48999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;   I'm currently using this bapi to create new routings. First I upload a few files for the header information and operation information. When succesfully uploaded, I determine the currect taskgroup of this material and select the first free possible number as a counter from the total amount of records that are in the mapl table (max plnal + 1). I do this because if I do not provide a group number it just generated a new groupnumber for the material plant combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call this bapi using this info and it generates a new routing with the provided information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An other thing I'd like to do is to copy a routing instead of creating a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say I created a routing with number one. The next thing I'd like to do is to copy the first created routing instead of creating a new one. Does someone know how to use this bapi to copy thing routing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;Laurens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2005 12:35:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-21T12:35:43Z</dc:date>
    <item>
      <title>Using BAPI_ROUTING_CREATE to copy a routing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-routing-create-to-copy-a-routing/m-p/865934#M48999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;   I'm currently using this bapi to create new routings. First I upload a few files for the header information and operation information. When succesfully uploaded, I determine the currect taskgroup of this material and select the first free possible number as a counter from the total amount of records that are in the mapl table (max plnal + 1). I do this because if I do not provide a group number it just generated a new groupnumber for the material plant combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call this bapi using this info and it generates a new routing with the provided information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An other thing I'd like to do is to copy a routing instead of creating a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say I created a routing with number one. The next thing I'd like to do is to copy the first created routing instead of creating a new one. Does someone know how to use this bapi to copy thing routing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;Laurens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2005 12:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-routing-create-to-copy-a-routing/m-p/865934#M48999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-21T12:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using BAPI_ROUTING_CREATE to copy a routing?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-routing-create-to-copy-a-routing/m-p/865935#M49000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well actually that´s almost exactly what my task is as well.&lt;/P&gt;&lt;P&gt;So what i do is:&lt;/P&gt;&lt;P&gt; - reading the headdata of the given routing (the one which is to be copied)&lt;/P&gt;&lt;P&gt; - reading the positiondata of the given routing (the one which is to be copied)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then calling the BAPI_ROUTING_CREATE while exporting the headdata and the positiondata to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works perfect for the routing itself, but the BAPI doesnt create any operations while it displays a sucess message and NO errormessages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 14:23:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-bapi-routing-create-to-copy-a-routing/m-p/865935#M49000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-02T14:23:53Z</dc:date>
    </item>
  </channel>
</rss>

