<?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: Creating requiorement using BAPI :  BAPI_REQUIREMENTS_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292484#M500306</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 try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Use BAPI BAPI_REQUIREMENTS_GETDETAIL to get the old PIR data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Move the return values (table REQUIREMENTS_OUT) to an internal table. Then you loop at the internal table and replace the corresponding dates old data with new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Then use BAPI BAPI_REQUIREMENTS_CHANGE to update the new dates with new data.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2007 15:20:14 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-05-29T15:20:14Z</dc:date>
    <item>
      <title>Creating requiorement using BAPI :  BAPI_REQUIREMENTS_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292481#M500303</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;I am trying to create requirement in the transaction   MD61 using the BAPI BAPI_REQUIREMENTS_CREATE . When I execute the program I am getting the following message as &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Requirement already exists, maintain via change transaction first&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now if I goto MD63 and see there is no requirement  with the given date and quantity . But if I goto MD61 and create the requirement it is getting created .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I debugged the BAPi and fiund the error message is being populated at : line 388 of the FM REQUIREMENTS_ITEM_MAINTAIN . however I am not able to diagnisethe issue .&lt;/P&gt;&lt;P&gt;Can anyone help to find out what the message means . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hey , Can anyone help me with this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Varun .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 13:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292481#M500303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T13:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating requiorement using BAPI :  BAPI_REQUIREMENTS_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292482#M500304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you already have requirement created. If the requirement already exits, system only allows you to change NOT create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check table PBIM with same key fields as you passed to BAPI BAPI_REQUIREMENTS_CREATE. &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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292482#M500304</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-05-29T14:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating requiorement using BAPI :  BAPI_REQUIREMENTS_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292483#M500305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see an entry in PBIM . Does that mean I should use BAPI_REQUIREMENTS_CHANGE  to change the requirement  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went to the transaction MD63 and if I check the schedule lines I can see an entry already existing there . Now I want to create another entry with today's date and different quantity . This is what I am trying to achieve . When I directly do in the transaction I am able to achieve it , But with anyof the FM BAPI_REQUIREMENTS_CREATE/BAPI_REQUIREMENTS_CHANGE I am not able to do that . Can you please help me to do that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Varun .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292483#M500305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating requiorement using BAPI :  BAPI_REQUIREMENTS_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292484#M500306</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 try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Use BAPI BAPI_REQUIREMENTS_GETDETAIL to get the old PIR data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Move the return values (table REQUIREMENTS_OUT) to an internal table. Then you loop at the internal table and replace the corresponding dates old data with new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Then use BAPI BAPI_REQUIREMENTS_CHANGE to update the new dates with new data.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 15:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292484#M500306</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-05-29T15:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating requiorement using BAPI :  BAPI_REQUIREMENTS_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292485#M500307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me the significance of the table PBID .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am trying to read the details using BAPI_REQUIREMENTS_GETDETAIL for one of the material it is not returning any values and the reason is the select on the table PBIM failed . But when I goto MD63 I am able to see all the data on the screen . I am trying to get the schedule data .  Can you please help me with this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Varun .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 17:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292485#M500307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T17:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating requiorement using BAPI :  BAPI_REQUIREMENTS_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292486#M500308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai varun iam also working with same.i dont exactly can u give code for this its very urgenr.iam waiting for ur replay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292486#M500308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating requiorement using BAPI :  BAPI_REQUIREMENTS_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292487#M500309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my requirement is upload apo data  using BAPI_REQUIREMENTS_CREATE  to md61.so idont know the procedure could u help me.and give example code also for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:43:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-requiorement-using-bapi-bapi-requirements-create/m-p/2292487#M500309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:43:14Z</dc:date>
    </item>
  </channel>
</rss>

