<?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_PR_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572289#M258342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mathkunti Manohar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  about external PR number,&lt;/P&gt;&lt;P&gt;  i try to create a PR with specific number.&lt;/P&gt;&lt;P&gt;  i assign the number in PRHEADER-PREQ_NUM.&lt;/P&gt;&lt;P&gt;        and 'X" in PREHEADERX-PREQ_NUM.&lt;/P&gt;&lt;P&gt;  But i got a error: System error (error in method&lt;/P&gt;&lt;P&gt;if_purchase_requisition~post)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Can you give me some suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2008 05:59:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-20T05:59:20Z</dc:date>
    <item>
      <title>BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572286#M258339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've got some problems with this BAPI. When we execute this BAPI with an external reference we obtain this errors:&lt;/P&gt;&lt;P&gt;Creation indicator  invalid&lt;/P&gt;&lt;P&gt;No instance of object type PurchaseRequisition has been created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have prove with all the options for this field, but I always get the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?????&lt;/P&gt;&lt;P&gt;Thanks a lot!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 09:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572286#M258339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T09:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572287#M258340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mónica Nieto ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you are passing PR items (it_item table)to bapi u also pass (it_itemx). what ever the item you are passing u have pass'X' to the it_itemx table as shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are two ways of number Assignment&lt;/P&gt;&lt;P&gt;1.internal number assignment&lt;/P&gt;&lt;P&gt;2.external number assignment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal numner assignment is it will automaticall assign the PR number after creating pr(range is defined in the configuration part (functional ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; External numbering means u can pass the pr numbre then system will generate the same pr which you are passing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check all these &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it may help you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZBAPI_PR_CREATE.&lt;/P&gt;&lt;P&gt;tables : BAPIMEREQHEADER, BAPIMEREQITEMIMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_header like bapimereqheader occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : it_headerx like bapimereqheaderx occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : it_item like bapimereqitemimp occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : it_itemx like bapimereqitemx occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_PR_CREATE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VERSIONS                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SKIP_ITEMS_WITH_ERROR       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TESTRUN                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRNUMBER                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN                      =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    pritem                      = it_item&lt;/P&gt;&lt;P&gt;   PRITEMX                   = it_itemx&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRITEMEXP                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRITEMSOURCE                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRACCOUNT                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRACCOUNTPROITSEGMENT       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRACCOUNTX                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRADDRDELIVERY              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRITEMTEXT                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRHEADERTEXT                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRLIMITS                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRCONTRACTLIMITS            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRSERVICES                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRSRVACCESSVALUES           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRSERVICESTEXT              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSIONIN                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSIONOUT                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ALLVERSIONS                 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   PRHEADER                    = it_header&lt;/P&gt;&lt;P&gt;   PRHEADERX                  = it_headerx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 09:29:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572287#M258340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T09:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572288#M258341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In addtion to the above  in changing also you have to pass&lt;/P&gt;&lt;P&gt;PRHEADER&lt;/P&gt;&lt;P&gt;PRHEADERX&lt;/P&gt;&lt;P&gt;If pr number you are passing in the prheader then you have pass &amp;#145;X&amp;#146; the respective field of prnumber in Prheaderx Als&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 10:12:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572288#M258341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-21T10:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572289#M258342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mathkunti Manohar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  about external PR number,&lt;/P&gt;&lt;P&gt;  i try to create a PR with specific number.&lt;/P&gt;&lt;P&gt;  i assign the number in PRHEADER-PREQ_NUM.&lt;/P&gt;&lt;P&gt;        and 'X" in PREHEADERX-PREQ_NUM.&lt;/P&gt;&lt;P&gt;  But i got a error: System error (error in method&lt;/P&gt;&lt;P&gt;if_purchase_requisition~post)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Can you give me some suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 05:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572289#M258342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T05:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572290#M258343</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;Once again check if you have filled all mandatory fields of structures you are using in the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are missing some of fileds that why you are getting this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani Diwakar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 06:17:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create/m-p/1572290#M258343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T06:17:05Z</dc:date>
    </item>
  </channel>
</rss>

