<?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: When fetching ppoix table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453604#M13945</link>
    <description>&lt;P&gt;My actual requirement is get all data from HR payroll postings (pernr, gl's,credit,debit amount)&lt;/P&gt;&lt;P&gt;Which table could fetch the best results to display exact results.&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2017 14:07:29 GMT</pubDate>
    <dc:creator>former_member2358</dc:creator>
    <dc:date>2017-05-22T14:07:29Z</dc:date>
    <item>
      <title>When fetching ppoix table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453601#M13942</link>
      <description>&lt;P&gt;Please need expert suggestions : Best way to write a program to fetch all wage types(lgart) and all amounts(betrg) PCP0 based on pernr and summarize the amount based on PERNR.&lt;/P&gt;&lt;P&gt;Our Program is fetching data from&lt;/P&gt;&lt;P&gt;PPDIT , PPOIX &lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;
 SINGLE&lt;BR /&gt;
 runid FROM ppdhd INTO gv_runid&lt;BR /&gt;
 WHERE docnum = p_doc&lt;BR /&gt;
 AND budat = p_dodate.&lt;BR /&gt;
&lt;BR /&gt;
 IF gv_runid IS NOT INITIAL.&lt;BR /&gt;
&lt;BR /&gt;
 SELECT pa0105~usrid&lt;BR /&gt;
 ppoix~lgart&lt;BR /&gt;
* t512t~lgtxt&lt;BR /&gt;
 SUM( betrg ) AS betrg&lt;BR /&gt;
 INTO TABLE gt_ppoix&lt;BR /&gt;
 FROM ppoix&lt;BR /&gt;
 INNER JOIN pa0105 ON ( ppoix~pernr = pa0105~pernr )&lt;BR /&gt;
 WHERE runid = gv_runid&lt;BR /&gt;
 AND PPOIX~TSLIN ne 0&lt;BR /&gt;
 AND pa0105~usrty = 'PAYB'&lt;BR /&gt;
 AND pa0105~endda = '99991231'&lt;BR /&gt;
 AND actsign = 'A'&lt;BR /&gt;
 GROUP BY pa0105~usrid ppoix~lgart.&lt;BR /&gt;
&lt;BR /&gt;
 IF gt_ppoix IS NOT INITIAL.&lt;BR /&gt;
&lt;BR /&gt;
 SELECT pa0105~usrid&lt;BR /&gt;
 COUNT( DISTINCT ppoix~pernr ) AS pcount&lt;BR /&gt;
 INTO TABLE gt_bilno FROM ppoix&lt;BR /&gt;
 INNER JOIN pa0105 ON ( ppoix~pernr = pa0105~pernr )&lt;BR /&gt;
 WHERE runid = gv_runid&lt;BR /&gt;
 AND pa0105~usrty = 'PAYB'&lt;BR /&gt;
 AND pa0105~endda = '99991231'&lt;BR /&gt;
 AND actsign = 'A'&lt;BR /&gt;
 GROUP BY pa0105~usrid.&lt;BR /&gt;
&lt;BR /&gt;
 IF gt_bilno IS NOT INITIAL.&lt;BR /&gt;
&lt;BR /&gt;
 "Wage Type Texts&lt;BR /&gt;
 SELECT sprsl&lt;BR /&gt;
 lgart&lt;BR /&gt;
 lgtxt FROM t512t INTO TABLE gt_t512t&lt;BR /&gt;
 FOR ALL ENTRIES IN gt_ppoix&lt;BR /&gt;
 WHERE sprsl = 'EN'&lt;BR /&gt;
 AND molga = '40'&lt;BR /&gt;
 AND lgart = gt_ppoix-lgart.&lt;BR /&gt;
&lt;BR /&gt;
 ENDIF.&lt;BR /&gt;
 ENDIF.&lt;BR /&gt;
 ENDIF.&lt;BR /&gt;
 ENDIF.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 13:20:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453601#M13942</guid>
      <dc:creator>former_member2358</dc:creator>
      <dc:date>2017-05-22T13:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: When fetching ppoix table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453602#M13943</link>
      <description>&lt;P&gt;I know it is tricky ...&lt;/P&gt;&lt;P&gt;Why do you use infotype 0105? I would collect all pernr's using log. database PNPCE.&lt;/P&gt;&lt;P&gt;If you have access to Accenture's Clone&amp;amp;Test tool (report /BKC/SOL21_KLON) look how they select PPOIX per PERNR.&lt;/P&gt;&lt;P&gt;the tables involved are:&lt;/P&gt;&lt;P&gt;PEVAT, PEVST, PEVSH, PPDHD, PPDIT, PPDIX, PPOIX, PPOPX, PCALAC, PPDSH, PPDST and PPDMSG&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 13:41:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453602#M13943</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2017-05-22T13:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: When fetching ppoix table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453603#M13944</link>
      <description>&lt;P&gt;Thanks for your quick reply mate, will check the results and get back to you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sagar &lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 13:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453603#M13944</guid>
      <dc:creator>former_member2358</dc:creator>
      <dc:date>2017-05-22T13:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: When fetching ppoix table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453604#M13945</link>
      <description>&lt;P&gt;My actual requirement is get all data from HR payroll postings (pernr, gl's,credit,debit amount)&lt;/P&gt;&lt;P&gt;Which table could fetch the best results to display exact results.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 14:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453604#M13945</guid>
      <dc:creator>former_member2358</dc:creator>
      <dc:date>2017-05-22T14:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: When fetching ppoix table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453605#M13946</link>
      <description>&lt;P&gt;Hi Volker, hope you are doing good, &lt;/P&gt;&lt;P&gt;Actually infotype 0105 is for salary bill number, I am linking with pernr of pa0105 and pernr of ppoix and based on bill I am collecting all the employee for that specific bill and adding their sum based of their wages, here I am getting all the wages and amount but in some bills are fine and in some bills the amount(betrg) is having issue because of retro calculation. I could find the values in pcp0 in credit and debit amount field(ppdit-wrbtr) but the same values are not getting displayed in ppoix so that is where I am lagging to retrieve those values, can you please suggest me whether to pass the pernr to CD_READ_RGDIR and call funcntion module PYXX_READ_PAYROLL_RESULT to get the accurate amount, appreciate your valuable comments.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 09:24:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453605#M13946</guid>
      <dc:creator>former_member2358</dc:creator>
      <dc:date>2017-05-23T09:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: When fetching ppoix table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453606#M13947</link>
      <description>&lt;P&gt;maybe you can find some hints in report RPCIP_DOCUMENT_ANALYSE.&lt;/P&gt;&lt;P&gt;Reading payroll results is not that easy. You will have to loop at RGDIR (structure PC261) and consider at least fields INPER, FPPER and SRTZA.&lt;/P&gt;&lt;P&gt;You can run RPCLSTRX to get an impression how RGDIR looks like.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 11:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-fetching-ppoix-table/m-p/453606#M13947</guid>
      <dc:creator>former_member226519</dc:creator>
      <dc:date>2017-05-23T11:31:22Z</dc:date>
    </item>
  </channel>
</rss>

