<?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: Question about PNPCE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-pnpce/m-p/10986957#M1895576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rebeca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This filters on selection screen of logical database will get employees that all conditions is true at least in one day in selected period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you employee worked one half year in WERKS 0001 and another half year in WERKS 0002 this employee will be selected and all internal tables selected by LDB will contain entries from all selected period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously the logical database PNP had two BEGDA and ENDDA fields, one to selected infotypes data and another to filter employees, but it wasn't good and caused confusion on user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve this issue will depend of what do you need to do, in most of cases you need to use the 0001 infotype period to select all another infotypes, check also the RP_SET_DATA_INTERVAL macro to choose a period for each infotype that you declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that I've helped you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 17:10:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-05-05T17:10:29Z</dc:date>
    <item>
      <title>Question about PNPCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-pnpce/m-p/10986956#M1895575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a doubt about how the PNPCE works. I've created a report with an HR Report Category. The HR report category shows the field PNPWERKS in the first page together with PNPBEGDA and PNPENDDA. While I execute the report, the values of PNPWERKS is set to 0001 and the PNPBEGDA 01.01.2014 and PNPENDDA 30.04.2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I check what is being read in the infotype 0001 after GET PERAS instruction I can see that there are some records that don't belongs to the Werks 0001 selected in the selection screen...&lt;/P&gt;&lt;P&gt;Can anybody explain me why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I've done to avoid these extra-rows is the following instruction: &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;delete &lt;/SPAN&gt;p0001 &lt;SPAN class="L0S52"&gt;where &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;not &lt;/SPAN&gt;werks &lt;SPAN class="L0S52"&gt;in &lt;/SPAN&gt;pnpwerks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this correct? Why the PNPCE is not filtering with the PNPWERKS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much in advance for any suggestion.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 12:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-pnpce/m-p/10986956#M1895575</guid>
      <dc:creator>former_member384574</dc:creator>
      <dc:date>2015-05-04T12:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Question about PNPCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-pnpce/m-p/10986957#M1895576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rebeca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This filters on selection screen of logical database will get employees that all conditions is true at least in one day in selected period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you employee worked one half year in WERKS 0001 and another half year in WERKS 0002 this employee will be selected and all internal tables selected by LDB will contain entries from all selected period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously the logical database PNP had two BEGDA and ENDDA fields, one to selected infotypes data and another to filter employees, but it wasn't good and caused confusion on user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve this issue will depend of what do you need to do, in most of cases you need to use the 0001 infotype period to select all another infotypes, check also the RP_SET_DATA_INTERVAL macro to choose a period for each infotype that you declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that I've helped you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 17:10:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-pnpce/m-p/10986957#M1895576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-05-05T17:10:29Z</dc:date>
    </item>
  </channel>
</rss>

