<?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: Regd HR abap - smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462229#M552548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Preeti,&lt;/P&gt;&lt;P&gt;Check out this table PA0001.&lt;/P&gt;&lt;P&gt;Then may be you have to write your own customized FM to extract data.&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2007 07:03:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-25T07:03:18Z</dc:date>
    <item>
      <title>Regd HR abap - smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462228#M552547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a requiremet where i have to populate the position, emp group, emp subgroup, personnel area, personnel sub area of an employee for the last 3 years EXCLUDING CURRENT YEAR into the smartform table. &lt;/P&gt;&lt;P&gt;e.g. If an HR executove is taking out the record of an employee in year 2022, then he should get all the records of years 2021, 2020 and 2019 in a tabular form in smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me. Its urgent!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;preeti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 06:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462228#M552547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T06:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regd HR abap - smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462229#M552548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Preeti,&lt;/P&gt;&lt;P&gt;Check out this table PA0001.&lt;/P&gt;&lt;P&gt;Then may be you have to write your own customized FM to extract data.&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462229#M552548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T07:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regd HR abap - smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462230#M552549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Preeti,&lt;/P&gt;&lt;P&gt;                 In the smart form write a code say for example ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                   Data:P_date  type sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after getting the year ... u subtract one and three from it ,&lt;/P&gt;&lt;P&gt;and write select query between  1   and 3. u will get result..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bhaskar rao.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462230#M552549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T07:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regd HR abap - smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462231#M552550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use select statement. Use variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var1 = input - 4&lt;/P&gt;&lt;P&gt;var2 = input -1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select fields from pa0001into table itab&lt;/P&gt;&lt;P&gt;where pernr = &lt;/P&gt;&lt;P&gt;and  begda between var1 and var2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462231#M552550</guid>
      <dc:creator>former_member225631</dc:creator>
      <dc:date>2007-06-25T07:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regd HR abap - smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462232#M552551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In the smartform&lt;/P&gt;&lt;P&gt;create program Lines and write a select statement to PA0001 to select all the records first&lt;/P&gt;&lt;P&gt;then seggregate the records with the Year condition&lt;/P&gt;&lt;P&gt;year = date1+0(4) .&lt;/P&gt;&lt;P&gt;year1 = year1 - 1.&lt;/P&gt;&lt;P&gt;year2 = year1 - 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now do the processing of data records of a pernr using the BEGDA and ENDDA such that the years in those dates lies between these Year1 and YEAr2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462232#M552551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T07:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Regd HR abap - smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462233#M552552</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;Code the program in such a way so that it gets data from pa0001 table and pass the internal table to smartform.Use table concept in smartform to display it.If you are using LDB,you can use rp-provide-from-last macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:08:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462233#M552552</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-06-25T07:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Regd HR abap - smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462234#M552553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can do it this way :&lt;/P&gt;&lt;P&gt;In case of your example.&lt;/P&gt;&lt;P&gt;gv_year = '2022'.&lt;/P&gt;&lt;P&gt;gv_year1 = gv_year - 3.&lt;/P&gt;&lt;P&gt;gv_year2 = gv_year - 1.&lt;/P&gt;&lt;P&gt;concatenate gv_year1 '0101' into gv_date1 .  " date will be 01.01.2019&lt;/P&gt;&lt;P&gt;concatenate gv_year2 '1231' into gv_date2 . "  date will be 31.12.2021&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now write this select query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select pernr begda endda werks btrtl&lt;/P&gt;&lt;P&gt;from pa0001&lt;/P&gt;&lt;P&gt;into table gt_pa0001&lt;/P&gt;&lt;P&gt;where begda ge gv_date1 and&lt;/P&gt;&lt;P&gt;          begda le gv_date2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 07:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regd-hr-abap-smartforms/m-p/2462234#M552553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T07:13:23Z</dc:date>
    </item>
  </channel>
</rss>

