<?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 ABAP code in FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159806#M1977893</link>
    <description>&lt;P&gt;Hello Matthew&lt;/P&gt;&lt;P&gt;Agreed, there is always an exception to the rule. That's why I said that it's the last resort. Not, that it's not possible or shouldn't be done at all. &lt;/P&gt;&lt;P&gt;And who says anything about copying? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Definitely avoid copying of programming objects, if possible.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;Mateusz</description>
    <pubDate>Tue, 02 Jun 2020 11:02:37 GMT</pubDate>
    <dc:creator>MateuszAdamus</dc:creator>
    <dc:date>2020-06-02T11:02:37Z</dc:date>
    <item>
      <title>Change ABAP code in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159800#M1977887</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
  &lt;P&gt;I have a custom field in table BKPF.&lt;/P&gt;
  &lt;P&gt;When i am trying to change value in this field (TC: FB02) i have a problem.&lt;/P&gt;
  &lt;P&gt;Value in this new field is not changing but change log on document is created.&lt;/P&gt;
  &lt;P&gt;I have found FM CHANGE_DOCUMENT which should make changes in table BKPF.&lt;/P&gt;
  &lt;P&gt;Include LFAGL_F005F03.&lt;/P&gt;
  &lt;P&gt;I whant to add new line to code of this FM (with my new fileld) but how to do this without entering acces Key?&lt;/P&gt;
  &lt;P&gt;There is no enhance point...&lt;/P&gt;
  &lt;P&gt;Code:&lt;/P&gt;
  &lt;P&gt;...&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;UPDATE bkpf&lt;BR /&gt; SET aedat = bkpf-aedat&lt;BR /&gt; upddt = bkpf-upddt&lt;BR /&gt; xblnr = bkpf-xblnr&lt;BR /&gt; bktxt = bkpf-bktxt&lt;BR /&gt; stodt = bkpf-stodt&lt;BR /&gt; xstov = bkpf-xstov&lt;BR /&gt; duefl = bkpf-duefl&lt;BR /&gt; brnch = bkpf-brnch&lt;BR /&gt; numpg = bkpf-numpg&lt;BR /&gt; xref1_hd = bkpf-xref1_hd "Note 624215&lt;BR /&gt; xref2_hd = bkpf-xref2_hd "Note 624215&lt;BR /&gt; WHERE bukrs = bkpf-bukrs&lt;BR /&gt; AND gjahr = bkpf-gjahr&lt;BR /&gt; AND belnr = bkpf-belnr.&lt;/P&gt;
  &lt;P&gt;...&lt;/P&gt;
  &lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 08:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159800#M1977887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-02T08:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change ABAP code in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159801#M1977888</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;tomasz.piwowarski&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;It's a standard SAP function, only SAP is allowed to change it by default. Modifying standard objects is almost always a last resort. Try looking for other ways of achieving your goal.&lt;/P&gt;&lt;P&gt;For example, you could try to implement a BTE for this transaction, as it is described in this answer: &lt;A href="https://answers.sap.com/comments/6621494/view.html" target="test_blank"&gt;https://answers.sap.com/comments/6621494/view.html&lt;/A&gt;&lt;/P&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Tue, 02 Jun 2020 08:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159801#M1977888</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-06-02T08:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Change ABAP code in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159802#M1977889</link>
      <description>&lt;P&gt;Hi Tomek,&lt;/P&gt;&lt;P&gt;Did you have a chance to go through following article? &lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2018/06/18/extending-bkpf-table-by-adding-custom-or-zz-fields-in-sap/"&gt;Extending BKPF Table by adding custom or ZZ Fields in SAP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bartosz&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 08:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159802#M1977889</guid>
      <dc:creator>ziolkowskib</dc:creator>
      <dc:date>2020-06-02T08:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change ABAP code in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159803#M1977890</link>
      <description>&lt;P&gt;Yes. When i am posting new document everything is ok.&lt;/P&gt;&lt;P&gt;Problem is in FB02 in change mode.&lt;/P&gt;&lt;P&gt;Part of this article &lt;/P&gt;&lt;P&gt;"Note: New Z fields can be added to FB03 only in the form of hard screen modification and is not recommended."&lt;/P&gt;&lt;P&gt;I add this field to FB02 FB03 screen.&lt;/P&gt;&lt;P&gt;Now i am looking for solution to make a posibility to change value in this field.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 08:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159803#M1977890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-06-02T08:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change ABAP code in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159804#M1977891</link>
      <description>&lt;P&gt;Please use a meaningful title (like "update custom field in FB02" for instance).&lt;/P&gt;&lt;P&gt;Please use the CODE button to format your code so that it's shown in a more user-friendly format (colorized).&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 08:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159804#M1977891</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-06-02T08:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change ABAP code in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159805#M1977892</link>
      <description>&lt;P&gt;While modifying standard is a last resort, it's better than making a copy of the standard and changing that. If you have to change the standard, then do so, but make sure it is really clear that this is a modification and why it's necessary.&lt;/P&gt;&lt;P&gt;During upgrade, when you run SPAU, the modification will be visible and will need to be re-applied. &lt;/P&gt;&lt;P&gt;I will add that my experience of many SAP implementations is that every single one has had a modification to standard somewhere.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 10:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159805#M1977892</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2020-06-02T10:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Change ABAP code in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159806#M1977893</link>
      <description>&lt;P&gt;Hello Matthew&lt;/P&gt;&lt;P&gt;Agreed, there is always an exception to the rule. That's why I said that it's the last resort. Not, that it's not possible or shouldn't be done at all. &lt;/P&gt;&lt;P&gt;And who says anything about copying? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Definitely avoid copying of programming objects, if possible.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;Mateusz</description>
      <pubDate>Tue, 02 Jun 2020 11:02:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159806#M1977893</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2020-06-02T11:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change ABAP code in FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159807#M1977894</link>
      <description>&lt;P&gt;Nobody said anything about copying. I was more advising the OP than replying to your answer.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 15:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-abap-code-in-fm/m-p/12159807#M1977894</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2020-06-02T15:40:26Z</dc:date>
    </item>
  </channel>
</rss>

