<?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 pernr statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862902#M928476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Binay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wanted to debug and find the cause, try to find the Perform &lt;STRONG&gt;"putpern"&lt;/STRONG&gt; in program &lt;STRONG&gt;"SAPDBPNP"&lt;/STRONG&gt; (Actually you will find 2, but one wil only trigger as it is written for IF-ELSE condition). For your info, inside this Perform, they use another perform &lt;STRONG&gt;"fill_infotype_tables_and_put"&lt;/STRONG&gt; which contains the Statement &lt;STRONG&gt;"PUT PERNR'&lt;/STRONG&gt; which is the corresponding statement trigerring "GET PERNR" in your code....&lt;/P&gt;&lt;P&gt;Also i will suggest you to write down all your selection conditions inside GET PERNR and End-of-selection loop.. something like WRITE: p0000-massn, p0000-burks, p0000-begda, etc... This writes in the screen for your testing, for which data the Get Pernr statement gets triggered, upon which you can analyze whether it matches your program selections/changed pnp fields inside the code..&lt;/P&gt;&lt;P&gt;Also you can put your code here, so that I can exactly figure out what is happening...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2008 21:02:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-12T21:02:45Z</dc:date>
    <item>
      <title>Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862893#M928467</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 just want to know how to debug the &lt;STRONG&gt;get pernr&lt;/STRONG&gt; statement or to know what is happening by this statement in the program.&lt;/P&gt;&lt;P&gt;Thing is that, I have a scenario where, for a particular employee ID the &lt;STRONG&gt;get pernr&lt;/STRONG&gt; statement gets executed with sy-subrc value 0 which idealy should not be. And except this ID rest all IDs have sy-subrc as 4 after the &lt;STRONG&gt;get pernr&lt;/STRONG&gt; statement execution.&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>Mon, 12 May 2008 12:34:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862893#M928467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T12:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862894#M928468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What I understood from the statement is that you want this statement should only get executed when sy-subrc not equal to 0.&lt;/P&gt;&lt;P&gt;So  just write one statement before it &lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;GET prnr&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your work will be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward some points.&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;Anomitro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 12:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862894#M928468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T12:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862895#M928469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If U R using LDB PNP .. then put a break point in program &lt;/P&gt;&lt;P&gt;SAPDBPNP and execute your program ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 12:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862895#M928469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T12:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862896#M928470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PERNR belongs to Logical Database PNP.&lt;/P&gt;&lt;P&gt;So you can use SAPDBPNP program to debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assign points &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 12:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862896#M928470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T12:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862897#M928471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FIRST  UNDERSTAND WHAT IS THE USE OF THE STATEMENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN HR REPORTING WHEN WE WRITE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PERNR (USING LDB PNP AND PROGRAM SAPDBPNP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS STATEMENT WILL RETRIVE ONE EMPLOYEE DATA OR RECORDS FROM DATABASE TABLE (PA0000 TO PA0999)&lt;/P&gt;&lt;P&gt;BY USING THE LDB PROGRAMME AND PASS TTHE DATA INTO &lt;/P&gt;&lt;P&gt;INFOTYPE INTERNAL TABLE WHICH DECLARE IN THE PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIKE INFOTYPE: 0001,0002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHAT THIS STATEMENT DOES IS CREATES AN INFOTYPE INTERNAL TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO U CAN CHECK U R CONDITION AFTER GETTING THE EMPLOYEE RECORD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 12:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862897#M928471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T12:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862898#M928472</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 rectifying my query.&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;Get pernr&lt;/STRONG&gt; statement gets the details for only one employee ID but not for the other ones. Ideally speaking this statement should not fetch any data for any of the employees as per the program's logic. The same variant is used for all employees while execution but still then why does the &lt;STRONG&gt;Get pernr&lt;/STRONG&gt; statement fetches data for only one employee ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to know how to track the get pernr statement results and from where is it getting that which I dont know how to get.&lt;/P&gt;&lt;P&gt;Thanx for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Binay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 12:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862898#M928472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T12:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862899#M928473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check if the pernr's are in table .. HRPY_RGDIR&lt;/P&gt;&lt;P&gt;also check pernrs in infotypes which U declared with &lt;/P&gt;&lt;P&gt;infotypes statement ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 12:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862899#M928473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T12:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862900#M928474</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;the program which gets executed is :'sapdbpnp' and the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your information gets selected in the include 'DBPNPF01' :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    'SELECT DISTINCT pernr FROM pa0001 INTO TABLE index&lt;/P&gt;&lt;P&gt;           WHERE pernr IN pnppernr'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select and copy the above statement ...... search the program&lt;/P&gt;&lt;P&gt;for it and put a breakpoint there. Hope this will solve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 13:03:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862900#M928474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862901#M928475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check one thing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get pernr is like a loop through the pernrs that r selected and it process a single pernr only...like parameter....it will allow the single parameter at a time ..this can be ckecked with the debugging..&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;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 13:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862901#M928475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T13:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862902#M928476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Binay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wanted to debug and find the cause, try to find the Perform &lt;STRONG&gt;"putpern"&lt;/STRONG&gt; in program &lt;STRONG&gt;"SAPDBPNP"&lt;/STRONG&gt; (Actually you will find 2, but one wil only trigger as it is written for IF-ELSE condition). For your info, inside this Perform, they use another perform &lt;STRONG&gt;"fill_infotype_tables_and_put"&lt;/STRONG&gt; which contains the Statement &lt;STRONG&gt;"PUT PERNR'&lt;/STRONG&gt; which is the corresponding statement trigerring "GET PERNR" in your code....&lt;/P&gt;&lt;P&gt;Also i will suggest you to write down all your selection conditions inside GET PERNR and End-of-selection loop.. something like WRITE: p0000-massn, p0000-burks, p0000-begda, etc... This writes in the screen for your testing, for which data the Get Pernr statement gets triggered, upon which you can analyze whether it matches your program selections/changed pnp fields inside the code..&lt;/P&gt;&lt;P&gt;Also you can put your code here, so that I can exactly figure out what is happening...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 21:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862902#M928476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T21:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862903#M928477</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;First of all thanx for your reply.&lt;/P&gt;&lt;P&gt;The variant used in the program execution should consider all the company codes except 0121. But its strange that this company code is too chosen and that too for only one employee. I tried to test with other employees belonging to this company code but they are not chosen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually this program is meant for the job to run Payroll for Semimonthly employees and this employee should not be chosen as the variant is only meant for company codes other than 0121 and this employee belongs to 0121.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just before the Get pernr statement, in the code while debugging, there are some Badis being called. I did not find anything by checking them too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&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>Tue, 13 May 2008 05:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862903#M928477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T05:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862904#M928478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the problem is surely in the data or the selection criteria what u can do is run the program without any variant just put company code 0121 and the employee number which is apperaing and run if this appears then put a check that company code ne 0121 and run if this employee still runs this means that u need to check the employee data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 05:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862904#M928478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T05:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862905#M928479</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 gete the data in both the cases. One thing I noticed that if I change the period, I am not getting any data. The program shows data only in that period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier I was running for the period 08,2008 and I was getting data but now when I ran for period 09,2008 no data is found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even checked the table pa0001 but found no such inconsistencies in data for the employee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really stuck in this matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Binay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 05:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862905#M928479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T05:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862906#M928480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check in the table HRPY_RGDIR for the given period ..&lt;/P&gt;&lt;P&gt;09 2008 ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 13:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862906#M928480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T13:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get pernr statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862907#M928481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Binay,&lt;/P&gt;&lt;P&gt;Can you please write below the Infty0001 records for that pernr (specifically for this period (01/01/2008 - 12/31/2008)....&lt;/P&gt;&lt;P&gt;Infty0000 records would also be helpful (as you can have p0000-stat2 as inactive for this month)....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2008 15:06:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-pernr-statement/m-p/3862907#M928481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-13T15:06:06Z</dc:date>
    </item>
  </channel>
</rss>

