<?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: Change Header data by using BAPI_ALM_ORDER_MAINTAIN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-header-data-by-using-bapi-alm-order-maintain/m-p/1937820#M387702</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;&amp;lt;b&amp;gt;First read the documenatation of this BAPI in SE37 Transaction, by pressing F9 Key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also do a where-used list for this BAPI and then code accordingly.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward suitable points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Feb 2007 13:42:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-17T13:42:37Z</dc:date>
    <item>
      <title>Change Header data by using BAPI_ALM_ORDER_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-header-data-by-using-bapi-alm-order-maintain/m-p/1937819#M387701</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;         I am trying to change header data for a CS Order i have created. When am passing the details to BAPI_ALM_ORDER_MAINTAIN . It throws me an error saying 'Ref number 000001 doesnt exist for the order'&lt;/P&gt;&lt;P&gt;If anyone has ever changed header details of a CS order ever by using this BAPI. Please help. basically i need to change the Service tab of header in IW32.&lt;/P&gt;&lt;P&gt;Sample Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR wa_methods.&lt;/P&gt;&lt;P&gt;wa_methods-refnumber = '000001'.&lt;/P&gt;&lt;P&gt;wa_methods-objecttype = 'HEADER'.&lt;/P&gt;&lt;P&gt;wa_methods-method = 'CHANGE'.&lt;/P&gt;&lt;P&gt;wa_methods-objectkey = l_order.&lt;/P&gt;&lt;P&gt;APPEND wa_methods TO i_methods.&lt;/P&gt;&lt;P&gt;CLEAR wa_methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_methods-refnumber = '000001'.&lt;/P&gt;&lt;P&gt;wa_methods-objecttype = 'PARTNER'.&lt;/P&gt;&lt;P&gt;wa_methods-method = 'CHANGE'.&lt;/P&gt;&lt;P&gt;wa_methods-objectkey = l_order.&lt;/P&gt;&lt;P&gt;APPEND wa_methods TO i_methods.&lt;/P&gt;&lt;P&gt;CLEAR wa_methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_methods-refnumber = '000001'.&lt;/P&gt;&lt;P&gt;wa_methods-method = 'SAVE'.&lt;/P&gt;&lt;P&gt;wa_methods-objectkey = l_order.&lt;/P&gt;&lt;P&gt;APPEND wa_methods TO i_methods.&lt;/P&gt;&lt;P&gt;CLEAR wa_methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR wa_header_srv.&lt;/P&gt;&lt;P&gt;wa_header_srv-object_no = l_order.&lt;/P&gt;&lt;P&gt;wa_header_srv-material = '000000000000000022'.&lt;/P&gt;&lt;P&gt;wa_header_srv-quantity = 1.&lt;/P&gt;&lt;P&gt;*wa_header_srv-BASE_UOM = 'EA'.&lt;/P&gt;&lt;P&gt;wa_header_srv-purch_no_c = 'test'.&lt;/P&gt;&lt;P&gt;APPEND wa_header_srv TO i_header_srv.&lt;/P&gt;&lt;P&gt;CLEAR wa_header_srv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR wa_header_srv_up.&lt;/P&gt;&lt;P&gt;wa_header_srv_up-material = 'X'.&lt;/P&gt;&lt;P&gt;wa_header_srv_up-quantity = 'X'.&lt;/P&gt;&lt;P&gt;*wa_header_srv-BASE_UOM = 'EA'.&lt;/P&gt;&lt;P&gt;wa_header_srv_up-purch_no_c = 'X'.&lt;/P&gt;&lt;P&gt;APPEND wa_header_srv_up TO i_header_srv_up.&lt;/P&gt;&lt;P&gt;CLEAR wa_header_srv_up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR wa_partner.&lt;/P&gt;&lt;P&gt;wa_partner-orderid = l_order.&lt;/P&gt;&lt;P&gt;wa_partner-partn_role = 'AG'.&lt;/P&gt;&lt;P&gt;wa_partner-partner = 'PZ0002'.&lt;/P&gt;&lt;P&gt;APPEND wa_partner TO i_partner.&lt;/P&gt;&lt;P&gt;CLEAR wa_partner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR wa_partner_up.&lt;/P&gt;&lt;P&gt;wa_partner_up-partn_role = 'X'.&lt;/P&gt;&lt;P&gt;wa_partner_up-partner = 'X'.&lt;/P&gt;&lt;P&gt;APPEND wa_partner_up TO i_partner_up.&lt;/P&gt;&lt;P&gt;CLEAR wa_partner_up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;   it_methods             = i_methods&lt;/P&gt;&lt;P&gt;   it_header              = i_header&lt;/P&gt;&lt;P&gt;   it_header_up           = i_header_up&lt;/P&gt;&lt;P&gt;   it_header_srv          = i_header_srv&lt;/P&gt;&lt;P&gt;   it_header_srv_up       = i_header_srv_up&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_USERSTATUS          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   it_partner             = i_partner&lt;/P&gt;&lt;P&gt;   it_partner_up          = i_partner_up&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_OPERATION           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_OPERATION_UP        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_RELATION            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_RELATION_UP         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_COMPONENT           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_COMPONENT_UP        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_TEXT                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_TEXT_LINES          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSION_IN           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   return                 = i_return_change&lt;/P&gt;&lt;P&gt;   et_numbers             = et_numbers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Feb 2007 11:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-header-data-by-using-bapi-alm-order-maintain/m-p/1937819#M387701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-17T11:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change Header data by using BAPI_ALM_ORDER_MAINTAIN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-header-data-by-using-bapi-alm-order-maintain/m-p/1937820#M387702</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;&amp;lt;b&amp;gt;First read the documenatation of this BAPI in SE37 Transaction, by pressing F9 Key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also do a where-used list for this BAPI and then code accordingly.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward suitable points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Feb 2007 13:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-header-data-by-using-bapi-alm-order-maintain/m-p/1937820#M387702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-17T13:42:37Z</dc:date>
    </item>
  </channel>
</rss>

