<?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: Query on BAPI_ROUTING_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902765#M1144895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sojan / Ankesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, somehow it is not clear how to proceed. Could you please elaborate more on how do I go about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Sojan, how do I use call transaction to modify the routing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Ankesh, can you please tell me exactly which BDC I need to change ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be of great help !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Dec 2008 13:36:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-08T13:36:26Z</dc:date>
    <item>
      <title>Query on BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902762#M1144892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI_ROUTING_CREATE to create routings. My requirement is that while creating a routing if user chooses reference, I donot want to increment the Group counter (PLNAL) - only one of the fields ZKRIZ(Counter for additional criteria) or ZAEHL (Internal counter) should get incremented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While passing parameter TASK and MATERIAL task allocation i tried to keep the PLNAL same. But, the BAPI returns an error saying :-&lt;/P&gt;&lt;P&gt;"Task list N 50000001 7 already exists"&lt;/P&gt;&lt;P&gt;where, 50000001 = PLNNR (Key for Task List Group) AND&lt;/P&gt;&lt;P&gt;7 = PLNAL (Group Counter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i keep the PLNAL same incrementing only the ZKRIZ / ZAEHL field ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 09:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902762#M1144892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-08T09:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Query on BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902763#M1144893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        It looks like the BAPI_ROUTING_CREATE considers each record as a new task list for the routing, basically it looks like it is intended for creation rather than modification which is your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I see your requirement, I think if you want to go by the Bapi way, you should create a custom BAPI which based on user selection creates routing using BAPI_ROUTING_CREATE or modifies routing&lt;/P&gt;&lt;P&gt;based on custom code which you would implement. The modification part can be implemented as&lt;/P&gt;&lt;P&gt;a call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can implement the whole functionality as a call transaction inside a BAPI or FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sojan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 10:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902763#M1144893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-08T10:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Query on BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902764#M1144894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Sojan has also indicated BAPI_ROUTING_CREATE will try to create a Group Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As running a bdc could also be tricky. You could try one more thing. The default program for Creating Routings also uses bdc and not direct input. You can copy it into a Z-program to customise it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all try to have a recording. But do keep in mind that from the first screen of CA02 different screens may open up as second screen depending whether there are any Material allocations or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert if there is anything to further look up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 11:16:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902764#M1144894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-08T11:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Query on BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902765#M1144895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sojan / Ankesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, somehow it is not clear how to proceed. Could you please elaborate more on how do I go about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Sojan, how do I use call transaction to modify the routing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Ankesh, can you please tell me exactly which BDC I need to change ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be of great help !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 13:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902765#M1144895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-08T13:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Query on BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902766#M1144896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before moving any further, have you tried achieving the same by manually modifying the Group?&lt;/P&gt;&lt;P&gt;How it has to be achieved manually in the case a reference is made?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revert with this.&lt;/P&gt;&lt;P&gt;The standard program for Creating Routings is RCPTRA01 which uses Batch input. But modifying it can also be understood once the same is achieved manually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 14:10:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902766#M1144896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-08T14:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Query on BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902767#M1144897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            Call transaction is an abap statement used inside an ABAP program (BAPI/FM/REPORT/Dialogue programming) to call a standard transaction in SAP and execute the sequence of screens automatically with the program feed, synchronously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would find several sample programs over the net to accomplish this functionality,&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9da935c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9da935c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sojan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 14:40:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902767#M1144897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-08T14:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Query on BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902768#M1144898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried it manually through transaction CEWB i.e. for a Routing if we go to the material data and assign the same material more than once it creates multiple entries in table MAPL (keeping the group counter same) and incrementing only the ZKRIZ field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 04:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-on-bapi-routing-create/m-p/4902768#M1144898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T04:35:28Z</dc:date>
    </item>
  </channel>
</rss>

