<?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 User Exit for restricting Separation action in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-restricting-separation-action/m-p/5841501#M1318059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement that i need to restrict the separation action for some positions. I have found the user exit but i am having problem in capturing the current action that is getting trigerred &amp;amp; i also want the position of the person that he holds, so that i can put up a message that this position cannot be deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly help on this.&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;Prateek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2009 05:19:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-06T05:19:06Z</dc:date>
    <item>
      <title>User Exit for restricting Separation action</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-restricting-separation-action/m-p/5841501#M1318059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement that i need to restrict the separation action for some positions. I have found the user exit but i am having problem in capturing the current action that is getting trigerred &amp;amp; i also want the position of the person that he holds, so that i can put up a message that this position cannot be deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly help on this.&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;Prateek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 05:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-restricting-separation-action/m-p/5841501#M1318059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T05:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit for restricting Separation action</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-restricting-separation-action/m-p/5841502#M1318060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this badi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HRPAD00INFTY&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 05:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-restricting-separation-action/m-p/5841502#M1318060</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-07-06T05:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit for restricting Separation action</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-restricting-separation-action/m-p/5841503#M1318061</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;Please implement this BADI HRPAD00INFTY and use method AFTER_INPUT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 05:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-restricting-separation-action/m-p/5841503#M1318061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T05:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit for restricting Separation action</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-restricting-separation-action/m-p/5841504#M1318062</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;You need to read the postion from the PA0001.. i don't think you will get this data in the user exit. You have to fetch the data from the from pa0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Exit : EXIT_SAPFP50M_002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;To read the active record of infotype data in the given date range&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PERFORM read_infotype(sapfp50p)&lt;/P&gt;&lt;P&gt;        USING p_pernr '0001' space space&lt;/P&gt;&lt;P&gt;              '4'     lv_date lv_date      '0'&lt;/P&gt;&lt;P&gt;              'NOP'   l_0001.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 05:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-restricting-separation-action/m-p/5841504#M1318062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T05:36:46Z</dc:date>
    </item>
  </channel>
</rss>

