<?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 problems with bapi_requisition_create in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-requisition-create/m-p/2423632#M541223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am using BAPI_REQUISITION_CREATE to create new purchase requisition with services. Everything is OK as long as I create one PR. When go into sequential processing and try to create several (actually 2 is enough &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;) PRs I get and error message concerning lacking cost assignment in a service position. Obviously this message is wrong. What I discovered is that when I go into this BAPI for the second time (not having left the program) the function module still carries package numbers from previous run - and this is what causes the error. Still I do not know how to go around this. Did any of you come across this problem? Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2007 17:04:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-03T17:04:41Z</dc:date>
    <item>
      <title>problems with bapi_requisition_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-requisition-create/m-p/2423632#M541223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am using BAPI_REQUISITION_CREATE to create new purchase requisition with services. Everything is OK as long as I create one PR. When go into sequential processing and try to create several (actually 2 is enough &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;) PRs I get and error message concerning lacking cost assignment in a service position. Obviously this message is wrong. What I discovered is that when I go into this BAPI for the second time (not having left the program) the function module still carries package numbers from previous run - and this is what causes the error. Still I do not know how to go around this. Did any of you come across this problem? Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 17:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-requisition-create/m-p/2423632#M541223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T17:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: problems with bapi_requisition_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-requisition-create/m-p/2423633#M541224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think ur code will be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab.
call BAPI
endloop.
" U refesh all the internal table which u r passing it to BAPI at the beginning or at the end of the loop
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VAsanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 17:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-requisition-create/m-p/2423633#M541224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T17:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: problems with bapi_requisition_create</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-requisition-create/m-p/2423634#M541225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am already doing this. This is not the problem. Some function group inside the BAPI is keeping the values after first run (generated in the first run). If I remove those values in debug mode everything is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 07:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-bapi-requisition-create/m-p/2423634#M541225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T07:07:08Z</dc:date>
    </item>
  </channel>
</rss>

