<?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: Unable to create Service PR using BAPI_PR_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876495#M1594302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please look into this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating PRs in enjoy transaction(ME51N) so I have to use BAPI_PR_CREATE. As I mentioned earlier, I am able to create all types of PRs except Service PR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting you replies. You would be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sanjeeva Rao on May 19, 2011 11:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2011 05:59:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-19T05:59:00Z</dc:date>
    <item>
      <title>Unable to create Service PR using BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876492#M1594299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating PRs using BAPI_PR_CREATE. I am able to create all type of PRs except Service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried passing additional data to structures servicelines, servicelinesx, serviceaccount, serviceaccountx, but still i could not able to create service PR successfully. Getting error message like 'In case of account assignmernt, please enter acc. assignment data for item'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what data I need to pass to get service PR created.&lt;/P&gt;&lt;P&gt;Thx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 05:17:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876492#M1594299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-16T05:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Service PR using BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876493#M1594300</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;Please check below thread will be useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/BAPI_REQUISITION_CREATE" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/BAPI_REQUISITION_CREATE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check Note:420331&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 05:39:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876493#M1594300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-16T05:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Service PR using BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876494#M1594301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for quick reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Infact, in the given thread, BAPI_REQUISITION_CREATE has been used. But in my case its BAPI_PR_CREATE in which few field s(packing no etc..) are missing. I do not want to use another BAPI just for service PR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if you provide logic for BAPI that I used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 06:18:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876494#M1594301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-16T06:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Service PR using BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876495#M1594302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please look into this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating PRs in enjoy transaction(ME51N) so I have to use BAPI_PR_CREATE. As I mentioned earlier, I am able to create all types of PRs except Service PR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting you replies. You would be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sanjeeva Rao on May 19, 2011 11:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 05:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876495#M1594302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T05:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Service PR using BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876496#M1594303</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;Have you gone through the note wat I was mentioned? We are also faced the same problem, not able to create PR using BAPI_PR_CREATE. Finally we have created Service PR using BAPI_REQUISITION_CREATE as per the note 420331&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 10:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876496#M1594303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T10:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Service PR using BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876497#M1594304</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;In order to create the Service PR you need to pass the list of services in a way similar to that in which they appear in the ESLL table i.e with the combination of the package number and the subpackage number and that option is not there in this bapi so either you need to activate the properties of the business function&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; LOG_MM_CI_2 &lt;/SPAN&gt;using the T-Code SFW5 or you need to use the &lt;/P&gt;&lt;P&gt;BAPI:-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'BAPI_REQUISITION_CREATE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which need to pass the following tables:- &lt;/P&gt;&lt;P&gt;REQUISITION_ITEMS&lt;/P&gt;&lt;P&gt;REQUISITION_SERVICES&lt;/P&gt;&lt;P&gt;REQUISITION_SRV_ACCASS_VALUES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;The First&lt;/STRONG&gt;&lt;/SPAN&gt; table will contain the data relevant to the items that will be created in the PR.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;The Second&lt;/STRONG&gt;&lt;/SPAN&gt; table will contain the Header and Item level data for each item defined in the previous table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say for Example:- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Header Data&lt;/STRONG&gt;&lt;/SPAN&gt; You need to pass a Pack Number that could be any number I passed 1234 and then the sub package number will be the pack number + 1. Other fields that we need to pass are ext_line line_no and short_text.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;ITEM DATA&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; Here we need to pass the subpackNumber from the header data as the pack number &lt;/P&gt;&lt;P&gt;and the sub pack number will be left blank here at the item level and the other details like the qty and gross price and the activity number and others will be passed here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if there are multiple services( Say 5 ) in the single line item of a PR you should create a single header data and append that to the table REQUISITION_SERVICES and then you must create or get the item data 5 times one for each service and append all those to the same table&amp;nbsp;&amp;nbsp; REQUISITION_SERVICES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Third Table&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; This table will contain the account assignment data for the line items of the PR.&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;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;In Case of any issue do revert back and i will give you the test data&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;removed by moderator&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dev &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Zloch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 19:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876497#M1594304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-08T19:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create Service PR using BAPI_PR_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876498#M1594305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Devender Dhull,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need Test data for the creation of Service PR, and is it possible to create more than one line item PR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2015 09:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-create-service-pr-using-bapi-pr-create/m-p/7876498#M1594305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-08T09:51:26Z</dc:date>
    </item>
  </channel>
</rss>

