<?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 Creating service PR using BAPI_REQUISITION_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-service-pr-using-bapi-requisition-create/m-p/8829223#M1682995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Dear Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I am trying to create a service PR using BAPI_REQUISITION_CREATE ( Account assignment category J and K ). I get the PR details from the BAPI_REQUISITION_GETDETAIL and pass the parameters accordingly to the BAPI_REQUISITION_CREATE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I am doing this in version 4.6. I have refered to SAP note: &lt;STRONG&gt;420331&lt;/STRONG&gt; - BAPI_REQUISITION_CREATE: Template for services and the below link as well:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/BAPI_REQUISITION_CREATE"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/BAPI_REQUISITION_CREATE&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;But even after that either PR gets created with no service lines or I get error 'net value could not be determined'.I have debugged and found that the difference in doing with ME51 to what i am doing is that&amp;nbsp; COMSRV-CON_PACKNO should be initial but through my BAPI program the value is getting updated and hence the net value is not getting calculated.This happens in FM 'MS_SERVICE_PACKAGE'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;It would be helpful if I can get a sample code to pass the parameters in the right sequence for BAPI_REQUISITION_CREATE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;With thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 10:23:27 GMT</pubDate>
    <dc:creator>former_member282968</dc:creator>
    <dc:date>2012-06-20T10:23:27Z</dc:date>
    <item>
      <title>Creating service PR using BAPI_REQUISITION_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-service-pr-using-bapi-requisition-create/m-p/8829223#M1682995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Dear Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I am trying to create a service PR using BAPI_REQUISITION_CREATE ( Account assignment category J and K ). I get the PR details from the BAPI_REQUISITION_GETDETAIL and pass the parameters accordingly to the BAPI_REQUISITION_CREATE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I am doing this in version 4.6. I have refered to SAP note: &lt;STRONG&gt;420331&lt;/STRONG&gt; - BAPI_REQUISITION_CREATE: Template for services and the below link as well:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/BAPI_REQUISITION_CREATE"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/BAPI_REQUISITION_CREATE&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;But even after that either PR gets created with no service lines or I get error 'net value could not be determined'.I have debugged and found that the difference in doing with ME51 to what i am doing is that&amp;nbsp; COMSRV-CON_PACKNO should be initial but through my BAPI program the value is getting updated and hence the net value is not getting calculated.This happens in FM 'MS_SERVICE_PACKAGE'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;It would be helpful if I can get a sample code to pass the parameters in the right sequence for BAPI_REQUISITION_CREATE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;With thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 10:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-service-pr-using-bapi-requisition-create/m-p/8829223#M1682995</guid>
      <dc:creator>former_member282968</dc:creator>
      <dc:date>2012-06-20T10:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating service PR using BAPI_REQUISITION_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-service-pr-using-bapi-requisition-create/m-p/8829224#M1682996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestion please for the above post?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 02:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-service-pr-using-bapi-requisition-create/m-p/8829224#M1682996</guid>
      <dc:creator>former_member282968</dc:creator>
      <dc:date>2012-06-21T02:01:45Z</dc:date>
    </item>
  </channel>
</rss>

