<?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_ALM_ORDER_MAINTAIN function module discrepancy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999262#M1606512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Smitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check the function groups(10-12) in package IWO_BAPI_EX to see if there is any BAPI that you can use for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2011 05:42:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-14T05:42:57Z</dc:date>
    <item>
      <title>BAPI_ALM_ORDER_MAINTAIN function module discrepancy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999259#M1606509</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 want to delete the object list from IW32. Can you tell me how to use BAPI_ALM_ORDER_MAINTAIN function module to get this done? If this does not work, is there any other FM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 14:36:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999259#M1606509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-13T14:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN function module discrepancy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999260#M1606510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on the documentation of that BAPI, it &lt;EM&gt;should&lt;/EM&gt; be possible... but that FM is a finicky one. I remember using it to change certain operation field values and it took some fiddling to find the right combination of parameters until I persuaded it to do what was needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example what was needed to do that change... yes, it is for a different object but this may give you an idea how to set up the parameters for object list deletion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*----------------------------------------------------------------------
* // Change the reason for delay (user defined field)
*----------------------------------------------------------------------
  IF NOT delay_reason IS INITIAL.

*   Get order routing number
    SELECT SINGLE aufpl INTO l_aufpl FROM afko WHERE aufnr = ORDER.

*   Find number of the first operation
    SELECT aufpl vornr INTO (l_aufpl,l_vornr)
                       UP TO 1 ROWS
                       FROM afvc WHERE aufpl = l_aufpl
                       ORDER BY vornr.
    ENDSELECT.

*   Update delay reason
    IF syst-subrc = 0 AND l_vornr IS NOT INITIAL.
      CONCATENATE order l_vornr INTO l_objectkey.

      l_t_methods-refnumber  = '000001'.
      l_t_methods-objecttype = 'OPERATION'.
      l_t_methods-method     = 'CHANGE'.
      l_t_methods-objectkey  = l_objectkey.
      APPEND l_t_methods.
      CLEAR l_t_methods.
      l_t_methods-refnumber  = '000001'.
      l_t_methods-method     = 'SAVE'.
      l_t_methods-objectkey  = order.
      APPEND l_t_methods.

      l_t_oper-activity      = l_vornr.
      l_t_oper-field_key     = 'ABC'.
      l_t_oper-usr00         = delay_reason.
      APPEND l_t_oper.
      l_t_operu-field_key    = 'X'.
      l_t_operu-usr00        = 'X'.
      APPEND l_t_operu.

      CLEAR l_t_return.
       CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          it_methods      = l_t_methods
          it_operation    = l_t_oper
          it_operation_up = l_t_operu
          return          = l_t_return.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps a little.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 22:16:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999260#M1606510</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2011-06-13T22:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN function module discrepancy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999261#M1606511</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;Thanks for the response. I have tried this FM with operation and components list and it works fine. But this does not work with the header notification and object list items. All what i need to do is, delete the notification from the header tab of a work order and then delete all the object list items. I have been trying this but I am not at all able to find a soultion. If any of you could help me out, it would be of great help to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 04:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999261#M1606511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-14T04:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN function module discrepancy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999262#M1606512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Smitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check the function groups(10-12) in package IWO_BAPI_EX to see if there is any BAPI that you can use for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 05:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999262#M1606512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-14T05:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN function module discrepancy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999263#M1606513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see a lot of FMs in this package. But I am not able to figure out which one is apt. I cannot test every FM at this point because of time constraint. Has anyone worked on this before or has anyone faced this problem before so that you can help me rectify it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 11:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-function-module-discrepancy/m-p/7999263#M1606513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-14T11:12:05Z</dc:date>
    </item>
  </channel>
</rss>

