<?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 Problems with function BAPI_PO_CREATE1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function-bapi-po-create1/m-p/3103229#M736478</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 need to work with BAPI_PO_CREATE1, but I didn`t find the right way to fill it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the error message, that there is no position and the purchase order wasn`t saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;The following parameters were used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: x_po_items  TYPE STANDARD TABLE OF bapimepoitem WITH HEADER                                                                                &lt;/P&gt;&lt;P&gt;LINE.&lt;/P&gt;&lt;P&gt;&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                  = x_po_header&lt;/P&gt;&lt;P&gt;        poheaderx                = wa_headerx&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;        exppurchaseorder     = x_po_number&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;        return                       = x_bapireturn&lt;/P&gt;&lt;P&gt;        poitem                     = x_po_items&lt;/P&gt;&lt;P&gt;        poitemx                   = it_itemx&lt;/P&gt;&lt;P&gt;        poschedule              = x_po_items_schedules&lt;/P&gt;&lt;P&gt;        POSCHEDULEX       = it_eketx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  p_x_po_items-material    = &amp;lt;f_input&amp;gt;-matnr.&lt;/P&gt;&lt;P&gt;  p_x_po_items-ematerial     = &amp;lt;f_input&amp;gt;-matnr.&lt;/P&gt;&lt;P&gt;  p_x_po_items-NET_PRICE = '12'.&lt;/P&gt;&lt;P&gt;  p_x_po_items-stge_loc   = &amp;lt;f_input&amp;gt;-lgort.&lt;/P&gt;&lt;P&gt;  p_x_po_items-plant       = p_werks.          &lt;/P&gt;&lt;P&gt;  p_x_po_items-no_rounding = 'X'.  &lt;/P&gt;&lt;P&gt;  p_x_po_items-tax_code    = &amp;lt;f_input&amp;gt;-mwskz.&lt;/P&gt;&lt;P&gt;  p_x_po_items-ret_item    = 'X'.&lt;/P&gt;&lt;P&gt;  IF p_klb = 'X'.&lt;/P&gt;&lt;P&gt;    p_x_po_items-item_cat = '7'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  APPEND p_x_po_items.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;IS THERE SOMETHING MISSING?????&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Thanks for help&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2007 07:24:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-23T07:24:04Z</dc:date>
    <item>
      <title>Problems with function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function-bapi-po-create1/m-p/3103229#M736478</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 need to work with BAPI_PO_CREATE1, but I didn`t find the right way to fill it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the error message, that there is no position and the purchase order wasn`t saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;The following parameters were used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: x_po_items  TYPE STANDARD TABLE OF bapimepoitem WITH HEADER                                                                                &lt;/P&gt;&lt;P&gt;LINE.&lt;/P&gt;&lt;P&gt;&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                  = x_po_header&lt;/P&gt;&lt;P&gt;        poheaderx                = wa_headerx&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;        exppurchaseorder     = x_po_number&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;        return                       = x_bapireturn&lt;/P&gt;&lt;P&gt;        poitem                     = x_po_items&lt;/P&gt;&lt;P&gt;        poitemx                   = it_itemx&lt;/P&gt;&lt;P&gt;        poschedule              = x_po_items_schedules&lt;/P&gt;&lt;P&gt;        POSCHEDULEX       = it_eketx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  p_x_po_items-material    = &amp;lt;f_input&amp;gt;-matnr.&lt;/P&gt;&lt;P&gt;  p_x_po_items-ematerial     = &amp;lt;f_input&amp;gt;-matnr.&lt;/P&gt;&lt;P&gt;  p_x_po_items-NET_PRICE = '12'.&lt;/P&gt;&lt;P&gt;  p_x_po_items-stge_loc   = &amp;lt;f_input&amp;gt;-lgort.&lt;/P&gt;&lt;P&gt;  p_x_po_items-plant       = p_werks.          &lt;/P&gt;&lt;P&gt;  p_x_po_items-no_rounding = 'X'.  &lt;/P&gt;&lt;P&gt;  p_x_po_items-tax_code    = &amp;lt;f_input&amp;gt;-mwskz.&lt;/P&gt;&lt;P&gt;  p_x_po_items-ret_item    = 'X'.&lt;/P&gt;&lt;P&gt;  IF p_klb = 'X'.&lt;/P&gt;&lt;P&gt;    p_x_po_items-item_cat = '7'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  APPEND p_x_po_items.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;IS THERE SOMETHING MISSING?????&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Thanks for help&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 07:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function-bapi-po-create1/m-p/3103229#M736478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-23T07:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with function BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function-bapi-po-create1/m-p/3103230#M736479</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;First fill the field x_po_items-po_item?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you must also fill the tables t_itemx, x_po_items_schedules and it_eketx. Take a look to the documentation of the function module a small working example of data is provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 08:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function-bapi-po-create1/m-p/3103230#M736479</guid>
      <dc:creator>matthias_fiebig</dc:creator>
      <dc:date>2007-11-23T08:16:14Z</dc:date>
    </item>
  </channel>
</rss>

