<?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: Changes done in user exit does not remain in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967037#M947582</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 responses. Yes the project is activated, yes when debugging it does enter there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think one of my mistakes was that I did not write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"MODIFY DOC_ITEM_TAB FROM I_DOC_ITEM."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause the changes were not going into DOC_ITEM_TAB. But I have now done this and made sure changes went into DOC_ITEM_TAB. But now it still does not show in FI document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that it is changed later in SAP program. Can anyone verify this?? If this is the case can anyone tell me which user exit can be used so that the changes appear in the FI document???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2008 06:31:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-16T06:31:24Z</dc:date>
    <item>
      <title>Changes done in user exit does not remain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967033#M947578</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;Could someone please assist me. I would like to change certain things on the line of the Finance document when being created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writing code in a user exit, the enhancement is F180A001, I have then used the exit program ZXF48U01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the below code, goes through and changes the values but the FI document when created does not have the changes. Can someone please let me know what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT RELATION_TAB INTO I_RELATION.&lt;/P&gt;&lt;P&gt;    READ TABLE DOC_HEAD_TAB INTO I_DOC_HEAD with key&lt;/P&gt;&lt;P&gt;                                  BUKRS = I_RELATION-BUKRS&lt;/P&gt;&lt;P&gt;                                  BELNR = I_RELATION-BELNR.&lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;     LOOP AT DOC_ITEM_TAB INTO I_DOC_ITEM&lt;/P&gt;&lt;P&gt;                           WHERE BUKRS = I_RELATION-BUKRS&lt;/P&gt;&lt;P&gt;                           AND   BELNR = I_RELATION-BELNR&lt;/P&gt;&lt;P&gt;                           AND   GJAHR = I_RELATION-GJAHR.&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;          if I_DOC_ITEM-HKONT = '0000681030'.&lt;/P&gt;&lt;P&gt;              I_DOC_ITEM-KOSTL = '1000ZA'.&lt;/P&gt;&lt;P&gt;              I_DOC_ITEM-PRCTR = '2000ZA'.&lt;/P&gt;&lt;P&gt;              I_DOC_ITEM-SGTXT = 'Text Changed'.&lt;/P&gt;&lt;P&gt;              MODIFY RELATION_TAB FROM I_RELATION.&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;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2008 12:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967033#M947578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-15T12:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Changes done in user exit does not remain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967034#M947579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;You project is active and the enhancement is assigned to the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhu Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2008 13:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967034#M947579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-15T13:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Changes done in user exit does not remain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967035#M947580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Louis,&lt;/P&gt;&lt;P&gt;First thing to check: Is ur enhancement is assigned to some project.If Yes then is that project active. If not then do these things through CMOD and SMOD transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second thing did u tried debugging ur code? Check whether control is entering to this exit when u create FI doc(may be some conditions are not satisfying). If entering then check ur logic. If logic is correct then probably ur changes are being over written some where in standard code/some other exit. In this case u have to find out appropriate exit and put the code over there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2008 13:17:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967035#M947580</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-06-15T13:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Changes done in user exit does not remain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967036#M947581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Louis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see the right MODIFY statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODIFY RELATION_TAB FROM I_RELATION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;stores values from I_RELATION to RELATION_TAB. But you never change any values in I_RELATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What about replacing it with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODIFY DOC_ITEM_TAB FROM I_DOC_ITEM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2008 15:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967036#M947581</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2008-06-15T15:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Changes done in user exit does not remain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967037#M947582</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 responses. Yes the project is activated, yes when debugging it does enter there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think one of my mistakes was that I did not write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"MODIFY DOC_ITEM_TAB FROM I_DOC_ITEM."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause the changes were not going into DOC_ITEM_TAB. But I have now done this and made sure changes went into DOC_ITEM_TAB. But now it still does not show in FI document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that it is changed later in SAP program. Can anyone verify this?? If this is the case can anyone tell me which user exit can be used so that the changes appear in the FI document???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 06:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967037#M947582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T06:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changes done in user exit does not remain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967038#M947583</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;Did you get the answer to your issue? I am having a similar issue now wherein I need to populate the BKPF-XBLNR_ALT field and the DOC_HEAD_TAB does not take the modification. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2008 15:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967038#M947583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-18T15:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changes done in user exit does not remain</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967039#M947584</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;I too am having same problem,  I wish to modify BSEG_SGTXT, however the CHANGING parameter does not have BSEG_SGTXT and therefore does not allow for modification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 11:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changes-done-in-user-exit-does-not-remain/m-p/3967039#M947584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T11:53:19Z</dc:date>
    </item>
  </channel>
</rss>

