Reading simulation payroll

Hello,
How we can read simulation payroll is their any function module is available
Regards
Santhosh

Hi,
In Simulation payrol the result can be seen only from the log. Please note that in simulation run no cluster / RT record is generated.
the path to see the simulated RT result run the simulated payroll with Display Log & follow the path as under:
Expand Personnel No.>Else>Final Processing>Sort RT>click in Output to dipaly Results.
Regards,
Devojit

Similar Messages

  • Function Module to read simulation payroll results in HCM

    Hi experts
    Is there any function module where I can pass parameter to run payroll simulation and get RT cluster data or the final amount, before running the actual payroll.

    Hi Nick,
    Thankyou very much for the response.
    The Function Module /SAPDMC/LSM_F4_SERVER_FILE is interactive wherein we can select only one file.
    But my requirement is I need to collect (probably in an internal table) all the files exixting in the given UNIX directory.
    Can you please find in that direction. I would be very grateful.
    Thanks.
    Sunil

  • Function Module to read RT values of simulation payroll results

    Hi experts
    Is there any function module where I can pass parameter to run payroll simulation and get RT cluster data or the final amount, before running the actual payroll.
    Thanks ,
    Saikumar

    Hi,
      Check the following function modules.
    AISC_CALC_EXPIRED_USEFUL_LIFE.
    Check the following link it might be of some help to you.
    Re: asset useful life
    Regards,
    Ram.

  • 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

  • Reading latest payroll run results from CRT table

    Please find below my code to retrieve the cluster table crt.
    Could you please let me know which HR report category I need to assign while giving the attributes in executable program. I am novice in this area, I didnu2019t even know whether we need to give the hr report category or not.
    I am not able to see the selection screen with pernr input though I gave the pnp logical database in the attributes of my executable program.
    tables: PERNR.
    data: payresult TYPE table of pay99_result,
          wa_payresult type pay99_result.
    data: it_rgdir like table of PC261,v_seqnr type pc261-seqnr,wa_rgdir
    type pc261,
          v_clusterid like pcl2-relid value 'RX',v_betrg type pc208-betrg.
       data begin of crt occurs 0.
          include structure pc208.
        data end of crt.
    get pernr.
    if pnp-sw-found = 1.
    CALL FUNCTION 'CU_READ_RGDIR_NEW'
      EXPORTING
        PERSNR                      = pernr-pernr
      CHECK_READ_AUTHORITY        = 'X'
      IMP_CLIENT                  =
    IMPORTING
      MOLGA                       =
      TABLES
        IN_RGDIR                    = it_rgdir
    EXCEPTIONS
      NO_RECORD_FOUND             = 1
      IMPORT_MISMATCH_ERROR       = 2
      NO_READ_AUTHORITY           = 3
      OTHERS                      = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    sort it_rgdir DESCENDING.
    read table it_rgdir into wa_rgdir index 1.
    v_seqnr = wa_rgdir-seqnr.
    CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
      EXPORTING
       CLUSTERID                          = v_clusterid
        EMPLOYEENUMBER                     = pernr-pernr
        SEQUENCENUMBER                     = v_seqnr
      CHANGING
        PAYROLL_RESULT                     = payresult.
    IF SY-SUBRC <> 0.
    ENDIF.
    loop at payresult into wa_payresult.
      loop at crt.
         if crt-lgart = '\405' and crt-CUMTY ='Y'.
           V_BETRG = CRT-BETRG.
           write:/' payroll result amt',v_betrg.
           EXIT.
          ENDIF.
       ENDLOOP.
    ENDLOOP.
    endif.

    Hi Maqsood.
    In attributes section section.
    first tick on the Master data(infotypes) and leave it blank....... and save it.......
    secondly go in to your code.
    comment all your code except.
    tables: pernr.
    now check if the selection screen is coming with pernr or not...
    Thanks
    Saurabh

  • Reading simulated encoder with 6602

    Hello!
    I'm trying to read quadrature encoder (to be more specific this is an output of the pulse train generator that simulates the encoder).
    In the attached picture you can see how the signal that i'm trying to read.
    I need an advise about the correct filter settings.
    Please also see the attached vi.
    Usefull data:
    Labview 8.2.1
    Capturing device PXI-6602.
    The Encoder is 16384 pulses. (If the reading is x4, i should get 2^16 - 65536 ticks).
    The Encoder has differential outputs, but i've connected only A,B and Z.
    The rotating speed is up to 5000 rpm. You can see in on the picture. (16384*(5000/60)=1,365,333MHz).
    There is no problem to read the encoder with another devices, i have a motion analyzer from Control&Robotics solution and it works great.
    Thank you.
    Elman Izia.
    001.jpg (78 kb)
    Position capture.vi (171 kb)

    Hi Elman,
    The filter clock is used to make sure that your signal has
    integrity and eliminates glitches.  In
    order for signal to be counted, it must remain high for two consecutive periods
    of your filter clock.  There are five
    time bases (5us, 1us, 500ns, 100ns and programmed) that can be used as your
    filter clock.  The programmed clock can
    be created by another counter and this setting will let a signal be counted if
    it is at least twice times the filter period.
    This is a great method to help eliminate errors that can be
    introduced by noise, crosstalk or transmission line effects.
    The TimebaseSrc property is going to select a clock to be
    used as the source.  In your example that
    property is correct, you would want to use the 80MHz clock.  The TimebaseRate property is going to be used
    to divide the clock down to specific frequency. 
    It will divide the master clock down by an integer value and round it to
    get a rate that is as close to the value entered.  I would recommend leaving this number as
    80MHz. 
    The MinPulseWidth property is going to determine the clock
    of the filter clock.  This property is
    going to use the TimebaseRate property to create the predefined filter clock
    settings.  If your signal stays high for
    two consecutive periods of the minimum pulse width, then it will be counted. 
    You need to determine the minimum pulse width that is
    acceptable for your application.  Since
    your signal has a pulse width of about 360ns, you might want to use the
    predefined filter clock of 100ns.
    In short, you are creating a digital filter that will only allow
    a signal to be recognized if it remains high for two consecutive pulses.
    For further explanation, refer to the PCI/PXI–6602 User
    Manual page 3-20.
    http://www.ni.com/pdf/manuals/322137a.pdf
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • Help required in creating function module which reads payroll clusters.

    Hi ,
    We have a requirement where in we need to create a function module for reading a sequence of tables from payroll clusters. This function module does two functions:
    1.Read the payroll results from one system.
    2.write the payroll results to other system.
    please do the needful as soon as possible.
    Thanks in advance.
    Regards,
    Durga.

    hi
    Refer to the below thread
    Programming with Clusters for HR-Payroll
    Regards
    Sameer

  • Short dump while reading Payroll results

    we have a Z program to read the payroll results for a quarter(3 months)for a large number of employees.
    As the internal allocated memory is 2G. This is exceeding that limit resulting in a short dump.
    There are no big internal tables in the program except reading some 8 infotypes using rp-provide and get pernr one at a time.
    But, in the FM CU_READ_RGDIR the pcl2 cluster records are being stored in an internal table IMPORT_DATA[] and not refreshed, which I think is the cause for the large memory usage. Any suggestions or directions are welcome.
    Any suggestions
    Thanks,
    Kumar

    Santosh,
    Thanks for your inputs,
    But my internal table type is of DEC (5,2) , I am getting that... it needs to be of type 'C'. Can you suggest.
    Ex :
    MOVE wa_temp-infile_string+106(8)  TO wa_item-QT_PERCENT
    This didnt work
    so i tried moving into a seperate variable
    MOVE wa_temp-infile_string+106(8)  TO v_percent.
    and then write to
    WRITE v_percent to  wa_item-QT_PERCENT.

  • Read Payroll Result table.

    Hi,
    Could you please explain to me the procedure or the different steps needed to read the payroll result table for a particular country?To be more specific for my present req. the country is Canada.I'm new to the payroll module and hence do not know how the payroll procedure is executed.
    A code example will be greatly appreciated.
    Any help will be of good to me.
    Thanks,
    Sandeep.
    Edited by: Sandeep Ram on Mar 24, 2008 1:41 PM

    include rpc2cd09.           "Cluster CD Data-Definition
    include rpc2ca00.           "Cluster CA Data-Definition
    include RPC2RKK0.       "Cluster RK Data-Definition
    include rpc2rx09.           "Cluster internat. part
    include rpppxd00.           "Data befinition buffer PCL1/PCL2
    include rpppxd10.           "Common part buffer PCL1/PCL2
    include rpppxm00.          "Buffer handling routine
    data : it_rgdir like pc261 occurs 0 with header line.
    data : it_rt like PC207 occurs 0 with header line.
    First get the payroll results using the FM : CU_READ_RGDIR
      CALL FUNCTION 'CU_READ_RGDIR'
          EXPORTING
            persnr   = p_pernr  <-- pass pernr here ...
          TABLES
            in_rgdir = it_rgdir.
        IF sy-subrc = 0.
          SORT it_rgdir BY seqnr.
        ENDIF.
        LOOP AT it_rgdir WHERE srtza = 'A'
                        AND   void IS INITIAL
                        AND   reversal IS INITIAL
                        AND   fpper = v_fpper.   <-- Pass the period for
             which U want to get the payroll results
              v_seqnr = it_rgdir-seqnr. 
        ENDLOOP.
        rx-key-pernr = p_pernr.
        rx-key-seqno = v_seqnr.
        rp-imp-c2-rk.   <-- relid for canada is 'RK'
    it_rt[] = rt[]. ---> results table ...
    Now loop at rt .. and get the amounts for wage types ...
    just an example ...
    loop at it_rt.
      if it_rt-lgart = '/101'.
         v_betrg = it_rt-betrg.
      endif.
    endloop.

  • Calculation of Unpaid Leave in UK Payroll.

    One Employee was on Unpaid Leave of absence for 8 hours in Feb 2006.His weekly work schedule is 37 hours.His hourly rate is GBP 7.26.His deduction was sent for updation for Apr 06 Payroll.An amount of  GBP 45.05 has been deducted from his April Payroll.This amount doesn't add upto 7.26 * 8 .Also there are no futher deductions in May 2006 Simulated Payroll.
    Pls explain how this deduction was calculated?What are the other Parameters that need to be checked in this case.

    Hi furqan baig!
    If you want to calculate the remaining of leave days in IT2006, you can create PCR by using the standard operation as below:
    HRS=FR10 -> you will get the remaining Subtype 10 in IT2006.
    Please see more detail by reading document about Time operation HRS in pdsy.
    F           Operation HRS1F_CE
                 is retrieved from the absence quota infotype (2006)
      x           Information from absence quotas
         E        Total claim of all personnel assignments
                  currently being processed
         C        Total use up to the key date of all personnel
                  assignments currently being processed
         M        Total of the compensation up to the key date of all
                  personnel assignments currently being processed
         F        Total use with compensation up to the key date for all
                  personnel assignments currently being processed
         R        Total of the remaining quota to the key date of all
                  personnel assignments currently being processed
         A        Total of settled quota status of all personnel
    Hope you can deploy it soon!
    Regard!
    Woody.

  • Reading RT results in ABAP

    I need to read RT results in the payroll simulation run. I understand that in the simulation run RT table doesn't get updated, but still all the calculations and processing is done. I need to read these values in my ABAP program. Any suggestions on how to read these values in the simulation run?

    Thanks Narendra /Vani,
    PYXX_READ_PAYROLL_RESULT helped me in resolving my problem. Now I am reading the payroll simulation results using this function and storing it in a custom table for reporting purposes. I am flushing the table once the report is generated. Sample code for others reference:
    *&  Include           ZINCLUDE
    FORM ZFUZDRT.
    data: result type pay99_result.
    data: my_rt like pc207 occurs 0 WITH HEADER LINE.
    data: amount TYPE i.
    DATA: ZZRTDUMP TYPE ZZRTDUMP OCCURS 0 WITH HEADER LINE.
    DATA: ZZRTDUMP1 TYPE ZZRTDUMP.
       call function 'PYXX_READ_PAYROLL_RESULT'
             exporting
                 clusterid                    = 'RX'
                 employeenumber               = PERNR-PERNR
                 sequencenumber               = '00003'
                  READ_ONLY_BUFFER             = 'X'
                 READ_ONLY_INTERNATIONAL      = 'X'
          IMPORTING
               VERSION_NUMBER_PAYVN         =
                VERSION_NUMBER_PCL2           =
             changing
                 payroll_result               = result
               EXCEPTIONS
               OTHERS = 1.
               IF SY-SUBRC <> 0.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
               ENDIF.
    my_rt[] = result-inter-rt[].
    LOOP AT my_rt."where lgart = wagetype(selection-screen input).
    ZZRTDUMP1-PERNR = PERNR-pernr.
    ZZRTDUMP1-LGART = my_rt-LGART.
    ZZRTDUMP1-BETRG = my_rt-BETRG.
    ZZRTDUMP1-AMT_CURR = my_rt-AMT_CURR.
    ZZRTDUMP1-ANZHL = my_rt-ANZHL.
    ZZRTDUMP1-BETPE = my_rt-BETPE.
    INSERT INTO ZZRTDUMP VALUES ZZRTDUMP1.
    ENDLOOP.

  • Doubts - PCP/PCPS - Personnel Cost Planning and Simulation

    Hi gurus,
    How are you? I hope you are very well.
    Currently I'm working in PCP and Simulation implementation project. Actually, in our case, the client is using the old component PCP and would like to implementing the new one.
    Basically, we have the following scenario here: They have two tables for store some premisses (T511K and P) and, before the scheduled period for PCP execution, they run a simulated Payroll in order to generate calculated values for the future, it means, the values from payroll are calculated for the next year and the payroll rules uses these mentioned tables to change the values in specific months of the next year. Confused? I agree, but it can become worst...
    After this execution, the calculated data are stored in logical DB PCL5 and can be used by PCP process. According the payroll responsable told me, each wage type will be associated automaticlly(How???) in a cost item and these meintioned cost items are used during the PCP running. In this current version of PCP, they do not use values associated to Organizational Elements, but they would like to use this from now on although they do not use infotypes 1005 or 1015.
    So, I have a lot of doubts related to two specific points:
    - Wage Types x Cost Itens: Could I keep all the current cost itens without associate each of these to a simbolic account? Is this association mandatory or can I create cost itens just collecting data from PCL5, for example? Does exists any standard collector for PCL5? If I need to create new simbolic accounts specifics for PCP, how can I do this in order to the real payroll do not be affected by these changes?
    - Organizational Elements: Wich infotypes are mandatory? Are there any kind of collector that uses an occupied position as a template for a vacant position, I mean, can I use a hold position to find calculated values for a Person that is associated to this position and populate a similar vacant position? If is it posible, does exists something standard for providing this solution?
    I would appreciate if you could help me. I have been reading many materials from SAP, but unfortunally these practical questions was not answered for me yet.
    Best regards,
    Alexandre Ferreira
    SAP HR Consultant

    DONE

  • Reading RT while Processing DT in RULE

    Hi,
    I have a rule that processes DT.
    Inside that rule i want to read a wage type amount that is present in RT.
    How can i Achieve that?
    thanks in advance.

    Thanks Narendra /Vani,
    PYXX_READ_PAYROLL_RESULT helped me in resolving my problem. Now I am reading the payroll simulation results using this function and storing it in a custom table for reporting purposes. I am flushing the table once the report is generated. Sample code for others reference:
    *&  Include           ZINCLUDE
    FORM ZFUZDRT.
    data: result type pay99_result.
    data: my_rt like pc207 occurs 0 WITH HEADER LINE.
    data: amount TYPE i.
    DATA: ZZRTDUMP TYPE ZZRTDUMP OCCURS 0 WITH HEADER LINE.
    DATA: ZZRTDUMP1 TYPE ZZRTDUMP.
       call function 'PYXX_READ_PAYROLL_RESULT'
             exporting
                 clusterid                    = 'RX'
                 employeenumber               = PERNR-PERNR
                 sequencenumber               = '00003'
                  READ_ONLY_BUFFER             = 'X'
                 READ_ONLY_INTERNATIONAL      = 'X'
          IMPORTING
               VERSION_NUMBER_PAYVN         =
                VERSION_NUMBER_PCL2           =
             changing
                 payroll_result               = result
               EXCEPTIONS
               OTHERS = 1.
               IF SY-SUBRC <> 0.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
               ENDIF.
    my_rt[] = result-inter-rt[].
    LOOP AT my_rt."where lgart = wagetype(selection-screen input).
    ZZRTDUMP1-PERNR = PERNR-pernr.
    ZZRTDUMP1-LGART = my_rt-LGART.
    ZZRTDUMP1-BETRG = my_rt-BETRG.
    ZZRTDUMP1-AMT_CURR = my_rt-AMT_CURR.
    ZZRTDUMP1-ANZHL = my_rt-ANZHL.
    ZZRTDUMP1-BETPE = my_rt-BETPE.
    INSERT INTO ZZRTDUMP VALUES ZZRTDUMP1.
    ENDLOOP.

  • Mid year Go-Live (India Payroll)

    Hi,
    My client's business is now in ECC 5.0,
    Now we are going live on 01.01.2010 in ECC 6.0, this is not upgradation project, its a fress implementation so please tell me what all are precautions i need to take before going live on 01.01.2010. as this is a mid year Go-Live.
    And is there any problem for legal forms like Form 16, form 24 Q, pension and PF, because first 9 months results are in ECC 5.0 and next 3 months means 01.01.2010. 01.02.2010 and 01.03.2010 will be in ECC 6.0.
    Help me
    Thanks
    Chaithanya Reddy

    Hi
    Using the Mid Year Go Live functionality, you can upload the final payroll results from your legacy data
    systems into the SAP system. The final payroll results are the actual payments and deductions of an
    employee salary. They must include statutory, non-statutory deductions (including third party deductions),
    arrears and the contributions of the employer.
    Data transfer INLK Payroll Tables T558B and T558C Upload program (HINUULK0), which reads the
    payroll results information from the spreadsheet template, and uploads it into the Payroll Account
    Transfer: Payroll Periods table (T558B) and Payroll Account Transfer: Old Wage Types table (T558C).
    The system reads these tables for the purpose of payroll conversion.
    Transfer of payroll account from Table 5558B,C - India schema (INLK), which when run as a part of
    the payroll program, HINCALCO,
    For transferring your legacy data and uploading the same into the SAP system, you are provided with the:
    HR Template - Payroll.xls (Microsoft Excel) file, containing templates that drive the data load
    programs, for converting the legacy data.
    Data load program(HINUULK0 ) that facilitates the transfer of data into the SAP system. It loads the
    data saved in the spreadsheet into the Payroll Account Transfer: Payroll Periods table (T558B) and
    Payroll Account Transfer: Old Wage Types table (T558C) in the SAP system. These are the data
    conversion tables for the Mid Year Go Live functionality.
    Standard executable schema (INLK) that formats the uploaded legacy data, into SAP Payroll Period results and stores the result in relevant payroll cluster tables
    You need to consider all the relevant Primary and secondary wage types for respective accurate tax calculation while uploading in the table  for the individual period
    All wage components that has been paid to the employees
    like Basic , HRA, conveyance need to upload with respective wage type code which you define
    You have to take all deductions that has deducted to the employee
    Transport, Canteen etc
    You have to use the system generated wage types to update the tax and statutory data
    ex - Income tax - /460
           PF - /3f1
    You have to take the exemption wage type for HRA , Conveyance
    /3R1 etc....
    Hope you got some idea
    Regards
    Rajeshk

  • Error in Net Pay - Payroll

    Dear Friends,
    I have configured payroll-india and run the standard payslip, where the net pay is not correct.
    i.e 
    Total earnings - Rs.42000          Total Deductions - Rs.10399.33       Net Pay - Rs.33,600.67
    There is a excess of Rs.2000.  
    I have checked all the Wage Types in IT 14 & 15 , as well as RT table in PE 51 , everything seems to be ok. What else could be wrong.
    Points will be rewarded.
    Rgds,
    Sekar.

    Sekar
    I would begin troubleshooting it by using wage types.
    Case 1: Pay Employee only Basic and run simulation payroll. Do you still the difference?
    Case 2: Pay Employee only Basic and HRA, and then run simulation payroll. Do you still the difference?
    Case 3: Pay Employee only Basic, HRA and LTA, and then run simulation payroll. Do you still the difference?
    and so on....
    I know its a bit lengthy process, however, I believe you will be able to identify the exact source of problem accurately.
    Thanks
    Yash

Maybe you are looking for

  • Recording/​Playback on DVD Player

    I've already programmed my Verizon remote control to my DVD/VCR player.  Which remote control do I use to record and playback.   I'm recording from DVD to VCR (VHS Tape).  Also, do I have to change TV input for DVD player?  TV is currently Video 1. 

  • How to add a new drive to my server

    I have an HP ProLiant ML350 G6, in the front HDD rack i have some unused slots and i would like to fill them up with some new drives. How do i do that? I don't have a "cage" where to put a standard 3.5" drive, so i wonder if i need to buy the whole c

  • When running a query of a 0IC_C03 cube copy inventory shows as blank

    When loading the 0IC_C03 cube copy ZMM_C01 Cube: Material Stocks/Movements, if there is no movements for that day in a plant the inventory values do not show when we run a query on that key date When we create a movement type and run the extraction t

  • Cisco ISE 1.1.1 - Single SSID

    I'm working on our ISE implementation and these are my two goals. 1.  Single SSID for BYOD users and corporate managed systems. Login to the NAC agent if not part of the domain (EX: windows laptop not part of the domain joins the SSID, goes through t

  • Photo subpages disappearing from album page in iWeb 2009

    One of the pages of my website is an album page. Theoretically, an album page should allow multiple photo subpages. Initially my album had two photo subpages. Now, however, I want to add additional subpages. The problem I'm encountering is that these