<?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: Subcontract components BAPI_PO_CREATE1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subcontract-components-bapi-po-create1/m-p/8396807#M1644346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see note 197958:&lt;/P&gt;&lt;P&gt;"3. You can only create subcontracting items if the components (bill of material) already exist. As of &lt;STRONG style="text-decoration: underline;"&gt;ERP 2005,&lt;/STRONG&gt; you can transfer subcontracting components to BAPI_PO_CREATE1 and BAPI_PO_CHANGE. By doing this, you can create completely new BOMs."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2012 16:54:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-07-27T16:54:51Z</dc:date>
    <item>
      <title>Subcontract components BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subcontract-components-bapi-po-create1/m-p/8396804#M1644343</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;i'm trying to use BAPI_PO_CREATE1 to create purchase orders with subcontracting components. I've been reading through many threads and everyone says that i need to load POCOMPONENT and POCOMPONENTX tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that i don't have those structures in my SAP system. I'm using sap r/3 4.7 (Release 470 patch level 0020)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should I upgrade patch level in order to be able to use them? I need to load components in the PO but i don't know how to handle it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 20:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subcontract-components-bapi-po-create1/m-p/8396804#M1644343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-10T20:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Subcontract components BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subcontract-components-bapi-po-create1/m-p/8396805#M1644344</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;pass the values this way :&lt;/P&gt;&lt;P&gt;DATA : C_IND       TYPE   C VALUE 'X',&lt;/P&gt;&lt;P&gt;             L_PURCHASE       TYPE    BAPIMEPOHEADER-PO_NUMBER .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Populating Item table&lt;/P&gt;&lt;P&gt;            WA_ITEM-PREQ_NO           =    WA_EBAN-BANFN.&lt;/P&gt;&lt;P&gt;            WA_ITEM-PREQ_ITEM         =    WA_EBAN-BNFPO.&lt;/P&gt;&lt;P&gt;            WA_ITEM-PO_ITEM           =    WA_EBAN-BNFPO.&lt;/P&gt;&lt;P&gt;            WA_ITEM-SHORT_TEXT        =    WA_EBAN-TXZ01.&lt;/P&gt;&lt;P&gt;            WA_ITEM-MATERIAL          =    WA_EBAN-MATNR.&lt;/P&gt;&lt;P&gt;            WA_ITEM-PLANT             =    WA_EBAN-WERKS.&lt;/P&gt;&lt;P&gt;            WA_ITEM-STGE_LOC          =    WA_EBAN-LGORT.&lt;/P&gt;&lt;P&gt;            WA_ITEM-QUANTITY          =    WA_EBAN-MENGE.&lt;/P&gt;&lt;P&gt;            WA_ITEM-MATL_GROUP        =    WA_EBAN-MATKL.&lt;/P&gt;&lt;P&gt;            WA_ITEM-NET_PRICE         =    WA_EBAN-PREIS.&lt;/P&gt;&lt;P&gt;            APPEND WA_ITEM TO LT_ITEM.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-PREQ_NO          =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-PREQ_ITEM        =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-PO_ITEM          =    WA_EBAN-BNFPO.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-PO_ITEMX         =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-SHORT_TEXT       =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-MATERIAL         =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-PLANT            =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-STGE_LOC         =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-QUANTITY         =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-MATL_GROUP       =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_ITEMX-NET_PRICE        =    C_IND.&lt;/P&gt;&lt;P&gt;            APPEND WA_ITEMX TO LT_ITEMX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WA_HEADER-VENDOR           =    WA_EBAN-LIFNR.&lt;/P&gt;&lt;P&gt;            WA_HEADER-PURCH_ORG        =   'BMS'.&lt;/P&gt;&lt;P&gt;            WA_HEADER-PUR_GROUP        =    WA_EBAN-EKGRP.&lt;/P&gt;&lt;P&gt;            WA_HEADER-DOC_TYPE         =    WA_EBAN-BSART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WA_HEADERX-VENDOR          =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_HEADERX-PURCH_ORG       =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_HEADERX-PUR_GROUP       =    C_IND.&lt;/P&gt;&lt;P&gt;            WA_HEADERX-DOC_TYPE        =    C_IND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CLEAR:L_PURCHASE.&lt;/P&gt;&lt;P&gt;              REFRESH:LT_RETURN1.&lt;/P&gt;&lt;P&gt;              CALL FUNCTION 'BAPI_PO_CREATE1'&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                  POHEADER         = WA_HEADER&lt;/P&gt;&lt;P&gt;                  POHEADERX        = WA_HEADERX&lt;/P&gt;&lt;P&gt;                IMPORTING&lt;/P&gt;&lt;P&gt;                  EXPPURCHASEORDER = L_PURCHASE&lt;/P&gt;&lt;P&gt;                TABLES&lt;/P&gt;&lt;P&gt;                  RETURN           = LT_RETURN1&lt;/P&gt;&lt;P&gt;                  POITEM           = LT_ITEM&lt;/P&gt;&lt;P&gt;                  POITEMX          = LT_ITEMX.&lt;/P&gt;&lt;P&gt;MAY SOLVE UR PROBLEM...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 05:43:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subcontract-components-bapi-po-create1/m-p/8396805#M1644344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-11T05:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Subcontract components BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subcontract-components-bapi-po-create1/m-p/8396806#M1644345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anusha, i can't see in your code where I can fill the components. what i want to create is a subcontract purchase order. so I need to set item_category = 'L' and i need to fill in components for materials, but i can't find structures to fill these components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i can see in your code is how to create a normal purchase order, but that's not my doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Fabian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 07:12:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subcontract-components-bapi-po-create1/m-p/8396806#M1644345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-11T07:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Subcontract components BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subcontract-components-bapi-po-create1/m-p/8396807#M1644346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see note 197958:&lt;/P&gt;&lt;P&gt;"3. You can only create subcontracting items if the components (bill of material) already exist. As of &lt;STRONG style="text-decoration: underline;"&gt;ERP 2005,&lt;/STRONG&gt; you can transfer subcontracting components to BAPI_PO_CREATE1 and BAPI_PO_CHANGE. By doing this, you can create completely new BOMs."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 16:54:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subcontract-components-bapi-po-create1/m-p/8396807#M1644346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-27T16:54:51Z</dc:date>
    </item>
  </channel>
</rss>

