<?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: GET PAYROLL Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-payroll-error/m-p/6026845#M1348637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has payroll been executed for this employee for the period entered on selection screen..Only reason I can think of is that payroll has not been executed for specified selection criteria.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2009 05:51:37 GMT</pubDate>
    <dc:creator>former_member188827</dc:creator>
    <dc:date>2009-08-24T05:51:37Z</dc:date>
    <item>
      <title>GET PAYROLL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-payroll-error/m-p/6026844#M1348636</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 have a question regarding GET PAYROLL. I have a program that works and gathers data using the HR logical database (PNP), GET PERNR and GET PAYROLL codes in DEV. However, when it was transported to QAS for testing, it only goes as far as GET PERNR then goes to GET PAYROLL but doesn't do the checking. I have placed debug points in all the lines so that each step can be accounted for but the program in QAS does not pass GET PAYROLL. I have checked the profiles for the usernames I used in both DEV and QAS and they both have the same items in them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A snippet of the code I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE itrgdir INTO watrgdir WITH KEY pernr = pernr-pernr.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      REJECT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET payroll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF p_offpr = 'X'.&lt;/P&gt;&lt;P&gt;    CHECK payroll-evp-ipend = p_offpd.&lt;/P&gt;&lt;P&gt;    CHECK payroll-evp-srtza = 'A'.&lt;/P&gt;&lt;P&gt;    CHECK payroll-evp-payty = 'A'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CHECK payroll-evp-srtza = 'A'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to ask for the possible reasons why this would happen. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 05:47:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-payroll-error/m-p/6026844#M1348636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T05:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: GET PAYROLL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-payroll-error/m-p/6026845#M1348637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has payroll been executed for this employee for the period entered on selection screen..Only reason I can think of is that payroll has not been executed for specified selection criteria.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 05:51:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-payroll-error/m-p/6026845#M1348637</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2009-08-24T05:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: GET PAYROLL Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-payroll-error/m-p/6026846#M1348638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check selection screen attribute, should be 900. Did you use GET pernr LATE? Maybe there is unsufficient test data in your Q system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this little thing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report  zpayrollevent.

tables: pernr, pyorgscreen, pytimescreen.
nodes: payroll type pay99_result.
data: g_result_counter type i.

start-of-selection.

get pernr.
write: / 'Currently working on:', pernr-pernr.
get pernr late.
write: / 'Found', g_result_counter,
'results for #', pernr-pernr.
uline.
get payroll.
g_result_counter = g_result_counter + 1.
write: / 'Seq No. = ', payroll-evp-seqnr,
'In period =', payroll-inter-versc-inper,
'For period =', payroll-inter-versc-fpper,
'Pay date =', payroll-inter-versc-paydt.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this will not show any payroll results, there are no payroll results available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 07:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-payroll-error/m-p/6026846#M1348638</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-08-24T07:02:05Z</dc:date>
    </item>
  </channel>
</rss>

