<?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 componenet allocation in BAPI_ROUTING_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572610#M1433083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk this link for sample pgm&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapnet.ru/viewtopic.php?t=1951&amp;amp;sid=520e3db2937fef4ed18117f320f9539e" target="test_blank"&gt;http://www.sapnet.ru/viewtopic.php?t=1951&amp;amp;sid=520e3db2937fef4ed18117f320f9539e&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2010 02:14:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-01T02:14:09Z</dc:date>
    <item>
      <title>how to use componenet allocation in BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572609#M1433082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                I am creating routing using bapi BAPI_ROUTING_CREATE. In that i am passing header,operation and componenet &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;allocation level but its giving error as 'operation has to be assigned is not completely specified'. Kindly anyone help me regarding this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramesh Manoharan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ramesh.manoharan on Jan 30, 2010 4:10 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 09:19:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572609#M1433082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-27T09:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to use componenet allocation in BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572610#M1433083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk this link for sample pgm&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapnet.ru/viewtopic.php?t=1951&amp;amp;sid=520e3db2937fef4ed18117f320f9539e" target="test_blank"&gt;http://www.sapnet.ru/viewtopic.php?t=1951&amp;amp;sid=520e3db2937fef4ed18117f320f9539e&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2010 02:14:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572610#M1433083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-01T02:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to use componenet allocation in BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572611#M1433084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The link which you have been sent is not helping for me .. In that program the component allocation structure has not been &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;populated. I want to know the details about each field in structure  of component allocation... kindly help me regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramesh Manoharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 05:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572611#M1433084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T05:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to use componenet allocation in BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572612#M1433085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will provide you the field and structures which should be populated to create routing through BAPI_ROUTING_CREATE&lt;/P&gt;&lt;P&gt;in few minutes for sure.cause i am checking it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;till the time i can give you a hint..try this hint....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to CA01 (create routing) create routing through this ....with header,one operation and one componenet allocation.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ask any of the functional consultant to create this if its not  possible for you as a ABAPER....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then take that routing number and go to BAPI_ROUTING_DISPLAY.....provide that number to this BAPI and execute...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what ever export structures you will be getting for header,operation and componenet allocation..pass the same &lt;/P&gt;&lt;P&gt;structures and values to BAPI_ROUTING_CREATE...so by that means u will be able to create  routing....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here few things are important...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;materail creation in the plant specified...&lt;/P&gt;&lt;P&gt;as you are getting error in opeartion check work center........&lt;/P&gt;&lt;P&gt;and for componenet alllocation BOM should have been in the system for that material.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 10:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572612#M1433085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T10:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to use componenet allocation in BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572613#M1433086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello if the problem is with operation...then pass the below data for header and operation it creates routing i have verified.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populate BAPI_ROUTING_CREATE .....using following structures and fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOMUSAGE                                       1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TASK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GROUP_COUNTER                                 1&lt;/P&gt;&lt;P&gt;TASK_LIST_USAGE                               1&lt;/P&gt;&lt;P&gt;TASK_LIST_STATUS                              4     &lt;/P&gt;&lt;P&gt;TASK_MEASURE_UNIT                           EA&lt;/P&gt;&lt;P&gt;LOT_SIZE_FROM                                    190&lt;/P&gt;&lt;P&gt;LOT_SIZE_TO                                          300&lt;/P&gt;&lt;P&gt;DESCRIPTION                                          TEST123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OPERATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GROUP_COUNTER                                   1&lt;/P&gt;&lt;P&gt;ACTIVITY                                               0010(operation number)&lt;/P&gt;&lt;P&gt;CONTROL_KEY                                      PP01&lt;/P&gt;&lt;P&gt;PLANT                                                    0001&lt;/P&gt;&lt;P&gt;DESCRIPTION                                           TEST&lt;/P&gt;&lt;P&gt;OPERATION_MEASURE_UNIT                  EA&lt;/P&gt;&lt;P&gt;DENOMINATOR                                       1&lt;/P&gt;&lt;P&gt;NOMINATOR                                            1&lt;/P&gt;&lt;P&gt;BASE_QUANTITY                                    12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this dont forget to use BAPI_TRANSACTION_COMMIT ( go to se37 ..test&lt;DEL&gt;-test sequences&lt;/DEL&gt;---enter BAPI_ROUTING_CREATE and BAPI_TRANSACTION_COMMIT)&lt;/P&gt;&lt;P&gt;and execute ..i have tested this it works perfet..create routing with 1 opeartion 0010...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for componenet allocation i am looking..but i have some access problems ......as u said u have error in opeartin that means what  ever data you are using for COMPONENETALLOCATION is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first create one routing with header and one operation only using data i have specified...if it works then for next routing u can add fields into componenent allocation and test.....remember for componenet allocation..BOM needs to be there for that material assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope i am able to clear some of your confusion..cheers....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt; Abhijeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 11:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572613#M1433086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T11:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to use componenet allocation in BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572614#M1433087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for the reply .. I am getting error in component level. I have tested for only header and operation level it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i pass component structure to bapi it is giving error as  'The component to be assigned has not been completely &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;specified'. Could you describe about each field in component allocation level..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramesh Manoharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 13:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572614#M1433087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T13:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to use componenet allocation in BAPI_ROUTING_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572615#M1433088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error you are getting is coming from component allocation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ensure that the structure and internal table for component allocation (passed to BAPI) is cleared before being populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; componentallocation-valid_from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; componentallocation-valid_to_date '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "make sequence 6 characters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-SEQUENCE_NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = lv_sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-ALTERNATIVE_BOM = gs_stko-stlal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-BOM_NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gs_stko-stlnr.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-BOM_TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gs_stko-STLTY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-bom_type_root&amp;nbsp;&amp;nbsp; = gs_stko-STLTY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-BOM_NO_ROOT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gs_stko-stlnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-ITEM_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gs_stpo-STLKN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; componentallocation-activity&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = VORNR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; componentallocation-item_no&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = POSNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-PLANT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = WERKS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-MATERIAL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-COMP_QTY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gs_stpo-MENGE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPONENTALLOCATION-COMP_UNIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gs_stpo-MEINS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should help. It is working for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 06:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-componenet-allocation-in-bapi-routing-create/m-p/6572615#M1433088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-15T06:11:54Z</dc:date>
    </item>
  </channel>
</rss>

