Any Standard Class to Fetch the PayRoll Result

Hi Experts,
There is any standard class or method to fetch the details in the Pay Result(RT CRT Tables) from PC_payresult T-code in HR PayRoll module.
Thanks,
P.s.Raj

Check classes CL_HR_PAY_RESULT*
Personally I never used it. Classical FM approach for getting payroll results is a confident and reliable way of extracting clusters, you may use these
CU_READ_RGDIR
PYXX_READ_PAYROLL_RESULT
CD_READ_DATE_RANGE_ACTUAL_NV
CD_EVALUATION_PERIODS
CD_READ_PREVIOUS
CD_READ_PREVIOUS_ORIGINAL
CD_RETROCALC_PERIOD
CD_PAYROLL_UNTIL
CD_HIGHEST_PAYDT
H99_DISPLAY_PAYRESULT
Regards
Marcin

Similar Messages

  • How to delete the payroll result by batch? have any program to do this?

    Hi,
    how to delete the payroll result by batch? have any program to do this?

    With standard payroll deletion (PU01), SAP  will not allow payroll results to be deleted if it already reaches certain steps of payroll process (e.g. Pre-DME, DME); instead, you would have to do payroll a void or payroll reversal. This utility doens't check for that, and only delete payroll results based on the criteria given. This therefore could cause inconsistency in production if your payroll process already surpasses certain steps.
    Rgds.

  • Standard program to fetch the article number from the EAN

    Hi all,
    Is there any standard report, that retrieves the article number from the EAN provided. I don't require a function module which satisfies this requirement.
    Kindly provide your valuable inputs.
    Thanks & Regards,
    Revathi.

    Here is code that can fetch any site.
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    public class fetchresult extends Frame implements ActionListener{
         TextField t1;
         TextArea ta;
         Button b1;
         public fetchresult(){
              super("Fetch Result");
              t1=new TextField("http://www.sitename.com",20);
              b1=new Button("Get");
              ta=new TextArea("",20,80);
              setLayout(new FlowLayout());
              add(t1);
              add(b1);
              b1.addActionListener(this);
              add(ta);
              setSize(200,200);
              setVisible(true);
         public void actionPerformed(ActionEvent e)
              try
              String s = t1.getText();
              URL u = new URL(s);
              URLConnection uc = u.openConnection();
              InputStream is = uc.getInputStream();
              BufferedReader rd = new BufferedReader(new InputStreamReader(is));
              String str;
              while((str = rd.readLine()) !=null){
                   ta.append(str);
                   ta.append("\n");
              rd.close();
              int available = is.available();
              int z;char c;
              for(int x=0;x<available;x++){
                   z=is.read();
                   c=(char)z;
                   ta.append(String.valueOf(c));
              catch(Exception ee){ta.append(ee.toString());}
         public static void main(String args[]){
              fetchresult obj = new fetchresult();
    Manu

  • Error while posting the payroll results to accounts

    Dear all,
    Im facing a issue while posting the payroll results to the accounts in T.code PC00_M99_CIPE,
    The error log says...
    Inconsistence in payroll results (tables V0/RT)
    Diagnosis:
    An inconsistency results has been found during the evaluation of the payroll results. No referenced entry has been found in table V0.
    Can anybody suggest me wat i hav to do...
    Thanks & regards
    Gopinath.Balakrishnan

    Hi
    Check whether the user is having the authorisation for the t.code PC_PAYRESULT or PC00_M40-PAYRESULT.
    Because some times HR user will run the payroll and FI user will do the postings. If FI user is doing the postings, in general he will not have the authorisation for HR T.codes, then system will give such kind of errors.
    If not check the paryoll results and control record.
    Thanks & Regards
    Bharathi

  • Is there any standard BAPI to update the standard transaction GS03 ?

    Is there any standard BAPI to update the standard transaction GS03 ?
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jun 16, 2011 2:02 PM

    hi,
    I think this link will help you to find that.
    list of all bapis:
    http://www.planetsap.com/LIST_ALL_BAPIs.htm

  • Delete the Payroll Result

    Hi,
    When i want to delete the Payroll Through PU01 transaction, it is showing below given message -
    Deletion forbidden! Result was posted with posting run 0000004008 (run type PP)
    Message no. 3G801
    Diagnosis
    The payroll result cannot be deleted because it has already been posted with posting run 0000004008 for run type PP.
    How can i delete the same
    Regards..

    Goto PCP0 -> Edit -> Filter -> Delete Filter.
    After this you will be able to see run 0000003973.
    Thanks dear..
    After find this number..i reverse this.
    After that i run the payroll again and see in form 16. Some changes are there like Notice pay not showing there. Basic salary has been modified. etc..
    My Main problem was: - Notice Pay is not deducting it's amount from Gross Emoluments.
    But after that Notice pay row is not appearing.. and also some modifications have been made in other values..

  • Dear All, thanks in advance i have one doubt please clarify this  what it is can we delete the payroll result in production client .yes we can delete the payroll result by PU01 Tcode .But my question is

    what are the scenarios we delete the payroll results ,can we suggest the client to delete the payroll result.

    Hi,
    I would not recommend that you delete the payroll results. What is your issue? Can you provide more background, there may be other options...
    Will

  • Difference in the FM reading the payroll results

    Dear Freinds,
               I would like to know what is the difference  between retro and offcylce payments how can we find out in the pc_payresult the retro data?, i am able to find out for the offcle when in the pc_payresult if we have offcyle payment date we can find the offcyle results . Which scenarios we have to read the retro and offcyle ?
    Because when iam reading the pc_payresult , i have done as below
    thorugh the function module cu_rgdir i have fetched the data which having strtza eq A into the internal table  i_rgdir  then passing the seqnr in to the FM and   'PYXX_READ_PAYROLL_RESULT'  ..... then i found iam not able  get the O and P  data  because iam reading only A.
    now my first question is  when we should be reading the O and P data in which situations
    secondly i wanted to know does offcyle and retro has any relationship with O and P ......or we can get the offcycle and retro data with  SRTZA eq A  only ?
    third question for offcyle and retro case do we have any specific function modules to retrive or we can use the same FM and   'PYXX_READ_PAYROLL_RESULT'  .
    Please if any one can explain me it would be great help.
    thanks & regards
    divya

    hi,
    first of all kindly use different heading for different queries ....i just replied one with same heading.
    now the answers:
    in pc _pay result there are fields inper and forper ie in period and for period .inper stands for period in which payroll was run and fper stands for period for which payroll was run....
    suppose you got promoted in september and company wants to give you salery with effect from march ..then they do retro active payroll run...for this the forper is less than inper.
    second case: suppose you make your lta claims....they dont come with the salery but it comes seperately every month say on 23rd....then in this case off cycle payroll is run.
    now strtza is of 3 type a , p and o...a for current record ,p for previous record and o for old record.
    for a particular person suppose the payrol area was monthly ...ie he gets salery each month...now his payoll was run on 25th of month so its strtza will be a ie active....now on 26 his retro payroll is run....then this record will have strtza as a and for record on 25th will change to p.
    again the retro payoll is run on 28th then strtz for 28-a for 26p and for 25--o ie old
    so if you want to check if the record is retro you have to see that forper is less than inper.
    you can use same fm.
    hope i am clear
    Edited by: pratyush v on Feb 4, 2009 3:59 PM

  • Standard reports for fetching the Material Characteristics

    Hi,
    Do we have any standard reports in SAP for fetching the Material Characteristics.
    Regards,
    Siv

    Dear,
    Check the related links... may be helpful:
    To fetch characteristic value (ATWRT) from material number
    Material characteristics datasource
    Characteristics Table ?
    Characteristics Table ?
    Regards,
    Syed Hussain.

  • Extractor class to fetch the data from PA0105

    Hi All,
    Can anyone suggest me the extractor class used to fetch the data from the table PA0105.
    Any information regarding this will be highly helpful.

    If you give PA0105 all data will be extracted.
    Or if you need any specific data you need to know the filed names first.  check the table from SE16 for identifying the field names. and do it accordingly.
    Please reward points
    Regards
    Venu

  • Any Standard Program to upload the financial data

    Hi Team,
                 Any standard program which will upload the financial data(trail balance) into sap fi.
    The scenario is  that there are few company codes which is not in sap and we need to upload their financial data in sap like trail balance, I need to upload this company code data in sap fi, please suggest some standard program which uploads this data.
    Thanks in advance
    Kind Regards
    sridhar

    Hi,
    Standard programs are there, but those dont fit to your requirement.
    e.g. Based on the account type(D, K, S) there are different different fields should be filled up.
    If it is Vendor invoice, you have to capture Inv.no., text, leacy subledger number if required.
    All these fields are not required for GL data upload.
    Better create 3 LSMW'S for GL, Vedor & Customers.
    Rgds
    Murali. N

  • How to clear UNB table in the payroll result?

    Hi,
    We are getting the payroll error- The gross wages do not cover the negative offset that has been forwarded. Therefore, no gross up is permitted while running the Grossup.
    I see the below table "UNB table" in the last payroll result. "UNB - Unbalance table used for tax retrocalculation" .
    I think we are getting the above error because of this UNB table, can anyone help me to how to clear this table?
    When we run the regular payroll, no tax is being deducted.
    Please help
    Saurabh

    Hi Arti,
    Thanks for your reply!!..
    Seeing your reply, it gives me bit confidence to crack the existing problem, however, I'm still not clear with your answer... let me explain you the problem-
    1. Employee was given 350,000 though Taxable Bonus WT with regular pay check
    2. Later it came to know- out of the above amount, 75000 was Grossup amount
    3. So in next payroll run, they entered -75000/- in regular Taxable bonus WT and +75000 in Grossup WT and also they deleted one IT210 record of GA tax authority which was wrongly created; and ran the payroll
    4. Since then, in next payroll period- No tax is being deducted, so we are creating IT221 infotypes with Tax wagetype
    5. If we are running the Grossup wage, payroll error- The gross wages do not cover the negative offset that has been forwarded; therefore, no grossup is permitted.
    While running the regular payroll, overpayment Wagetype is being generated.
    Now, I saw this UNB table is created and the below wagetype are there in the UNB table-
    WT /5UT amount 0.00
    WT 5430 amount -75000
    WT 0200 amount 12500 ( Monthly salary)
    WT 4530 amount 350000
    Now I am thinking, if we are deducting tax through IT221,if we clear this UNB table, our problem might get resolved
    It will be a great help for me if you can tell-
    1. how to check, claims process is implemented or not?
    2. I have good HCM experiece but this claims process is very new to me- pls guide me how to do that
    Waiting for your reply, thanks in advance
    Saurabh Garg

  • To_date function not fetching the desired result.....

    Hi Gurus,
    I get varied results from the below 2 queries, I am pessimistic about using to_char instead prefer using to_date, but query doesn't seem to fetch the complete data while using the to_date but with to_char it works. Please can someone make this to_date used query below work for me.
    Main table structure:
    Column Name     ID     Pk     Null?     Data Type     Default     Histogram     Encryption Alg     Salt
    MINISTRY_CODE     1          Y     VARCHAR2 (15 Byte)          Yes          
    BILL_MONTH     2          Y     DATE          Yes          
    CUBIC     3          Y     NUMBER          Yes          
    GALLONS     4          Y     NUMBER          Yes          
    AMOUNTS     5          Y     NUMBER          Yes          
    MTR_TYPE     6          Y     CHAR (1 Byte)          Yes          1st query:
    SELECT ministry_code,
    DECODE(mtr_type, 'C','Billed Cubic',
    'G','Billed Gallons',
    'A','Billed OMR',
    'R','Collected',
    'U','Total Unpaid Bills') mtr_type,
    SUM(CASE
    WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '012011' AND mtr_type = 'C' THEN cubic
    WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '012011' AND mtr_type = 'G' THEN (gallons)
    WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '012011' AND mtr_type = 'A' THEN amounts
    WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '022011' AND mtr_type = 'R' THEN amounts
    WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') <= '022011' AND mtr_type = 'U' THEN amounts ELSE 0 END) January
    FROM tmp_paew_month_gafu1 WHERE ministry_code IN
    (SELECT DISTINCT ministry_code FROM tmp_paew_month_gafu GROUP BY ministry_code)
    GROUP BY ministry_code,mtr_type
    ORDER BY 1,3 DESCSAMPLE OUTPUT:
    MINISTRY_CODE MTR_TYPE JANUARY
    001 Billed Gallons 5326252
    001 Billed Cubic 24210.2363636364
    001 Total Unpaid Bills 16402.5
    001 Billed OMR 13287.36
    001 Collected 10410.508
    002 Total Unpaid Bills 12089.99
    002 Billed Cubic 0
    002 Billed OMR 0
    002 Billed Gallons 0
    002 Collected 0
    003 Total Unpaid Bills 27418.711
    2nd query:
    SELECT ministry_code,
    DECODE(mtr_type, 'C','Billed Cubic',
    'G','Billed Gallons',
    'A','Billed OMR',
    'R','Collected',
    'U','Total Unpaid Bills') mtr_type,
    SUM(CASE
    WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month) = to_date('012011','MMYYYY') AND mtr_type = 'C' THEN cubic
    WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) = to_date('012011','MMYYYY') AND mtr_type = 'G' THEN (gallons)
    WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) = to_date('012011','MMYYYY') AND mtr_type = 'A' THEN amounts
    WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) = to_date('022011','MMYYYY') AND mtr_type = 'R' THEN amounts
    WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) <= to_date('022011','MMYYYY') AND mtr_type = 'U' THEN amounts ELSE 0 END) January
    FROM tmp_paew_month_gafu1 WHERE ministry_code IN
    (SELECT DISTINCT ministry_code FROM tmp_paew_month_gafu GROUP BY ministry_code)
    GROUP BY ministry_code,mtr_type
    ORDER BY 1,3 DESCSample OUTPUT:
    MINISTRY_CODE MTR_TYPE JANUARY
    001 Total Unpaid Bills 106062.002
    001 Billed OMR 0
    001 Billed Cubic 0
    001 Billed Gallons 0
    001 Collected 0
    002 Total Unpaid Bills 42023.243
    002 Collected 0
    002 Billed Gallons 0
    002 Billed Cubic 0
    002 Billed OMR 0
    003 Total Unpaid Bills 133260.435

    What is the sense of to_date(bill_month) in the second query?
    bill_month is already a date. to_date function will expect a character parameter and convert it in a date value.
    So what will happen? First the bill_month will be implicitely converted to a character value.
    Second this character value will be converted back to a date. You gave no format string. So both conversions will be made will your setting of nls_date_format.
    I can only guess what you really want. Perhaps you want to trunc the bill_month with trunc(bill_month,'MM').
    Please give us
    - table create script
    - insert statements for test data
    - required output for these test data
    - description of your requirements
    Edited by: hm on 22.11.2012 23:16

  • How to fetch the payroll posting run number in a custom report

    Hi Experts,
    We have  a requirement on getting the  payroll posting run from  PCP0.
    We are extracting the report for offcycle payments.
    Could you please share your ideas in fetching the run number of the offcycle posting run.
    Thanks in advance.
    Sairam.

    Thanks Mohan.
    I have tried with PPOIX.But alot of line items are showing up for the same Infotype(Offcycle) with different Run numbers.
    What is the criteria for knowing the posted values Run number from the list of line items from PPOIX.
    Please share your ideas.
    Regards,
    Sairam.

  • Outbound interface for transfering the payroll results

    Hi everyone,
                      Can any one provide me with the Outbound interface program for transfering payroll data, to the third party submission.

    Hi  kiran.
    Try PU12.
    Manoj Shakya.
    Technical-Fuctional Consultant
    SAP-HR
    ******(Useful answers should be rewarded)

Maybe you are looking for

  • Error Message::: The volume for "CIMG0010.JPG" cannot be found.

    When I import to iphoto, I get this message: The volume for "CIMG0010.JPG" cannot be found. Insert the disk or connect to the server volume and wait for it to appear on the desktop, then try again. I have to press Cancel each time to resume importing

  • Getting file name in ESB process

    Hi all, I have a simple requirement of transferring files from FTP location to SOA Server location i.e Reading it and writing it to the specified SOA directory. To acheive this, we are using Oracle ESB. (SOA Suite 10.1.3.4). This is working perfectly

  • Sql server does not exist or access is denied.

    Hi, i am trying to connect a dadabase to the server from client pc. and i take the sql error  [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied to the client pc. i using .udl file and ia trying to connect with sql auth

  • Date() function data type?

    What is the data type of the Date() function return value? I tried real, integer, unsigned integer, it does not match. The function reference in TestStand Help does not describe what is the return value data type. Please help. Thanks

  • LMS 3.1: Can't start LMS Daemon on Window 2003

    Hi, Since customer has reboot, LMS daemons don't start. We have this message : C:\Documents and Settings\Administrator>net start crmdmgtd The service is not responding to the control function. More help is available by typing NET HELPMSG 2186. I made