<?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 Issue while createing PO using BAPI_PO_CREATE1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-createing-po-using-bapi-po-create1/m-p/7281964#M1531620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     I am creating PO's from the se38 program where in i have the option to select either simulation or a PO creation on the screen. In simulation i am checking the test run flag and giving the bapi return as output. So when i am doing a test run i am able to see the success message that the &lt;STRONG&gt;Function "Create purchse Order " performed in test run&lt;/STRONG&gt;. But when i hit the create PO for the same details it is giving me a error message &lt;STRONG&gt;"No instance of Object type Purchase Order has been created. External referance:"&lt;/STRONG&gt;. There is field by name acknowl_no in poitem table of the FM by passing which i used to get the PO created prviously but now it should not be populated from the program for creating create On Hold PO. I am passing the all the check tables properly, (i hope that the field is not mandatory as in the FM documentation it was not mentioned so)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Any help is aprpreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I guess there are several questions asked on this and i also searched for the same but i didnt found any one matching my requirement which made me to rise this question.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Sep 2010 16:59:06 GMT</pubDate>
    <dc:creator>UdayS</dc:creator>
    <dc:date>2010-09-08T16:59:06Z</dc:date>
    <item>
      <title>Issue while createing PO using BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-createing-po-using-bapi-po-create1/m-p/7281964#M1531620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     I am creating PO's from the se38 program where in i have the option to select either simulation or a PO creation on the screen. In simulation i am checking the test run flag and giving the bapi return as output. So when i am doing a test run i am able to see the success message that the &lt;STRONG&gt;Function "Create purchse Order " performed in test run&lt;/STRONG&gt;. But when i hit the create PO for the same details it is giving me a error message &lt;STRONG&gt;"No instance of Object type Purchase Order has been created. External referance:"&lt;/STRONG&gt;. There is field by name acknowl_no in poitem table of the FM by passing which i used to get the PO created prviously but now it should not be populated from the program for creating create On Hold PO. I am passing the all the check tables properly, (i hope that the field is not mandatory as in the FM documentation it was not mentioned so)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Any help is aprpreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I guess there are several questions asked on this and i also searched for the same but i didnt found any one matching my requirement which made me to rise this question.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 16:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-createing-po-using-bapi-po-create1/m-p/7281964#M1531620</guid>
      <dc:creator>UdayS</dc:creator>
      <dc:date>2010-09-08T16:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while createing PO using BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-createing-po-using-bapi-po-create1/m-p/7281965#M1531621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Uday!&lt;/P&gt;&lt;P&gt;After the unsuccessful call to BAPI_PO_CREATE1 are you getting the table RETURN with only 1 row?&lt;/P&gt;&lt;P&gt;Please check if the BAPI are retuning more rows in the table RETURN with others error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claudio (Aparatey)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 19:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-createing-po-using-bapi-po-create1/m-p/7281965#M1531621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-10T19:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while createing PO using BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-createing-po-using-bapi-po-create1/m-p/7281966#M1531622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in BAPI u pass hear, headerx, and item level data and then after check then return message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = header
poheaderx = headerx
IMPORTING
exppurchaseorder = p_pono
TABLES
return = return
poitem = it_item
poitemx = it_itemx.



 CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
                WAIT   = 'X'
           IMPORTING
                RETURN = BAPIRETURN.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kk.adhvaryu on Sep 20, 2010 2:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 12:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-createing-po-using-bapi-po-create1/m-p/7281966#M1531622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-20T12:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while createing PO using BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-createing-po-using-bapi-po-create1/m-p/7281967#M1531623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out a solution, as we need to create On Hold PO there are few flags by setting which we can create the On Hold PO even if the PO is having errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 10:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-createing-po-using-bapi-po-create1/m-p/7281967#M1531623</guid>
      <dc:creator>UdayS</dc:creator>
      <dc:date>2010-11-01T10:38:17Z</dc:date>
    </item>
  </channel>
</rss>

