<?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 mfbf user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mfbf-user-exit/m-p/4222814#M1008999</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 want to calculate the quantity with some logic &amp;amp; replace it in mfbf transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using user exit , EXIT_SAPLBARM_002 of&lt;/P&gt;&lt;P&gt;XMRM0001.  I have written the following code , in the debug mode it is coming but I am not knowing how to update &amp;amp; to what table to update the data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_erfmg TYPE erfmg,&lt;/P&gt;&lt;P&gt;         ind LIKE sy-tabix.&lt;/P&gt;&lt;P&gt;  DATA : w_imseg TYPE imseg,&lt;/P&gt;&lt;P&gt;         w_mseg TYPE imseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT i_imseg INTO w_imseg.&lt;/P&gt;&lt;P&gt;    ind = sy-tabix.&lt;/P&gt;&lt;P&gt;    IF w_imseg-bwart = '131'.&lt;/P&gt;&lt;P&gt;      READ TABLE i_imseg INTO w_mseg WITH KEY bwart = '261'.&lt;/P&gt;&lt;P&gt;      IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        v_erfmg = w_mseg-erfmg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*formula&lt;/P&gt;&lt;P&gt;        v_erfmg = v_erfmg - v_erfmg * ( 20 + 30 ) / 100.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      w_imseg-erfmg = v_erfmg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MODIFY i_imseg FROM w_imseg INDEX ind TRANSPORTING erfmg.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above formula logic is working fine, but&lt;/P&gt;&lt;P&gt;after this what should i do to update the data .&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, 15 Jul 2008 10:52:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-15T10:52:35Z</dc:date>
    <item>
      <title>mfbf user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mfbf-user-exit/m-p/4222814#M1008999</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 want to calculate the quantity with some logic &amp;amp; replace it in mfbf transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using user exit , EXIT_SAPLBARM_002 of&lt;/P&gt;&lt;P&gt;XMRM0001.  I have written the following code , in the debug mode it is coming but I am not knowing how to update &amp;amp; to what table to update the data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_erfmg TYPE erfmg,&lt;/P&gt;&lt;P&gt;         ind LIKE sy-tabix.&lt;/P&gt;&lt;P&gt;  DATA : w_imseg TYPE imseg,&lt;/P&gt;&lt;P&gt;         w_mseg TYPE imseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT i_imseg INTO w_imseg.&lt;/P&gt;&lt;P&gt;    ind = sy-tabix.&lt;/P&gt;&lt;P&gt;    IF w_imseg-bwart = '131'.&lt;/P&gt;&lt;P&gt;      READ TABLE i_imseg INTO w_mseg WITH KEY bwart = '261'.&lt;/P&gt;&lt;P&gt;      IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        v_erfmg = w_mseg-erfmg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*formula&lt;/P&gt;&lt;P&gt;        v_erfmg = v_erfmg - v_erfmg * ( 20 + 30 ) / 100.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      w_imseg-erfmg = v_erfmg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MODIFY i_imseg FROM w_imseg INDEX ind TRANSPORTING erfmg.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above formula logic is working fine, but&lt;/P&gt;&lt;P&gt;after this what should i do to update the data .&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, 15 Jul 2008 10:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mfbf-user-exit/m-p/4222814#M1008999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T10:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: mfbf user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mfbf-user-exit/m-p/4222815#M1009000</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;No need to update any table. If you update the records in I_IMSEG those will be updated automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kalyan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 10:59:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mfbf-user-exit/m-p/4222815#M1009000</guid>
      <dc:creator>KalC</dc:creator>
      <dc:date>2008-07-15T10:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: mfbf user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mfbf-user-exit/m-p/4222816#M1009001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  I have seen in debug mode, the value in i_imseg table got changed, but this is not update automatically in mseg.  do i need to write manual statement to update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 11:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mfbf-user-exit/m-p/4222816#M1009001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T11:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: mfbf user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mfbf-user-exit/m-p/4222817#M1009002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone tell how to change quantity in MFBF tocde using user exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 03:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mfbf-user-exit/m-p/4222817#M1009002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T03:40:18Z</dc:date>
    </item>
  </channel>
</rss>

