<?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 Issue. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create-issue/m-p/8944618#M1693520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, so the following is overkill a little, but this created new PReqs for me, based on EBAN entries that were already there in the database.&lt;/P&gt;&lt;P&gt;Our requirement was to copy existing PReq Lines and consolidate them into 1 big PReq with lots of lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top Tips:&lt;/P&gt;&lt;P&gt;You need the PRITEMX table to be populated, same as you would for a CHANGE BAPI.&lt;/P&gt;&lt;P&gt;Document Header structure needs populating at least with document type (BSART)&lt;/P&gt;&lt;P&gt;Have a look at the contents of table EBAN on your database to get an idea for what's being populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Admittedly what I'm doing here is cheating a little, because I'm copying, rather than flat out creating PReq Line Items.&lt;/P&gt;&lt;P&gt;I'd recommend copying the attached, using a select statement on EBAN to populate the t_items table, and seeing if that creates new PReqs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once that's been done, you can start populating with your own new lines data, rather than the existing data, and take out unnecessary data assignments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck with it.&lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/910/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2012 15:31:06 GMT</pubDate>
    <dc:creator>PatrickDean</dc:creator>
    <dc:date>2012-08-13T15:31:06Z</dc:date>
    <item>
      <title>BAPI_PR_CREATE Issue.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create-issue/m-p/8944617#M1693519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one guide me,&lt;/P&gt;&lt;P&gt;How to handle, BAPI:&amp;nbsp; &lt;STRONG&gt;BAPI_PR_CREATE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I pass in,&amp;nbsp; PRHEADER,&amp;nbsp; PRHEADERX, PRITEM,&amp;nbsp; PRITEMX or&amp;nbsp; any other table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;Try to provide sample code for this issue.....&lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/910/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I tried so much but, i m unable to create Purchase requisition through above BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Keyur Pawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 10:55:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create-issue/m-p/8944617#M1693519</guid>
      <dc:creator>keyur_pawar</dc:creator>
      <dc:date>2012-08-09T10:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CREATE Issue.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create-issue/m-p/8944618#M1693520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, so the following is overkill a little, but this created new PReqs for me, based on EBAN entries that were already there in the database.&lt;/P&gt;&lt;P&gt;Our requirement was to copy existing PReq Lines and consolidate them into 1 big PReq with lots of lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top Tips:&lt;/P&gt;&lt;P&gt;You need the PRITEMX table to be populated, same as you would for a CHANGE BAPI.&lt;/P&gt;&lt;P&gt;Document Header structure needs populating at least with document type (BSART)&lt;/P&gt;&lt;P&gt;Have a look at the contents of table EBAN on your database to get an idea for what's being populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Admittedly what I'm doing here is cheating a little, because I'm copying, rather than flat out creating PReq Line Items.&lt;/P&gt;&lt;P&gt;I'd recommend copying the attached, using a select statement on EBAN to populate the t_items table, and seeing if that creates new PReqs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once that's been done, you can start populating with your own new lines data, rather than the existing data, and take out unnecessary data assignments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck with it.&lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/910/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 15:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-create-issue/m-p/8944618#M1693520</guid>
      <dc:creator>PatrickDean</dc:creator>
      <dc:date>2012-08-13T15:31:06Z</dc:date>
    </item>
  </channel>
</rss>

