<?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 Method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672897#M884571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am performing an action in PA40 for employee transfer.&lt;/P&gt;&lt;P&gt;While I change the Payroll Area for the employee from SL to BW in IT0001, I require both new and old values for Payroll Areas.&lt;/P&gt;&lt;P&gt;The old value (SL) could be captured from the table itself.&lt;/P&gt;&lt;P&gt;How can I capture the new value i.e., BW ?&lt;/P&gt;&lt;P&gt;I asked someone regarding this and he mentioned me the below method.&lt;/P&gt;&lt;P&gt;I just wanted to know what is the value of &lt;STRONG&gt;s_innnn&lt;/STRONG&gt; ? Is it that  this value is captured from run time.&lt;/P&gt;&lt;P&gt;Or something else needs to be done for this.&lt;/P&gt;&lt;P&gt;CALL METHOD cl_hr_pnnnn_type_cast=&amp;gt;prelp_to_pnnnn&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        prelp = s_innnn&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        pnnnn = s_i0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply. This is really urgent.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Binay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2008 12:51:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-09T12:51:04Z</dc:date>
    <item>
      <title>Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672897#M884571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am performing an action in PA40 for employee transfer.&lt;/P&gt;&lt;P&gt;While I change the Payroll Area for the employee from SL to BW in IT0001, I require both new and old values for Payroll Areas.&lt;/P&gt;&lt;P&gt;The old value (SL) could be captured from the table itself.&lt;/P&gt;&lt;P&gt;How can I capture the new value i.e., BW ?&lt;/P&gt;&lt;P&gt;I asked someone regarding this and he mentioned me the below method.&lt;/P&gt;&lt;P&gt;I just wanted to know what is the value of &lt;STRONG&gt;s_innnn&lt;/STRONG&gt; ? Is it that  this value is captured from run time.&lt;/P&gt;&lt;P&gt;Or something else needs to be done for this.&lt;/P&gt;&lt;P&gt;CALL METHOD cl_hr_pnnnn_type_cast=&amp;gt;prelp_to_pnnnn&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        prelp = s_innnn&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        pnnnn = s_i0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply. This is really urgent.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Binay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 12:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672897#M884571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T12:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672898#M884572</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;Why dont you use FM Hr_Infotype_Operation &lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;HR_MAINTAIN_MASTERDATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REWARD IF USEFUL&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 13:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672898#M884572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T13:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672899#M884573</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 your reply.&lt;/P&gt;&lt;P&gt;I require the newly added Payroll area (ABKRS) to be captured and neither of the FMs have such a parameter.&lt;/P&gt;&lt;P&gt;Could you let me how to get the newly provided payroll area in IT0001 while performing the action for transfer for an employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Binay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2008 13:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672899#M884573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-09T13:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672900#M884574</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;Both the values are getting stored in table PA0001, you can retrive it from thr..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See when you do transfer a new record is created and old record will the thr always. i.e both the records are available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REWARD IF USEFUL&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 04:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672900#M884574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T04:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672901#M884575</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;While making the changes in &lt;STRONG&gt;IT0001&lt;/STRONG&gt; by &lt;U&gt;performing actions&lt;/U&gt; via &lt;STRONG&gt;PA40&lt;/STRONG&gt;, until the changes are saved in the infotype, the newly entered record values wont be available in the table &lt;STRONG&gt;PA0001&lt;/STRONG&gt;. I need to capture the newly entered payroll area value before it is saved in table &lt;STRONG&gt;PA0001&lt;/STRONG&gt;, so that I can compare it with existing one and then only move ahead to store in table &lt;STRONG&gt;PA0001&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Just like we capture the &lt;STRONG&gt;pernr&lt;/STRONG&gt; value by using the structure &lt;STRONG&gt;PSPAR&lt;/STRONG&gt; (_pspar-pernr gives the employee no if some actions are being performed on it_).&lt;/P&gt;&lt;P&gt;Am I confusing you ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Binay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 06:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/method/m-p/3672901#M884575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T06:37:59Z</dc:date>
    </item>
  </channel>
</rss>

