<?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 Issues in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issues/m-p/1867678#M365616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Change in the status of an item of a sales order implies that the sales order is changed. Hence Use the BAPI 'BAPI_SALESORDER_CHANGE', to change the Sales Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the items table structure 'ORDER_ITEM_IN'(Structure 'BAPISDITM')mark the field 'REASON_REJ' with the reason for rejection passed to the VA02 BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Point to note here is if a sales order is to be changed, then the structure 'ORDER_ITEM_INX'(Structure 'BAPISDITM') should also be populated (this is mandatory). Mark the field 'REASON_REJ' of this structure with 'X'(this means that the reason for rejection is to be updated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mandatory field to be populated in both tables structures 'ORDER_ITEM_IN' and 'ORDER_ITEM_INX' is 'ITM_NUMBER', which is the item number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would work.... Dont forget my points ;-). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2007 06:43:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-30T06:43:07Z</dc:date>
    <item>
      <title>BAPI Issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issues/m-p/1867677#M365615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am using a BAPI : BAPI_SALESORDER_CHANGE.&lt;/P&gt;&lt;P&gt;My requirement is:&lt;/P&gt;&lt;P&gt;  i have a report which displays sales order, material no and rejection code in a row.&lt;/P&gt;&lt;P&gt;Now if i select a row and click on the user button (which i created it) the rejection should be empty ( get modified as blank in the database tables ) that is the material for that sales order should get unrejected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone pls help me how to achieve the same thru this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the internal table from which i display this report is itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 06:38:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issues/m-p/1867677#M365615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T06:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issues/m-p/1867678#M365616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Change in the status of an item of a sales order implies that the sales order is changed. Hence Use the BAPI 'BAPI_SALESORDER_CHANGE', to change the Sales Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the items table structure 'ORDER_ITEM_IN'(Structure 'BAPISDITM')mark the field 'REASON_REJ' with the reason for rejection passed to the VA02 BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Point to note here is if a sales order is to be changed, then the structure 'ORDER_ITEM_INX'(Structure 'BAPISDITM') should also be populated (this is mandatory). Mark the field 'REASON_REJ' of this structure with 'X'(this means that the reason for rejection is to be updated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mandatory field to be populated in both tables structures 'ORDER_ITEM_IN' and 'ORDER_ITEM_INX' is 'ITM_NUMBER', which is the item number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would work.... Dont forget my points ;-). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 06:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issues/m-p/1867678#M365616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T06:43:07Z</dc:date>
    </item>
  </channel>
</rss>

