<?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: HR User exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728479#M633257</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;This link will be helpful to u &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page num 60&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;http://help.sap.com/printdocu/core/Print46c/de/data/pdf/PYCHNTPF/PYCHNTPF3.pdf&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;User Exits to Add functionality to the PBO and PAI of HR infotypes&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to add additional functionality and checks to the PBo &amp;amp; PAI of HR infotypes you need to &lt;/P&gt;&lt;P&gt;implement enhancement 'PBAS0001' using CMOD (See implementing enhancements, step 2+). Once you &lt;/P&gt;&lt;P&gt;have done this you need to go to  the function modules EXIT_SAPFP50M_001 &amp;amp; EXIT_SAPFP50M_002 &lt;/P&gt;&lt;P&gt;and create the includes within them i.e.  ZXPADU01 and ZXPADU02. You can now enhance the &lt;/P&gt;&lt;P&gt;functionality of HR infotype PBO and PAI by simply adding code to these includes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;See example below:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR Infotype User exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Include ZXPADU01 for the PBO module&lt;/P&gt;&lt;P&gt;Incldue ZXPADU02 for the PAI module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Example code.&lt;/P&gt;&lt;P&gt;CASE innnn-infty. "Infotype?&lt;/P&gt;&lt;P&gt;  WHEN '0001'.  "infotype 0001&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Processing code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  WHEN '0008'.  "infotype 0008&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Processing code.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         etc.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  WHEN OTHERS.&lt;/P&gt;&lt;P&gt;ENDCASE.&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;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2007 15:12:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-30T15:12:02Z</dc:date>
    <item>
      <title>HR User exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728478#M633256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to pre-populate a filed within infotype 0014 as part of the starter action.  I normally do this in user exit ZXPADU01 by manipulating the innnn-infty structure.  But in this case the field I wish to populate doesn't belong to the P0014 structure, instead it belongs to the Q0014 structure.  So my question is how to I populate the Q0014 structure as it is not populate within the user exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 15:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728478#M633256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T15:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: HR User exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728479#M633257</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;This link will be helpful to u &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page num 60&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;http://help.sap.com/printdocu/core/Print46c/de/data/pdf/PYCHNTPF/PYCHNTPF3.pdf&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;User Exits to Add functionality to the PBO and PAI of HR infotypes&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to add additional functionality and checks to the PBo &amp;amp; PAI of HR infotypes you need to &lt;/P&gt;&lt;P&gt;implement enhancement 'PBAS0001' using CMOD (See implementing enhancements, step 2+). Once you &lt;/P&gt;&lt;P&gt;have done this you need to go to  the function modules EXIT_SAPFP50M_001 &amp;amp; EXIT_SAPFP50M_002 &lt;/P&gt;&lt;P&gt;and create the includes within them i.e.  ZXPADU01 and ZXPADU02. You can now enhance the &lt;/P&gt;&lt;P&gt;functionality of HR infotype PBO and PAI by simply adding code to these includes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;See example below:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR Infotype User exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Include ZXPADU01 for the PBO module&lt;/P&gt;&lt;P&gt;Incldue ZXPADU02 for the PAI module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Example code.&lt;/P&gt;&lt;P&gt;CASE innnn-infty. "Infotype?&lt;/P&gt;&lt;P&gt;  WHEN '0001'.  "infotype 0001&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Processing code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  WHEN '0008'.  "infotype 0008&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Processing code.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         etc.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  WHEN OTHERS.&lt;/P&gt;&lt;P&gt;ENDCASE.&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;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 15:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728479#M633257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T15:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: HR User exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728480#M633258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am already using the exit ZXPADU01, and normally I can just use the below method to pre-populate screen fields within infotypes.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;CALL METHOD cl_hr_pnnnn_type_cast=&amp;gt;pnnnn_to_prelp&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        pnnnn = i0014&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        prelp = innnn. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my problem is that the field znper is not part of the i0014 structure.  It belongs to the Q0014 structrue whcih doesn;t update using the above method.  I have tredi chaging the global data as per below but it doesn't work either.  Has anyone been able to manipulate Q structure fields in the suer exit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;          move '(MP001400)q0014-znper' to field.
          assign (field) to &amp;lt;fs_znper&amp;gt;.
          &amp;lt;fs_znper&amp;gt; = '12'. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 12:55:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728480#M633258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T12:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: HR User exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728481#M633259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check OSS notes for Q0014 - I believe there is one that covers this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 13:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728481#M633259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T13:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: HR User exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728482#M633260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Showthousand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please use the below code to get the following fields  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  Q0014-ZNPER &lt;/P&gt;&lt;P&gt;  Q0014-ZANZL &lt;/P&gt;&lt;P&gt;  Q0014-ZEITX&lt;/P&gt;&lt;P&gt;  Q0014-EITXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the below PERFORMS in user exit ZXPADU01, the above fields are populated automatically.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM ZLZPT_INPUT(SAPFP50L) USING&lt;/P&gt;&lt;P&gt;    P0014-ZDATE P0014-ZFPER P0014-ZANZL P0014-ZEINZ&lt;/P&gt;&lt;P&gt;    Q0014-ZNPER Q0014-ZANZL Q0014-ZEITX.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    IF P0014-ZEINH &amp;lt;&amp;gt; SPACE.&lt;/P&gt;&lt;P&gt;      PERFORM GET_EITXT(SAPFP50L) USING P0014-ZEINH&lt;/P&gt;&lt;P&gt;                                  CHANGING Q0014-EITXT.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      CLEAR Q0014-EITXT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Note:-&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Please refer the standard report MP001400.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 06:54:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-user-exit/m-p/2728482#M633260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T06:54:15Z</dc:date>
    </item>
  </channel>
</rss>

