<?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 doesn't work for update EXTENSION fields. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540738#M1562379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rie that is very clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Feb 2011 02:19:22 GMT</pubDate>
    <dc:creator>former_member186741</dc:creator>
    <dc:date>2011-02-01T02:19:22Z</dc:date>
    <item>
      <title>BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540724#M1562365</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'm trying to use 'BAPI_ALM_ORDER_MAINTAIN' for 'IW32'.&lt;/P&gt;&lt;P&gt;I can't update Zfields using EXTENSION_IN parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code is below.&lt;/P&gt;&lt;P&gt;please check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------" /&gt;&lt;P&gt;IW_METHODS-OBJECTTYPE = SPACE.&lt;/P&gt;&lt;P&gt;IW_METHODS-METHOD     = 'SAVE'.&lt;/P&gt;&lt;P&gt;IW_METHODS-OBJECTKEY  = SPACE.&lt;/P&gt;&lt;P&gt;APPEND IW_METHODS TO IT_METHODS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IW_EXTENSION_IN-STRUCTURE = 'BAPI_TE_AUFK'.&lt;/P&gt;&lt;P&gt;IW_EXTENSION_IN-VALUEPART1+0(12) = W_AUFNR.&lt;/P&gt;&lt;P&gt;IW_EXTENSION_IN-VALUEPART1+12(4) = W_ZZFIELD01.    "Zfield &lt;/P&gt;&lt;P&gt;APPEND IW_EXTENSION_IN TO IT_EXTENSION_IN.&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              = IT_METHODS&lt;/P&gt;&lt;P&gt;    EXTENSION_IN            = IT_EXTENSION_IN&lt;/P&gt;&lt;P&gt;    RETURN                  = IT_RETURN.&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          = COS_X.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I execute this program, and I checked IT_RETURN value.&lt;/P&gt;&lt;P&gt;there are only type 'S' message. &lt;/P&gt;&lt;P&gt;there isn't type 'E' message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have gooe ideas, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Rie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 03:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540724#M1562365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T03:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540725#M1562366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to catch the Extension fields in BADI and then update it to the Internal table which has these Z Fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 05:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540725#M1562366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T05:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540726#M1562367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for reply, Pranu Pranu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made BADI 'IBAPI_ALM_ORD_MODIFY'.&lt;/P&gt;&lt;P&gt;but I can't update Zfield yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADI method MODIFY_INPUT_DATA has CT_HEADER_INT (method parameter) and CT_HEADER_INT_UP,&lt;/P&gt;&lt;P&gt;I found my Zfield in CT_HEADER_INT.&lt;/P&gt;&lt;P&gt;but I cna't found Zfield in CT_HEADER_INT_UP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I code in BADI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you know that, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 06:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540726#M1562367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T06:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540727#M1562368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Implement the BADI - SE19.&lt;/P&gt;&lt;P&gt;Click on the method and it will take you to code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add your logic there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 06:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540727#M1562368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T06:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540728#M1562369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added my code in SE19.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I can't found my Zfield parameters.&lt;/P&gt;&lt;P&gt;(I can't transfer to Zfied value. I can catch EXTENSION_IN parameter value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to entension any structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CI_AUFK has already has my Zfeild.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Rie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 06:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540728#M1562369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T06:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540729#M1562370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In which tabel you appended the Z fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That table should be available in the BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might be other BADI. Dont have a system to check now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said - CT_HEADER_INT has your Z fields. Just read the extension data and push the values in CT_HEADER_INT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pranu Pranu on Jan 28, 2011 7:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 06:44:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540729#M1562370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T06:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540730#M1562371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I add my Zfield in CI_AUFK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY_INPUT_DATA parameter CT_HEADER_INT has CI_AUFK fields.&lt;/P&gt;&lt;P&gt;but parameter CT_HEADER_INT_UP doesn't have CI_AUFK fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I can't update CI_AUFK fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any good idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Rie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 06:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540730#M1562371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T06:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540731#M1562372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try appending CT_HEADER_INT.&lt;/P&gt;&lt;P&gt;HArdcode for testing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 06:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540731#M1562372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T06:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540732#M1562373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;try appending CT_HEADER_INT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did it.&lt;/P&gt;&lt;P&gt;but It doesn't work. ;-&amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 06:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540732#M1562373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T06:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540733#M1562374</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;don't forget to set the flag in CT_HEADER_INT_UP for all changed field values in CT_HEADER_INT.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 07:03:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540733#M1562374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T07:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540734#M1562375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Append structure - IBAPI_CAUFVD_UPDATE and set the flag as Klaus said.&lt;/P&gt;&lt;P&gt;Set the flags for Z fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 07:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540734#M1562375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-28T07:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540735#M1562376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your advice, Pranu Pranu .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appended the structure ( has flag-fieds)  in IBAPI_CAUFVD_UPDATE, so finally I updated my Zfields.&lt;/P&gt;&lt;P&gt;I solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate you help-ing me !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Rie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 00:39:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540735#M1562376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T00:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540736#M1562377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rie,&lt;/P&gt;&lt;P&gt;could you please show us your finished call to the bapi including all the parameter values as this will greatly help subsequent people with similar problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 01:06:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540736#M1562377</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2011-02-01T01:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540737#M1562378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to do three steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: using BAPI 'BAPI_ALM_ORDER_MAINTAIN'&lt;/P&gt;&lt;P&gt;2: append structure in IBAPI_CAUFVD_UPDATE&lt;/P&gt;&lt;P&gt;3: create BADI from 'IBAPI_ALM_ORD_MODIFY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my sample code is below.&lt;/P&gt;&lt;P&gt;by the way, CI_AUFK has my Zfields, so CAUFV has already had my Zfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------" /&gt;&lt;P&gt;*---- 1: using BAPI 'BAPI_ALM_ORDER_MAINTAIN'&lt;/P&gt;&lt;P&gt;  IW_METHODS-OBJECTTYPE = SPACE.&lt;/P&gt;&lt;P&gt;  IW_METHODS-METHOD     = 'SAVE'.&lt;/P&gt;&lt;P&gt;  IW_METHODS-OBJECTKEY  = SPACE.&lt;/P&gt;&lt;P&gt;  APPEND IW_METHODS TO IT_METHODS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR: IW_METHODS.&lt;/P&gt;&lt;P&gt;  IW_METHODS-REFNUMBER  = '000001'.&lt;/P&gt;&lt;P&gt;  IW_METHODS-OBJECTTYPE = 'HEADER'.&lt;/P&gt;&lt;P&gt;  IW_METHODS-METHOD     = 'CHANGE'.&lt;/P&gt;&lt;P&gt;  IW_METHODS-OBJECTKEY  = W_AUFNR.&lt;/P&gt;&lt;P&gt;  APPEND IW_METHODS TO IT_METHODS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IW_EXTENSION_IN-VALUEPART1+0(12) = W_AUFNR.&lt;/P&gt;&lt;P&gt;  IW_EXTENSION_IN-VALUEPART1+12(2) = W_ZFIELD.   "Zfield&lt;/P&gt;&lt;P&gt;  APPEND IW_EXTENSION_IN TO IT_EXTENSION_IN.&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              = IT_METHODS&lt;/P&gt;&lt;P&gt;      EXTENSION_IN            = IT_EXTENSION_IN&lt;/P&gt;&lt;P&gt;      RETURN                  = IT_RETURN.&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          = COS_X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----2: append structure in IBAPI_CAUFVD_UPDATE&lt;/P&gt;&lt;P&gt;*----    you need to create an APPEND structure in ALMB_CAUFVD_UP_TAB_INT.&lt;/P&gt;&lt;P&gt;*----    (of course you can create that in SE11)&lt;/P&gt;&lt;P&gt;*----    you need to set flag fields (CHAR1) in APPEND structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*---- 3: create BADI from 'IBAPI_ALM_ORD_MODIFY'&lt;/P&gt;&lt;P&gt;*----    you need to create BADI from 'IBAPI_ALM_ORD_MODIFY' in SE19&lt;/P&gt;&lt;P&gt;*----    and you need to add some Codes in method of 'MODIFY_INPUT_DATA'&lt;/P&gt;&lt;P&gt;*----    my code is below&lt;/P&gt;&lt;P&gt;    DATA: LW_HEADER_INT     TYPE ALMB_CAUFVD.&lt;/P&gt;&lt;P&gt;    DATA: LW_HEADER_INT_UP  TYPE IBAPI_CAUFVD_UPDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE CT_HEADER_INT INTO LW_HEADER_INT&lt;/P&gt;&lt;P&gt;       WITH KEY AUFNR = EXTENSION_IN-VALUEPART1+0(12).&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;      LW_HEADER_INT-ZFIELD = EXTENSION_IN-VALUEPART1+12(2).       "set Zfield value&lt;/P&gt;&lt;P&gt;      MODIFY CT_HEADER_INT FROM LW_HEADER_INT index SY-TABIX.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      LW_HEADER_INT-AUFNR  = EXTENSION_IN-VALUEPART1+0(12).&lt;/P&gt;&lt;P&gt;      LW_HEADER_INT-ZFIELD = EXTENSION_IN-VALUEPART1+12(2).       "set Zfield value&lt;/P&gt;&lt;P&gt;      APPEND LW_HEADER_INT TO CT_HEADER_INT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE CT_HEADER_INT_UP INTO LW_HEADER_INT_UP&lt;/P&gt;&lt;P&gt;       WITH KEY AUFNR = EXTENSION_IN-VALUEPART1+0(12).&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC = 0.set Zfield value&lt;/P&gt;&lt;P&gt;      LW_HEADER_INT_UP-ZFIELD = 'X'.                              "set Zfield flag&lt;/P&gt;&lt;P&gt;      MODIFY CT_HEADER_INT_UP FROM LW_HEADER_INT_UP index SY-TABIX.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      LW_HEADER_INT_UP-ZFIELD = 'X'.&lt;/P&gt;&lt;P&gt;      APPEND LW_HEADER_INT_UP TO CT_HEADER_INT_UP.                "set Zfield flag&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 01:44:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540737#M1562378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T01:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540738#M1562379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rie that is very clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 02:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540738#M1562379</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2011-02-01T02:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540739#M1562380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well,try to fill the IT_HEADER and IT_HEADER_UP in BAPI_ALM_ORDER_MAINTAIN. I think the BAPI doesnt know which order will be maintain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 05:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540739#M1562380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T05:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ALM_ORDER_MAINTAIN doesn't work for update EXTENSION fields.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540740#M1562381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, it helped a lot...it actully solved the problem..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 09:10:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-alm-order-maintain-doesn-t-work-for-update-extension-fields/m-p/7540740#M1562381</guid>
      <dc:creator>dhruv_mehta</dc:creator>
      <dc:date>2011-02-23T09:10:23Z</dc:date>
    </item>
  </channel>
</rss>

