<?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: How to use function module CP_SL_ROUTING_SELECTION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253814#M1721046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tooshar,&lt;/P&gt;&lt;P&gt;Yes my main requirement is to fetch those 3 values/&lt;/P&gt;&lt;P&gt;I have checked the table PLKO but found that even in this table the key fields are PLNTY, PLNNR and PLNAL. so writting a select on PLKO based on PSPNR of PLAF i think does not give a unique entry from this table.&lt;/P&gt;&lt;P&gt;Let me know if anything else is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Tousif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2013 13:45:32 GMT</pubDate>
    <dc:creator>former_member652338</dc:creator>
    <dc:date>2013-01-17T13:45:32Z</dc:date>
    <item>
      <title>How to use function module CP_SL_ROUTING_SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253810#M1721042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me by giving some examples of using the function module CP_SL_ROUTING_SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came to know that i have to pass the PLAF-PSPEL value in the import parameter of the FM and the FM works. But when i used this and executed, I do not get the output. So please let me know if i am missing any other stuff to be passed to the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a lot and also searched in the web, but as this FM is very rarely used, I could not find any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I find some solution here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tousif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 11:29:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253810#M1721042</guid>
      <dc:creator>former_member652338</dc:creator>
      <dc:date>2013-01-17T11:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function module CP_SL_ROUTING_SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253811#M1721043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tousif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RCPSL_SS-PLNTY = HEADER-PLNTY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RCPSL_SS-PLNNR = HEADER-PLNNR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RCPSL_SS-PLNAL = HEADER-PLNAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CP_SL_ROUTING_SELECTION'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RCPSL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = RCPSL_SS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLG_ESC&amp;nbsp;&amp;nbsp; = FLG_ESCAPE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLNAL_EXP = HEADER-PLNAL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLNNR_EXP = HEADER-PLNNR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLNTY_EXP = HEADER-PLNTY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESG_EXP&amp;nbsp; = MESG_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also refer to standard include LCOSDF1S where the FM is used.&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tooshar Bendale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 12:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253811#M1721043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-17T12:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function module CP_SL_ROUTING_SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253812#M1721044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tooshar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My main aim to use this FM itself is to get the values PLNTY, PLNNR and PLNAL. But I see that you are passing them to the header structure in order to execute the FM.&lt;/P&gt;&lt;P&gt;Please let me know if anything else needs to be passed other than the WBS element (PLAF-PSPNR) to this header structure to get those 3 details from FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Tousif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 12:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253812#M1721044</guid>
      <dc:creator>former_member652338</dc:creator>
      <dc:date>2013-01-17T12:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function module CP_SL_ROUTING_SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253813#M1721045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tousif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going ahead when i go through the FM i found that you will need to specify the object (RCPSL-OBJECT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are the values allowed for the object.&lt;/P&gt;&lt;P&gt;0 Direct selection without allocation object&lt;/P&gt;&lt;P&gt;1 Selection via material&lt;/P&gt;&lt;P&gt;2 Selection via equipment&lt;/P&gt;&lt;P&gt;3 Selection via functional location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However it is doing a selection on the table PLKO. The table PLKO contains all the values that you require. (PLNTY, PLNNR and PLNAL) and even it contains PSPNR. So however writing a select query on PLKO will be quite easy rather than going with this FM if you require only these 3 field values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if additional info is requied.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tooshar Bendale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 13:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253813#M1721045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-17T13:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function module CP_SL_ROUTING_SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253814#M1721046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tooshar,&lt;/P&gt;&lt;P&gt;Yes my main requirement is to fetch those 3 values/&lt;/P&gt;&lt;P&gt;I have checked the table PLKO but found that even in this table the key fields are PLNTY, PLNNR and PLNAL. so writting a select on PLKO based on PSPNR of PLAF i think does not give a unique entry from this table.&lt;/P&gt;&lt;P&gt;Let me know if anything else is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Tousif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 13:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-cp-sl-routing-selection/m-p/9253814#M1721046</guid>
      <dc:creator>former_member652338</dc:creator>
      <dc:date>2013-01-17T13:45:32Z</dc:date>
    </item>
  </channel>
</rss>

