<?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 help with badi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-badi/m-p/3051741#M722547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it a good idea to use function modules in badi custom code &lt;/P&gt;&lt;P&gt;i am trying to modify one of the infotype records (0004) using badi but the field is not getting updated , im using func mod HR_INFOTYPE_OPERATION.&lt;/P&gt;&lt;P&gt;Can u suggest any  alternatives?? Help will be much appreciated...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Nov 2007 07:14:38 GMT</pubDate>
    <dc:creator>former_member808457</dc:creator>
    <dc:date>2007-11-24T07:14:38Z</dc:date>
    <item>
      <title>help with badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-badi/m-p/3051741#M722547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it a good idea to use function modules in badi custom code &lt;/P&gt;&lt;P&gt;i am trying to modify one of the infotype records (0004) using badi but the field is not getting updated , im using func mod HR_INFOTYPE_OPERATION.&lt;/P&gt;&lt;P&gt;Can u suggest any  alternatives?? Help will be much appreciated...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2007 07:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-badi/m-p/3051741#M722547</guid>
      <dc:creator>former_member808457</dc:creator>
      <dc:date>2007-11-24T07:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: help with badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-badi/m-p/3051742#M722548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Commit the trasaction after calling the function module HR_INFOTYPE_OPERATION. &lt;/P&gt;&lt;P&gt;&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;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2007 10:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-badi/m-p/3051742#M722548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-24T10:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: help with badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-badi/m-p/3051743#M722549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vinay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately you did not reveal the most important detail for answering your question:&lt;/P&gt;&lt;P&gt;Which BAdI are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that you perhaps use BAdI &amp;lt;b&amp;gt;HRPAD00INFTY&amp;lt;/b&amp;gt; (&amp;lt;i&amp;gt;Update / Infotype maintenance&amp;lt;/i&amp;gt;) then you can see from the signature of the interface methods (IF_EX_HRPAD00INFTY; on ECC 5.0) that none of them is intended for changing current data of the transaction. On the contrary, all method parameters are IMPORTING parameters and are called BY VALUE. Thus, no changes of the parameters within the interface methods will be transmitted to the caller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method IF_EX_HRPAD00INFTY~AFTER_INPUT is the only method having an exception which implies that this method can be used to perform checks (compare PBO vs. PAI data) and reject changes by raising the exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final remark: &lt;/P&gt;&lt;P&gt;It is complete nonsense to commit work &amp;lt;b&amp;gt;within &amp;lt;/b&amp;gt;a BAdI because the BAdI is called within a transaction which should be properly committed at the end of the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2007 20:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-badi/m-p/3051743#M722549</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-11-24T20:07:02Z</dc:date>
    </item>
  </channel>
</rss>

