<?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: How to modify VBAP-FIXMG in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310596#M1392651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is strange that you don't have the field VBAP-FIXMG available for editing.   Make sure the item you are displaying is not completely delivered.  In this case indeed the field is not editable.&lt;/P&gt;&lt;P&gt;In our system (and I think this is the tandard behaviour of SAP) the field is available for update whenever the item was not fully delivered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I was willing to do is to activate or deactivate automatically this flag in case of specific situations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final solution I got is resumed below:&lt;/P&gt;&lt;P&gt;We created an include on MV45AFZZ :&lt;/P&gt;&lt;P&gt;1) form userexit_pricing_prepare_tkomp (The first one executres a perform included on the second exit.)&lt;/P&gt;&lt;P&gt;2) another on the form userexit_save_document_prepare.  Here the flag is activated or not depending on some criteria.&lt;/P&gt;&lt;P&gt; (Points 1 to 3 below)&lt;/P&gt;&lt;P&gt;One of the validations is to check if the order is credit blocked.  Since the order can be blocked for credit during saving, we need to find exactly the correct place where the flag should be removed (this should occur just before the transfer of requirements are created.&lt;/P&gt;&lt;P&gt;(Point  5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Flags are set in userexit_save_document_prepare - this is line 378 of the Include MV45AF0B_BELEG_SICHERN.  FIXMG flags are set in our second userexit logic.&lt;/P&gt;&lt;P&gt;2. Credit Check is done within form beleg_bearbeiten_ende u2013 this is line 383 in same Include.  Here VBUK-CMGST is set to u2018Bu2019.&lt;/P&gt;&lt;P&gt;3. Requirements are determined in form bedarf_fuellen (line 803 in same include) u2013 this is where the VBBE entries are determined based on the values currently in VBAK, VBAP, etc. (that is, internally in the programu2026not yet in the database tables).  So since at this time Order is already blocked (VBUK-CMGST=B) but the FIXMG flags are still set, the VBBE entries for those items will not be generated.&lt;/P&gt;&lt;P&gt;4. FIXMG flags were being cleared in a later exit (customer-function '003' in line 889 in same include) u2013 by this time, the VBBE entries were already determined.  THIS IS THE STEP THAT WAS BEING DONE TOO LATE IN THE PROCESS.&lt;/P&gt;&lt;P&gt;5. We decided to choose the one that as close as possible  before the VBBE/Requirements are determined, and this is where we found  this enhancement spot:  enhancement-point beleg_sichern_14 spots es_sapmv45a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help.&lt;/P&gt;&lt;P&gt;Fátima&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2011 07:52:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-09T07:52:29Z</dc:date>
    <item>
      <title>How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310586#M1392641</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 have a Z report program. I want to modify the field VBAP-FIXMG field. I tried it by using FM BAPI_SALESORDER_CHANGE. But it is not working because this field is not editable when sales orders is in change mode. Is there any other way to modify this fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards &lt;/P&gt;&lt;P&gt;Subhankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 05:15:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310586#M1392641</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2009-10-27T05:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310587#M1392642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you set the field FIXDAT_QTY of parameter ORDER_ITEM_IN for BAPI_SALESORDER_CHANGE?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 05:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310587#M1392642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-27T05:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310588#M1392643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.  I did it. You can check sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if l_wa_vbap-op_ind = c_stat_r.&lt;/P&gt;&lt;P&gt;      l_wa_item-fixdat_qty = c_check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    elseif l_wa_vbap-op_ind = c_stat_a.&lt;/P&gt;&lt;P&gt;      l_wa_item-fixdat_qty  = ''.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    append l_wa_item to i_item_in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate change indicator&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    l_wa_itemx-itm_number = l_wa_vbap-posnr.&lt;/P&gt;&lt;P&gt;    l_wa_itemx-updateflag = c_stat_u.&lt;/P&gt;&lt;P&gt;    l_wa_itemx-fixdat_qty = c_check.&lt;/P&gt;&lt;P&gt;    append l_wa_itemx to i_item_inx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    at end of vbeln.&lt;/P&gt;&lt;P&gt;      l_wa_ind-updateflag = c_stat_u.&lt;/P&gt;&lt;P&gt;      call function 'BAPI_SALESORDER_CHANGE'&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;          salesdocument    = l_wa_temp-vbeln&lt;/P&gt;&lt;P&gt;          order_header_inx = l_wa_ind&lt;/P&gt;&lt;P&gt;        tables&lt;/P&gt;&lt;P&gt;          return           = i_bapiret2&lt;/P&gt;&lt;P&gt;          order_item_in    = i_item_in&lt;/P&gt;&lt;P&gt;          order_item_inx   = i_item_inx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 05:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310588#M1392643</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2009-10-27T05:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310589#M1392644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In BAPI_SALESORDER_CHANGE&lt;/P&gt;&lt;P&gt;you have a table parameter called  ORDER_ITEM_IN.&lt;/P&gt;&lt;P&gt;In this structure u have a field FIXDAT_QTY. Try passing your value in this component of the structure alongwith other line item data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: vijetasap on Oct 27, 2009 6:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 05:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310589#M1392644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-27T05:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310590#M1392645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I pass the value.. it is not working as this field is not editable from transaction VA02. -item -schedule line. There is check box.  I think this (not editable) is done from configuration. Is there any other way to update this fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 05:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310590#M1392645</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2009-10-27T05:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310591#M1392646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i feel that the field itself is not in the editable state..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can chek its module pool screen for it , there will be a option to make it editable .. i have done it once but dont rember exact step..&lt;/P&gt;&lt;P&gt;but the option will be available in the modulepool scrren for that field and this will make that filed for input and u can fill the data through it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: imran khan on Oct 27, 2009 6:58 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 05:57:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310591#M1392646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-27T05:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310592#M1392647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Upon execution of the Bapi (BAPI_SALESORDER_CHANGE)&lt;/P&gt;&lt;P&gt;catch the 'Return' parameter in tables option, it shows the message &lt;/P&gt;&lt;P&gt;'Field header_inx-updateflag is not an input field'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto tcode VA02 -&amp;gt; Sales Tab-&amp;gt; All Items.&lt;/P&gt;&lt;P&gt;Double click on any of the item - it navigates to a subscreen.&lt;/P&gt;&lt;P&gt;Goto -&amp;gt; Shedule Lines tab - Here u can find the field &lt;STRONG&gt;Fixed date &amp;amp; qty (FIXMG)&lt;/STRONG&gt; in edit mode&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;Deeba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 09:34:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310592#M1392647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-27T09:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310593#M1392648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all of you for your kind reply. &lt;/P&gt;&lt;P&gt;problem is now solved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI will work fine for those sales order which status is not completely delivered (&lt;STRONG&gt;VBUP-lfgsa &amp;lt;&amp;gt; 'C'&lt;/STRONG&gt; ). You can check the standard code MV45AFFE_FELDAUSWAHL_STATUS. Line 185.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately when I was tested all the sales order was completely delivered. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subhankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 14:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310593#M1392648</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2009-10-27T14:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310594#M1392649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to update VBAP-FIXMG depending on Credit Status and depending if the schedule line quantity is fully confirmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I enter my code on MV45AFZZ via a new include but I got several issues updating the Credit Exposue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Where should I update this field (having VBUK and VBEP available to perform my checks, and be able to change VBAP-FIXMG without interfering on credit values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;FS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 14:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310594#M1392649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T14:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310595#M1392650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fatima,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you update the 	VBAP-FIXMG field? I am in the same situation and your answer would be very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 18:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310595#M1392650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-08T18:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify VBAP-FIXMG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310596#M1392651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is strange that you don't have the field VBAP-FIXMG available for editing.   Make sure the item you are displaying is not completely delivered.  In this case indeed the field is not editable.&lt;/P&gt;&lt;P&gt;In our system (and I think this is the tandard behaviour of SAP) the field is available for update whenever the item was not fully delivered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I was willing to do is to activate or deactivate automatically this flag in case of specific situations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The final solution I got is resumed below:&lt;/P&gt;&lt;P&gt;We created an include on MV45AFZZ :&lt;/P&gt;&lt;P&gt;1) form userexit_pricing_prepare_tkomp (The first one executres a perform included on the second exit.)&lt;/P&gt;&lt;P&gt;2) another on the form userexit_save_document_prepare.  Here the flag is activated or not depending on some criteria.&lt;/P&gt;&lt;P&gt; (Points 1 to 3 below)&lt;/P&gt;&lt;P&gt;One of the validations is to check if the order is credit blocked.  Since the order can be blocked for credit during saving, we need to find exactly the correct place where the flag should be removed (this should occur just before the transfer of requirements are created.&lt;/P&gt;&lt;P&gt;(Point  5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Flags are set in userexit_save_document_prepare - this is line 378 of the Include MV45AF0B_BELEG_SICHERN.  FIXMG flags are set in our second userexit logic.&lt;/P&gt;&lt;P&gt;2. Credit Check is done within form beleg_bearbeiten_ende u2013 this is line 383 in same Include.  Here VBUK-CMGST is set to u2018Bu2019.&lt;/P&gt;&lt;P&gt;3. Requirements are determined in form bedarf_fuellen (line 803 in same include) u2013 this is where the VBBE entries are determined based on the values currently in VBAK, VBAP, etc. (that is, internally in the programu2026not yet in the database tables).  So since at this time Order is already blocked (VBUK-CMGST=B) but the FIXMG flags are still set, the VBBE entries for those items will not be generated.&lt;/P&gt;&lt;P&gt;4. FIXMG flags were being cleared in a later exit (customer-function '003' in line 889 in same include) u2013 by this time, the VBBE entries were already determined.  THIS IS THE STEP THAT WAS BEING DONE TOO LATE IN THE PROCESS.&lt;/P&gt;&lt;P&gt;5. We decided to choose the one that as close as possible  before the VBBE/Requirements are determined, and this is where we found  this enhancement spot:  enhancement-point beleg_sichern_14 spots es_sapmv45a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help.&lt;/P&gt;&lt;P&gt;Fátima&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 07:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-vbap-fixmg/m-p/6310596#M1392651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-09T07:52:29Z</dc:date>
    </item>
  </channel>
</rss>

