<?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: Regarding BAPI_PO_CREATE1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300152#M1390973</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;For those who will have the same problem related to passing the subcontract fields&lt;/P&gt;&lt;P&gt;The solution is to fill the table EXTENSIONIN : example :&lt;/P&gt;&lt;P&gt;STRUCTURE VALUEPART1 VALUEPART2&lt;/P&gt;&lt;P&gt;SERRU 1 00010&lt;/P&gt;&lt;P&gt;DISUB_SOBKZ "Q" 00010&lt;/P&gt;&lt;P&gt;DISUB_PSPNR "00000289" 00010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not working try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF lty_ebelp,&lt;/P&gt;&lt;P&gt;ebelp TYPE ebelp,&lt;/P&gt;&lt;P&gt;END OF lty_ebelp.&lt;/P&gt;&lt;P&gt;TYPES BEGIN OF lty_adsub.&lt;/P&gt;&lt;P&gt;include TYPE lty_ebelp.&lt;/P&gt;&lt;P&gt;include TYPE disub_mepoitem_data.&lt;/P&gt;&lt;P&gt;TYPES END OF lty_adsub.&lt;/P&gt;&lt;P&gt;TYPES BEGIN OF lty_adsubx.&lt;/P&gt;&lt;P&gt;include TYPE lty_ebelp.&lt;/P&gt;&lt;P&gt;include TYPE disub_mepoitem_datax.&lt;/P&gt;&lt;P&gt;TYPES END OF lty_adsubx.&lt;/P&gt;&lt;P&gt;DATA: ls_extensionin TYPE bapiparex,&lt;/P&gt;&lt;P&gt;lt_extensionin TYPE STANDARD TABLE OF bapiparex,&lt;/P&gt;&lt;P&gt;ls_adsub TYPE lty_adsub,&lt;/P&gt;&lt;P&gt;ls_adsubx TYPE lty_adsubx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_adsub-ebelp = '00010'.&lt;/P&gt;&lt;P&gt;ls_adsub-serru = '1'.&lt;/P&gt;&lt;P&gt;ls_adsub-disub_sobkz = 'B'.&lt;/P&gt;&lt;P&gt;ls_adsub-disub_pspnr = '00000289'.&lt;/P&gt;&lt;P&gt;MOVE ls_adsub TO ls_extensionin-valuepart1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_extensionin-structure = cl_adsub_constants=&amp;gt;extin_po_struc.&lt;/P&gt;&lt;P&gt;APPEND ls_extensionin TO lt_extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_adsubx-ebelp = '00010'.&lt;/P&gt;&lt;P&gt;ls_adsubx-serru = 'X'.&lt;/P&gt;&lt;P&gt;ls_adsubx-disub_sobkz = 'X'.&lt;/P&gt;&lt;P&gt;ls_adsubx-disub_pspnr = 'X'.&lt;/P&gt;&lt;P&gt;MOVE ls_adsubx TO ls_extensionin-valuepart1.&lt;/P&gt;&lt;P&gt;ls_extensionin-structure = cl_adsub_constants=&amp;gt;extin_po_strucx.&lt;/P&gt;&lt;P&gt;APPEND ls_extensionin TO lt_extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So data structure LT_EXTENSIONIN will be used when calling BAPI_PO_CREATE1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : The solution is explained in the SAP Note 1566153.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Youssef BENAAMOU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Feb 2012 15:24:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-17T15:24:31Z</dc:date>
    <item>
      <title>Regarding BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300147#M1390968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Freinds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI_PO_CREATE1 to create a purchase order based on the purchase requisition from ME21n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I am struck up with the following 2 errors.&lt;/P&gt;&lt;P&gt; 1. 'Procurement without material from vendor with plant assignment is not defined'.&lt;/P&gt;&lt;P&gt; 2. 'Subcontracting as stock transfer within a  company code not possible'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I search in this forum also not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help on the above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 07:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300147#M1390968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T07:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300148#M1390969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update these error, Check with your functional consultant,  check the data and scenario is correct for that particullar document, some where you are missing some filed, ask him to check the data once check the whether you updated the exact data in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Aeda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 10:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300148#M1390969</guid>
      <dc:creator>NAeda</dc:creator>
      <dc:date>2009-11-12T10:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300149#M1390970</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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per my research, I found that the field SERRU(Sub contracting which is at Item level) is not available in the BAPI structures. So I am not able to pass the value to that filed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I suspect, this can be passed by using Export Memory. but I am not able to use this properly. it means, there are two parameters in the BAPI which are related to MEMORY and also there are two tables in the BAPI related to this Memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one suggest on how to use this memory parameters properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 13:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300149#M1390970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T13:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300150#M1390971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    You better check your inputs,that if you are not giving material for a line item,you must provide the account assignment category,short text,plant, qty and material group.You check in debuging mode whether appropriate update fields are put.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Manesh.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 14:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300150#M1390971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T14:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300151#M1390972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manesh,&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;As I checked I already passed all the necessary data except the Field: SERRU which I am not able to find in the BAPI tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 14:25:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300151#M1390972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T14:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300152#M1390973</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;For those who will have the same problem related to passing the subcontract fields&lt;/P&gt;&lt;P&gt;The solution is to fill the table EXTENSIONIN : example :&lt;/P&gt;&lt;P&gt;STRUCTURE VALUEPART1 VALUEPART2&lt;/P&gt;&lt;P&gt;SERRU 1 00010&lt;/P&gt;&lt;P&gt;DISUB_SOBKZ "Q" 00010&lt;/P&gt;&lt;P&gt;DISUB_PSPNR "00000289" 00010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not working try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF lty_ebelp,&lt;/P&gt;&lt;P&gt;ebelp TYPE ebelp,&lt;/P&gt;&lt;P&gt;END OF lty_ebelp.&lt;/P&gt;&lt;P&gt;TYPES BEGIN OF lty_adsub.&lt;/P&gt;&lt;P&gt;include TYPE lty_ebelp.&lt;/P&gt;&lt;P&gt;include TYPE disub_mepoitem_data.&lt;/P&gt;&lt;P&gt;TYPES END OF lty_adsub.&lt;/P&gt;&lt;P&gt;TYPES BEGIN OF lty_adsubx.&lt;/P&gt;&lt;P&gt;include TYPE lty_ebelp.&lt;/P&gt;&lt;P&gt;include TYPE disub_mepoitem_datax.&lt;/P&gt;&lt;P&gt;TYPES END OF lty_adsubx.&lt;/P&gt;&lt;P&gt;DATA: ls_extensionin TYPE bapiparex,&lt;/P&gt;&lt;P&gt;lt_extensionin TYPE STANDARD TABLE OF bapiparex,&lt;/P&gt;&lt;P&gt;ls_adsub TYPE lty_adsub,&lt;/P&gt;&lt;P&gt;ls_adsubx TYPE lty_adsubx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_adsub-ebelp = '00010'.&lt;/P&gt;&lt;P&gt;ls_adsub-serru = '1'.&lt;/P&gt;&lt;P&gt;ls_adsub-disub_sobkz = 'B'.&lt;/P&gt;&lt;P&gt;ls_adsub-disub_pspnr = '00000289'.&lt;/P&gt;&lt;P&gt;MOVE ls_adsub TO ls_extensionin-valuepart1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_extensionin-structure = cl_adsub_constants=&amp;gt;extin_po_struc.&lt;/P&gt;&lt;P&gt;APPEND ls_extensionin TO lt_extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_adsubx-ebelp = '00010'.&lt;/P&gt;&lt;P&gt;ls_adsubx-serru = 'X'.&lt;/P&gt;&lt;P&gt;ls_adsubx-disub_sobkz = 'X'.&lt;/P&gt;&lt;P&gt;ls_adsubx-disub_pspnr = 'X'.&lt;/P&gt;&lt;P&gt;MOVE ls_adsubx TO ls_extensionin-valuepart1.&lt;/P&gt;&lt;P&gt;ls_extensionin-structure = cl_adsub_constants=&amp;gt;extin_po_strucx.&lt;/P&gt;&lt;P&gt;APPEND ls_extensionin TO lt_extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So data structure LT_EXTENSIONIN will be used when calling BAPI_PO_CREATE1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : The solution is explained in the SAP Note 1566153.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Youssef BENAAMOU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 15:24:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bapi-po-create1/m-p/6300152#M1390973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-17T15:24:31Z</dc:date>
    </item>
  </channel>
</rss>

