<?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: Error Message from BAPI_REQUISITION_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762594#M1583778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The current problematic case has same quantity in both old and new structures (Value = 1).&lt;/P&gt;&lt;P&gt;I am intending to change the quantity field and short_text in PR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2011 09:31:38 GMT</pubDate>
    <dc:creator>Arun_Prabhu_K</dc:creator>
    <dc:date>2011-03-23T09:31:38Z</dc:date>
    <item>
      <title>Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762587#M1583771</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;I am getting an error message  &lt;STRONG&gt;Sum of quantities &amp;gt;2&amp;lt; larger than total quantity&lt;/STRONG&gt;.I saw some related threads from this forum.But not conclusive.&lt;/P&gt;&lt;P&gt;This error is from&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'BAPI_REQUISITION_CHANGE'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            number                = prno&lt;/P&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            requisition_items_old    = i_bapieban_old&lt;/P&gt;&lt;P&gt;            requisition_items_new = i_bapieban_new&lt;/P&gt;&lt;P&gt;            return                           = i_bapireturn.&lt;/P&gt;&lt;P&gt;The Quantity in both i_bapieban_old and in i_bapieban_new is 1.&lt;/P&gt;&lt;P&gt;The PR has only one quantity.&lt;/P&gt;&lt;P&gt;I would like to know why this error arises.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 05:57:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762587#M1583771</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2011-03-23T05:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762588#M1583772</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;what's the quantity in database table EBAN for all lines of requisition (look at field MENGE)? You want to change an existing requisition!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Klaus Babl on Mar 23, 2011 7:06 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 06:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762588#M1583772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T06:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762589#M1583773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The PR has only one item.&lt;/P&gt;&lt;P&gt;EBAN-MENGE for that PR item is 1.&lt;/P&gt;&lt;P&gt;Yes, I want to change an existing PR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 06:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762589#M1583773</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2011-03-23T06:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762590#M1583774</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;I suggest to use BAPI_PR_CHANGE function to change PR.&lt;/P&gt;&lt;P&gt;Just pass new value to the field you want to change in PRITEM table and for same field pass "X" value in PRITEMX table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 07:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762590#M1583774</guid>
      <dc:creator>sandip_panchal</dc:creator>
      <dc:date>2011-03-23T07:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762591#M1583775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the way you are populating the data in REQUISITION_ITEMS_OLD &amp;amp; NEW.  Extract the existing data using bapi BAPI_REQUISITION_GETDETAIL and use its output for populating data to BAPI_REQUISITION_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the standard function module MASS_CHANGE_PURCHASE_REQ (Line number 37 to 87 ) for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 08:14:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762591#M1583775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T08:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762592#M1583776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using only BAPI_REQUISITION_GETDETAIL to fetch the PR data.Using that I populate REQUISITION_ITEMS_OLD &amp;amp; NEW.&lt;/P&gt;&lt;P&gt;Then I use BAPI_REQUISITION_CHANGE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 08:37:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762592#M1583776</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2011-03-23T08:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762593#M1583777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which field value is being changed during the BAPI call ? I tested the BAPI which works correctly even when the quantity field is same in OLD and NEW Structures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 09:12:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762593#M1583777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T09:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762594#M1583778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The current problematic case has same quantity in both old and new structures (Value = 1).&lt;/P&gt;&lt;P&gt;I am intending to change the quantity field and short_text in PR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 09:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762594#M1583778</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2011-03-23T09:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762595#M1583779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Similiar scenario works correctly for me. Can you paste relevant portion of the Code where you are populating the NEW &amp;amp; OLD structures ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 10:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762595#M1583779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T10:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762596#M1583780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;CALL FUNCTION 'BAPI_REQUISITION_GETDETAIL'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;EXPORTING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;number            = prno&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;TABLES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;requisition_items = i_bapieban&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;return            = i_bapireturn.&lt;/STRONG&gt;         &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;READ TABLE i_bapieban WITH KEY preq_no   =  prno&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                     &lt;STRONG&gt;preq_item =  itab-bnfpo.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;IF sy-subrc = 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;MOVE-CORRESPONDING i_bapieban TO i_bapieban_old.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;MOVE-CORRESPONDING i_bapieban TO i_bapieban_new.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;i_bapieban_new-quantity =  itab-clqty.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;i_bapieban_new-short_text =  itab-txz01.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;APPEND i_bapieban_old.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;APPEND i_bapieban_new.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;CALL FUNCTION 'BAPI_REQUISITION_CHANGE'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;EXPORTING&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;number                = prno&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;TABLES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;requisition_items_old = i_bapieban_old&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;requisition_items_new = i_bapieban_new&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;            &lt;STRONG&gt;return                = i_bapireturn.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 10:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762596#M1583780</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2011-03-23T10:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762597#M1583781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Code seems to be OK.  Check for SAP Notes 739004  &amp;amp; 796973.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 10:52:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762597#M1583781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T10:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message from BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762598#M1583782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really Help full&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 06:15:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-from-bapi-requisition-change/m-p/7762598#M1583782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-01T06:15:41Z</dc:date>
    </item>
  </channel>
</rss>

