<?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: BAPI_PR_CHANGE to change ordered in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680641#M1575996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally it would.  We are combining quanitites from a pallet and not referencing the req on the STO because there can be many reqs and the business only wants one line item on the STO for the entire quantity.  What we are trying to do is consume the req without referencing it on the STO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Feb 2011 12:23:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-22T12:23:29Z</dc:date>
    <item>
      <title>BAPI_PR_CHANGE to change ordered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680637#M1575992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can get the bapi to change the fixed and closed flag but I cannot get the ordered (bsmng) field to update.  I could not find a field in the pritemx structure for ordered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            i_pritem-preq_item = wk_bnfpo.&lt;/P&gt;&lt;P&gt;            i_pritem-fixed = 'X'.&lt;/P&gt;&lt;P&gt;            APPEND i_pritem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            i_pritemexp-preq_item = wk_bnfpo.&lt;/P&gt;&lt;P&gt;            i_pritemexp-ordered = wk_menge.&lt;/P&gt;&lt;P&gt;            APPEND i_pritemexp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            i_pritemx-preq_item = wk_bnfpo.&lt;/P&gt;&lt;P&gt;            i_pritemx-fixed = 'X'.&lt;/P&gt;&lt;P&gt;            APPEND i_pritemx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'BAPI_PR_CHANGE'&lt;/P&gt;&lt;P&gt;              EXPORTING&lt;/P&gt;&lt;P&gt;                number                       = w_header-preq_no&lt;/P&gt;&lt;P&gt;             TABLES&lt;/P&gt;&lt;P&gt;               return                       = i_return&lt;/P&gt;&lt;P&gt;               pritem                       = i_pritem&lt;/P&gt;&lt;P&gt;               pritemx                      = i_pritemx&lt;/P&gt;&lt;P&gt;               pritemexp                    = i_pritemexp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                  wait = 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 21:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680637#M1575992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-21T21:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE to change ordered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680638#M1575993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin, &lt;/P&gt;&lt;P&gt;Are you trying to update the Ordered quantity ? Wouldn't this field be normally updated when PO is created against the requisition? What is your requirement? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also PRITEMEXP seems to be returned by BAPI (meaning it is output after the BAPI is executed)...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*- Outbound mapping to returning structures/tables
* get item data
  pritemexp[]      = lr_bapi-&amp;gt;get_items_exp( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 22:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680638#M1575993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-21T22:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE to change ordered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680639#M1575994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you  creating PO after PR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 05:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680639#M1575994</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-02-22T05:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE to change ordered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680640#M1575995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot change Ordered Quantity(BSMNG)  using BAPI_PR_CHANGE,only you can change quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Ordered quantity(BSMNG) is getting auto populated from your material master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to Confirm, Go to your PR in Change Mode that field is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know incase you need more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 08:14:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680640#M1575995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-22T08:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE to change ordered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680641#M1575996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally it would.  We are combining quanitites from a pallet and not referencing the req on the STO because there can be many reqs and the business only wants one line item on the STO for the entire quantity.  What we are trying to do is consume the req without referencing it on the STO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 12:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680641#M1575996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-22T12:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE to change ordered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680642#M1575997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the PR is never going to be referred, you could potentially just reduce the Purchase requisition quantity (BAMNG) to zero or the quantity that you want it to be reduced to (which should also reduced your ordered quantity to zero)  or if you are going to fully consume it, close the requisition.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would try to see if the business can be convinced to have multiple items on STO, before going with this approach though..YOu would probably have audit nightmare with this approach if anyone ask where is the requisition for STO line item?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 14:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680642#M1575997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-22T14:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PR_CHANGE to change ordered</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680643#M1575998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 14:40:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pr-change-to-change-ordered/m-p/7680643#M1575998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-22T14:40:17Z</dc:date>
    </item>
  </channel>
</rss>

