<?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: BAPI_PO_CREATE1 Errors in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932884#M1964880</link>
    <description>&lt;P&gt;&lt;EM&gt;For your reference: you can export an IDOC to XML, Excel or flat file in the WE02  menu (display idoc, pront idoc, list, export)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Could you  post more relevant parts of your custom program that create IDOC or compare yourself with a standard form as SEND_PORDCR1 of program BUS2012_ICH_R3&lt;/P&gt;&lt;UL&gt;&lt;LI&gt; This program creates an IDOC from an existing PO for replication, but as you got another program that call the creation BAPI, you can generate easily same data that the one returned by the read BAPI. I would suppose you didn't pass some parameterX table that the IDOC requires even if optional in create BAPI.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Tue, 25 Jun 2019 06:53:38 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2019-06-25T06:53:38Z</dc:date>
    <item>
      <title>BAPI_PO_CREATE1 Errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932880#M1964876</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;I'm creating a PO via IDOC programmatically from a file. I'm getting the following errors....ive pulled them from the BAPI output. I compared my inputs against another program in the system that does a straight BAPI PO Create (no idoc) and im not seeing what else is missing. Ive made sure the X structures are correct etc. the errors relate to segments that im not even populating and that aren't mandatory (theyre not populated in the upload program that works fine). I would appreciate any help.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;1 E MEPO 085 Check item number 0 in table POADDRDELIVERY&lt;BR /&gt;2 E MEPO 085 Check item number 0 in table POACCOUNTPROFITSEGMENT&lt;BR /&gt;3 E MEPO 085 Check item number 0 in table POCOMPONENTS&lt;BR /&gt;4 E MEPO 085 Check item number 0 in table POCOMPONENTSX&lt;BR /&gt;5 E MEPO 085 Check item number 0 in table POITEMSHIP&lt;BR /&gt;6 E MEPO 085 Check item number 0 in table POITEMSHIPX&lt;BR /&gt;7 E MEPO 085 Check item number 0 in table POTEXTITEM&lt;BR /&gt;8 E MEPO 085 Check item number 0 in table POEXPIMPITEM&lt;BR /&gt;9 E MEPO 085 Check item number 0 in table POEXPIMPITEMX&lt;BR /&gt;10 W 06 028 Purchase order date is in the past&lt;BR /&gt;11 W ME 887 Error transferring ExtensionIn data for enhancement CI_EKKODB&lt;BR /&gt;12 E BAPI 001 No instance of object type PurchaseOrder has been created. External reference:&lt;BR /&gt;13 E MEPO 001 Purchase order item 00001 still contains faulty schedule lines&lt;BR /&gt;14 W 06 207 Effective price is 37.22 EUR, material price is 16.81 EUR&lt;BR /&gt;15 I 06 045 Net price for item 00001 taken from conditions&lt;BR /&gt;16 E 06 722 Material FSN0611 not included in source list despite source list requirement&lt;/P&gt;
  &lt;P&gt;ADDITIONAL INFO: When I debugged I noticed that all these tables have 1 line in them, with no data. I haven't added those lines...so that's why its referring to item 0. If none of these tables had these blank lines then I would only have 1 VALID error (the material number one - 16 above)&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 10:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932880#M1964876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-06-24T10:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932881#M1964877</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;' Check item number 0 in table POxxxx&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How did you fill/handle the item number field PO_ITEM&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in the many table parameters related to items?&lt;/LI&gt;&lt;LI&gt;In many segments&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;' Error transferring ExtensionIn data for enhancement CI_EKKODB&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How did you fill/handle header customer fields&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;EXTENSIONIN structures BAPI_TE_MEPOHEADER[X]&lt;/LI&gt;&lt;LI&gt;IDOC segment E1BPPAREX&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So first, could you elaborate on: &lt;EM&gt;I'm creating a PO via IDOC programmatically from a file.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 13:16:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932881#M1964877</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2019-06-24T13:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932882#M1964878</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1696613-headerx.png"&gt;headerx.png&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/temp/1696612-header.png"&gt;header.png&lt;/A&gt;Here is the data for header and item attached I can send rest if needed. Just to re-cap when I clear the above tables in the BAPI it all posts fine. so it proves data is correct, as im not populating the above segments at all. that's the strange thing . you can ignore &lt;/P&gt;&lt;P&gt;EXTENSIONIN structures BAPI_TE_MEPOHEADER[X] as this is a warning, see above. And I don't fill &lt;/P&gt;&lt;P&gt;E1BPPAREX&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Im doing all this in we19 and bd87&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 14:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932882#M1964878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-06-24T14:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932883#M1964879</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1696620-itemx.png"&gt;itemx.png&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/temp/1696619-item.png"&gt;item.png&lt;/A&gt; sorry would let me attached items&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 14:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932883#M1964879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-06-24T14:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932884#M1964880</link>
      <description>&lt;P&gt;&lt;EM&gt;For your reference: you can export an IDOC to XML, Excel or flat file in the WE02  menu (display idoc, pront idoc, list, export)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Could you  post more relevant parts of your custom program that create IDOC or compare yourself with a standard form as SEND_PORDCR1 of program BUS2012_ICH_R3&lt;/P&gt;&lt;UL&gt;&lt;LI&gt; This program creates an IDOC from an existing PO for replication, but as you got another program that call the creation BAPI, you can generate easily same data that the one returned by the read BAPI. I would suppose you didn't pass some parameterX table that the IDOC requires even if optional in create BAPI.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 25 Jun 2019 06:53:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932884#M1964880</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2019-06-25T06:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932885#M1964881</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/storage/temp/1696650-we02.txt"&gt;we02.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm actually creating it directly in WE19. once I get that working I can program it.&lt;/P&gt;&lt;P&gt;it is strange that it does post fully once I clear those tables (that are not populated in we19).&lt;A href="https://answers.sap.com/storage/temp/1696651-we19.png"&gt;we19.png&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 08:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932885#M1964881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-06-25T08:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932886#M1964882</link>
      <description>&lt;P&gt;Try to delete in WE19 screen the segment you don't want to fill yet (else they will be passed with initial value)&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 09:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932886#M1964882</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2019-06-25T09:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 Errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932887#M1964883</link>
      <description>&lt;P&gt;Thank you, you are correct. WE19 should only have the segment I populate.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 09:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-errors/m-p/11932887#M1964883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-06-25T09:25:44Z</dc:date>
    </item>
  </channel>
</rss>

