<?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: Using Purchase Requisition Creation BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298665#M157655</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;As you have rightly said the package number is the key and will be automatically generated and it has nothing to do wiht the failure to create a PR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the ITEAM CATEGROY you are passing to the line item. It has to be &amp;lt;b&amp;gt;D &amp;lt;/b&amp;gt; for the services line items and after that you pass the data to services table, it should create the requisition. You also will have to pass the account assignment data for the service line items as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REQUISITION_SERVICES STRUCTURE  BAPIESLLC OPTIONAL&lt;/P&gt;&lt;P&gt;REQUISITION_SRV_ACCASS_VALUES STRUCTURE  BAPIESKLC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ravikumar Allampallam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Apr 2006 11:26:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-26T11:26:32Z</dc:date>
    <item>
      <title>Using Purchase Requisition Creation BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298664#M157654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using BAPI_REQUISITION_CREATE. I am accessing this BAPI through a webapplication that i have developed. I am able to create a normal Purchase Requisition but I am not able to add a Service ITem to it in case the Item category is Service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am filling the service data table with Price, Quantity, Unit and Short Text. I can see that the link between a row in Service Table and Requisition Item Table is a Package no. which i believe is auto-generated. I think this might the reason why i am not able to create a service item as i dont have that number. I am not sure if i am right. Does anybody have used this BAPI, if so then how did you created a Service Item through it. Please help me out soon, as this thing is very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bilal Nazir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 11:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298664#M157654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T11:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using Purchase Requisition Creation BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298665#M157655</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;As you have rightly said the package number is the key and will be automatically generated and it has nothing to do wiht the failure to create a PR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the ITEAM CATEGROY you are passing to the line item. It has to be &amp;lt;b&amp;gt;D &amp;lt;/b&amp;gt; for the services line items and after that you pass the data to services table, it should create the requisition. You also will have to pass the account assignment data for the service line items as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REQUISITION_SERVICES STRUCTURE  BAPIESLLC OPTIONAL&lt;/P&gt;&lt;P&gt;REQUISITION_SRV_ACCASS_VALUES STRUCTURE  BAPIESKLC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ravikumar Allampallam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 11:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298665#M157655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T11:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Purchase Requisition Creation BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298666#M157656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bilal,&lt;/P&gt;&lt;P&gt;   try to have alook at the function module,&lt;/P&gt;&lt;P&gt;IDOC_INPUT_PREQCR.&lt;/P&gt;&lt;P&gt;See for the sample usage of the bapi:&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_REQUISITION_CREATE'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;        SKIP_ITEMS_WITH_ERROR = SKIP_ITEMS_WITH_ERROR&lt;/P&gt;&lt;P&gt;        AUTOMATIC_SOURCE = AUTOMATIC_SOURCE&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;        NUMBER = NUMBER&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;        REQUISITION_ITEMS = REQUISITION_ITEMS&lt;/P&gt;&lt;P&gt;        REQUISITION_ACCOUNT_ASSIGNMENT = REQUISITION_ACCOUNT_ASSIGNMENT&lt;/P&gt;&lt;P&gt;        REQUISITION_ITEM_TEXT = REQUISITION_ITEM_TEXT&lt;/P&gt;&lt;P&gt;        REQUISITION_LIMITS = REQUISITION_LIMITS&lt;/P&gt;&lt;P&gt;        REQUISITION_CONTRACT_LIMITS = REQUISITION_CONTRACT_LIMITS&lt;/P&gt;&lt;P&gt;        REQUISITION_SERVICES = REQUISITION_SERVICES&lt;/P&gt;&lt;P&gt;        REQUISITION_SRV_ACCASS_VALUES = REQUISITION_SRV_ACCASS_VALUES&lt;/P&gt;&lt;P&gt;        RETURN = RETURN&lt;/P&gt;&lt;P&gt;        REQUISITION_SERVICES_TEXT = REQUISITION_SERVICES_TEXT&lt;/P&gt;&lt;P&gt;        REQUISITION_ADDRDELIVERY = REQUISITION_ADDRDELIVERY&lt;/P&gt;&lt;P&gt;        EXTENSIONIN = EXTENSIONIN&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;        OTHERS =  1&lt;/P&gt;&lt;P&gt;         .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 11:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298666#M157656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T11:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using Purchase Requisition Creation BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298667#M157657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was having a look at the mentioned function module but i am not sure how to execute it. I want to know from you is that what are the necessary fields in Services Table that we need to fill in order to create a Service Line Item. Since the package no. is auto-generated, is there any other necessary field without which a service cant be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i am using the Item Category 'D'. It doesnt give me any errors. It just creates the Item in requisition table and no service with it, although i entered the service in service table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bilal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 11:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298667#M157657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T11:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using Purchase Requisition Creation BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298668#M157658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bilal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alright, so it's almost a year later, so this is more for all the others that might stumble across this question:&lt;/P&gt;&lt;P&gt;To link between the PR item and the service, you need to fill out the pckg_no field, as you already figured out. Since you don't know this auto-generated number during the creation process, you can just use 00000001. To my knowledge, you need to also fill out the "SERVICE" field in the service table, not just the fields you mentioned. There is a nice SAP note on how to fill out the service and srvaccass tables, either with a header service item or without one. Don't know the URL to this SAP note, but should be easily findable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 04:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298668#M157658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T04:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Purchase Requisition Creation BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298669#M157659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please refer this OSS:&lt;/P&gt;&lt;P&gt;Note 922372 - BAPI_REQUISITION_CREATE: SE029 for a service item&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;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 05:05:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-purchase-requisition-creation-bapi/m-p/1298669#M157659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T05:05:59Z</dc:date>
    </item>
  </channel>
</rss>

