<?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 HR Forms Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-forms-query/m-p/5608554#M1278045</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;I am doing my first HR Forms so am very new to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created by HR form in transaction HRFORMS and added the info stars. I have also created the smartform and it is printing correctly with the data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need to add few checks, one being - if there is an IT0655 record for each employee selected and if this Infotype exists, test if field P0655-ESSONLY is checked and if so, the payslip form will not produce a payslip for that individual and continue onto the next employee. Please can you advice where can i write this check so that it doesnot produce the payslip when the check is satisfied?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Naba&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naba Kumar Saha on May 14, 2009 8:21 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naba Kumar Saha on May 14, 2009 8:31 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naba Kumar Saha on May 14, 2009 8:48 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naba Kumar Saha on May 14, 2009 8:56 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2009 06:15:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-14T06:15:09Z</dc:date>
    <item>
      <title>HR Forms Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-forms-query/m-p/5608554#M1278045</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;I am doing my first HR Forms so am very new to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created by HR form in transaction HRFORMS and added the info stars. I have also created the smartform and it is printing correctly with the data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need to add few checks, one being - if there is an IT0655 record for each employee selected and if this Infotype exists, test if field P0655-ESSONLY is checked and if so, the payslip form will not produce a payslip for that individual and continue onto the next employee. Please can you advice where can i write this check so that it doesnot produce the payslip when the check is satisfied?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Naba&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naba Kumar Saha on May 14, 2009 8:21 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naba Kumar Saha on May 14, 2009 8:31 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naba Kumar Saha on May 14, 2009 8:48 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naba Kumar Saha on May 14, 2009 8:56 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 06:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-forms-query/m-p/5608554#M1278045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T06:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: HR Forms Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-forms-query/m-p/5608555#M1278046</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;when u are passing the data to the smartforms than check the value of ESS in table &lt;STRONG&gt;PA0655&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select &amp;lt;fields&amp;gt; from PA0655 into table &amp;lt;internal_table&amp;gt;
                    where ESSONLY eq 'X'.

CALL FUNCTION &amp;lt;Function_name&amp;gt;
             " Pass the internal table to the smartform
tables
   table = &amp;lt;internal_table&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will produce only payslip for the person whose ESSONLY is checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 06:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-forms-query/m-p/5608555#M1278046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T06:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: HR Forms Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-forms-query/m-p/5608556#M1278047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry Ravi this is not ABAP where we can write the code. its HR ABAP where the print program is generated automatically based on your HRFORM so we cannot write the code as the generated print program is a standard one..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naba&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naba Kumar Saha on May 14, 2009 9:14 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naba Kumar Saha on May 14, 2009 9:54 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 07:05:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-forms-query/m-p/5608556#M1278047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T07:05:21Z</dc:date>
    </item>
  </channel>
</rss>

