Get employee data

Hello,
Iam facing a problem with the func module RHXSS_SER_GET_EMPLOYEE_DATA  which takes longer time to load and is slow while executing any related transaction.
Please share your inputs if anyone worked on this function module.
Thanks,
Vinod

Hello Vinod
An alternative approach is described in:
[Unified Access to All HR Infotypes |https://wiki.sdn.sap.com/wiki/display/Snippets/UnifiedAccesstoAllHR+Infotypes]
Gruss
  Uwe

Similar Messages

  • Getting employee data year wise in different coulmns

    My employee table consists of employee data and hiredate.I want the output to be in the following way
    total numer of employees,employees hired in 1995,1996,1997,1998 in different columns.
    can anyone help me in doing this
    Thanks
    Kiranmayee

    user10486303 wrote:
    My employee table consists of employee data and hiredate.I want the output to be in the following way
    total numer of employees,employees hired in 1995,1996,1997,1998 in different columns.Like this?
    SQL> select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    14 rows selected.
    SQL> ed
    Wrote file afiedt.buf
      1  with emp1 as (select rownum rn, emp.empno
      2                from   emp
      3                where  to_number(to_char(emp.hiredate,'YYYY')) = 1980)
      4      ,emp2 as (select rownum rn, emp.empno
      5                from   emp
      6                where  to_number(to_char(emp.hiredate,'YYYY')) = 1981)
      7      ,emp3 as (select rownum rn, emp.empno
      8                from   emp
      9                where  to_number(to_char(emp.hiredate,'YYYY')) = 1982)
    10      ,emp4 as (select rownum rn, emp.empno
    11                from   emp
    12                where  to_number(to_char(emp.hiredate,'YYYY')) = 1987)
    13  --
    14  select emp1.empno as "1980", emp2.empno as "1981", emp3.empno as "1982", emp4.empno as "1987"
    15  from emp1 full outer join emp2 on (emp1.rn = emp2.rn)
    16            full outer join emp3 on (COALESCE(emp1.rn, emp2.rn) = emp3.rn)
    17*           full outer join emp4 on (COALESCE(emp1.rn, emp2.rn, emp3.rn) = emp4.rn)
    SQL> /
          1980       1981       1982       1987
          7369       7499       7934       7788
                     7521                  7876
                     7698
                     7844
                     7566
                     7902
                     7782
                     7839
                     7654
                     7900
    10 rows selected.
    SQL>

  • In mdx how to get max date for all employees is it posible shall we use group by in mdx

    in mdx how to get max date for all employees is it posible shall we use group by in mdx
    example
    empno  ename date
    1         hari        12-01-1982
    1         hari        13-06-2000
    by using above data i want to get max data

    Hi Hari3109,
    According to your description, you want to get the max date for the employees, right?
    In your scenario, do you want to get the max date for all the employees or for each employee? In MDX, we have the Max function to achieve your requirement. You can refer to Naveen's link or the link below to see the details.
    http://www.sqldbpros.com/2013/08/get-the-max-date-from-a-cube-using-mdx/
    If this is not what you want, please provide us more information about the structure of you cube, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How adobe form gets prepopulated with employee data?

    hai guys,
      i need to develop adobe forms in webdynpro abap to be deployed in portal.
    the user access the forms from ess screen after he logs on into portal.
    when the user clicks on the form,how to prepopulate the form with the employees data of the user(like pernr,reporting manager,etc etc)

    Hai Robert,
      I have spent time trying to figure the process.
    i ahve created a webdynpro application with a interactive adobe form in it.
    the problem is the submit button in the form doesnt trigger the code in on action method in the webdynpro.
    i am on ecc 6.0
    net weaver 7.0
    life cylce designer 7.0
    i ahve checkd other threads,
    activex is ticked in webdynpro,
    i have created the button from webdynpro library(i dotn have 2 separate native and activex libraries at all)
    any sugestions.

  • Get infotype data in e-mail/sapscript - Dynamic action-

    Hello,
    we developed a dynamic action sending a mail if an employee leave the company.
    We can catch data in infotype 0000 and 0001 in the sapscript used in the mail, but we would like also fetch data from other infotypes.
    We tried to generate an ABAP code from an ad hoc query, but it was impossible to get the return tables in the sapscript.
    Are there other solutions to get infotype data in saps scripts?
    Kr,

    Hi ,
    you can follow the below solution .
    1. Create a custom report for the leaving/terminated employees by using the action in infotype 0000 with field massn, massg.
    2. you will get all the employees from table pa0000 who are laving between a date interval .
    3. by using the personnel numbers from pa0000 get other infotypes information.
    4. create a smartform/script for your requirement.
    5. using the program you can send the data to the employees.
    another way .
    if you know the name of the script you can create some variables for the other fields from other infotypes in that script and you can populate the variable values using perform in program command using a custom program in that script.

  • BAPI name to access employee data from systems like CSS, ISP GTP etc

    Hi All,
    Could you please suggest which BAPIs we need to use to access employee data from systems like CSS, ISP GTP etc
    Regards,
    Poonam
    Moderator message: Welcome to SCN!
    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 May 20, 2011 2:09 PM

    Hi All,
    Could you please suggest which BAPIs we need to use to access employee data from systems like CSS, ISP GTP etc
    Regards,
    Poonam
    Moderator message: Welcome to SCN!
    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 May 20, 2011 2:09 PM

  • ABAP HR - get pension data

    Hi Experts,
        How can we get pension data of an employee from clusters or payroll results.
    Thank you.
    Regards,
    Admir.
    Points will be rewarded.

    Hi Admir,
    Please check infotype <b>PA0071</b>.
    Regards
    Aneesh.

  • Real time synchronisation of sap hr employee data with LDAP

    Hi friends,
    I wanted to synchronize sap hr employee data with ldap. I have written a abap program for the same which is using ldap connector interface for creation/modification/deletion of employees. I am planning to put this as a scheduled job.
    But I want to do it  in real time i.e. when the employee is getting created/modified/deleted in sap hr, my program should receive all the values and do the changes in ldap at the same time.
    What all options do i have to do this?
    I am new to sap hr.
    Regards,
    Nilz

    Hi Nilesh
    U can take help of Standard Events in SAP.
    Go to Tcode SWELS.Then Activate Event trace.
    Go and do creation/modification/deletion for employees and Check which allevents are getting triggered in Tcode SWEL.
    This might give U an Initial idea how to go about this.
    ~BiSu

  • How to set Authorisation to view and maintain employee data.

    Hi,
         I have a requirement to restrict the user to view and maintain all employee data except some manager position for some company codes. How can I do this .
    Cheers
    Senthil

    Hi,
    (This is what we had done....)
    Check the composite role : SAP_EMPLOYEE_ERP
    Create a Z role for SAP_EMPLOYEE_ERP;
    Will prompt you to copy the corresponding roles in it to z roles.
    The z-composite role is then assigned to the user.
    While creating an ESS user, to to restrict access to personnel master data, changes in the authorization P_ORGIN needs to be done.
    In our case, check the z-role created ; zSAP_ESSUSER_ERP.
    In Authorizations tab=>Display authorization data option => ;
    Expand Human Resources;
    In HR : Master data, you can find the various authorization assignments to P_ORIGIN;
    Authorization level (AUTHC)
    Infotype (INFTY)          
    Personnel Area (PERSA)
    Employee Group   (PERSG)
    Employee Subgroup  (PERSK)
    Subtype (SUBTY)
    Organizational Key (VDSK1)
    Authorization level (AUTHC) takes the values :
    • R (Read)          : for Read access
    • M (Matchcode) : for Read access to Input helps (F4)
    • W (Write)         : for Write access
    • S (Symmetric)  : for Write access using the Symmetric Double Verification Principle
    • *                      : always includes all other authorization levels simultaneously
    • E and D (Enqueue and Dequeue) :
    for Write access using the Asymmetrical Double Verification Principle. E allows the user to create and change locked data records and D allows the user to change lock indicators.
    In your case probably you need to consider for :
    Employee Group   (PERSG) / Employee Subgroup  (PERSK)
    the Authorization level set to R for the defined infotypes.
    This is again, Basis work....
    Please Check the links to get more clue :
    http://www.*********************/hr_security/hr_security.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/70/b7b83b5b831f3be10000000a114084/frameset.htm
    Hope this helps you!!
    Cheers and Good Luck!!
    Remi

  • IDOCs to send Employee Data

    Hi All,
    In my current project, I have lots of interfaces to send employee data to third party. Now the interface team has decided to use IDOCs to transfer employee data. Employee data is of the order of 20,000 and many interface will be scheduled to run daily. So here are my questions:
    1. Earlier decided approach was to use file interface. Is IDOC better in this case?
    2. Over and above this, they want to generate 1 IDOC per employee data (if the interface has to run every business day, then ~5 Million IDOCs per year and this is just for one interface). Do you think this is the right approach?
    Appreciate you responce.
    Cheers,
    Bhaskar

    Hi Bhaskar,
    My humble thoughts on the questions you have asked,
    1. Earlier decided approach was to use file interface. Is IDOC better in this case?
    Well, the first questions is does this third party application have an SAP connector to transact IDOCs or do you have a middleware in between? Now, if you dont have a middleware/third party application doesn't support IDOC Communication, then you will have to look at file interface(or other possible means)
    Anyways assuming that an IDOC communication is indeed possible between the two systems with/without a middleware in between, the advantages of IDOC over file interface is many
    1) IDOCs use transactional RFC (which is asynchronous in nature , but i guess you know this already), which assures QOS  EO - Exactly Once.
    2) IDOCs provides superior monitoring, audit and reconciliation capabilities, which you would have to code for yourself in File interface.
    3) IDOCs - More structured and organized programming, hence easy to maintain over time.
    4) Standard IDOCs are available which can deployed immediately by doing some configurations, and any custom requirement can be coded in using customer enhancements.
    2. Over and above this, they want to generate 1 IDOC per employee data (if the interface has to run every business day, then ~5 Million IDOCs per year and this is just for one interface). Do you think this is the right approach?
    You can definitely use IDOC archiving, and also i guess in real time scenario, you would want to send the delta changes w.r.t the data of an employee and not send the complete master data on a daily basis.
    All said, if this is a one time run/an interface which might be scrapped in near future, with no need of advanced monitoring and audit capabilities you might still want to go with File interface, i am sure you will get more informative replies from experts on this forum, so keep watching the thread
    Regards,
    Chen

  • Runtime error in MSS - Team- General Information- Related links- Employee Dates

    Hello All,
    We recently upgrade from 7.01 to 7.31, we also updated the respective XSS components also to compatible levels. All applicatoins are coming up well except the Employee dates and Desciplinary actions based on related links under MSS ->Team->General Information.
    Below is the error -
    java.lang.ClassNotFoundException: com.sap.pcuigp.xssfpm.wd.interfaces.wdp.IExternalIVAC ------------------------- Loader Info ------------------------- ClassLoader name: [sap.com/mss~hras] Loader hash code: 5ed59f53 Living status: alive Direct parent loaders: [system:Frame] [interface:webservices] [interface:cross] [interface:security] [interface:transactionext] [library:webservices_lib] [library:opensql] [library:jms] [library:ejb20] [service:p4] [service:ejb] [service:servlet_jsp] [library:tc~bl~exception~lib] [library:tc~aii~base~offline~facade] [library:tc~cmi] [library:tc~ddic~runtime~facade] [library:tc~bl~logging~api] [sap.com/tc~wd~api] Resources: /Q1ETP001/usr/sap/QP4/J44/j2ee/cluster/apps/sap.com/mss~hras/servlet_jsp/webdynpro/resources/sap.com/mss~hras/root/WEB-INF/lib/sap.com~mss~hras.jar ---------------------------------------------------------------
    Please note our ECC is on EHP4, so we cannot proceed as mentioned in http://scn.sap.com/thread/3415508
    Thanks,
    Vamshi

    Same here: ClassNotFoundException in getting connection>>java.lang.ClassNotFoundException: com.sap.portals.jdbc.db2.DB2Driver Found…
    cheers

  • HR_ECM_GET_HIRE_DATE gets wrong date IT0041

    Hi,
    I'm trying to get Hire date of an employee with two records with date type '01' in different dates. But when I try to call FM with selection end date inside period of the first record it's returning the last date.
    Anyone can help me how does it works exactly?
    Which customizing is necessary?
    Thanks

    you can use this function module; 
    RP_GET_HIRE_DATE
    exporting
    CHECK_INFOTYPES = '0041'

  • I need to know how do i get a date on the printed paper it always did but then i had my pc upgraded

    Please can you tell me how does one get a date printed will printing a document

    Please read this post then provide some details.  What printer model? What operating system? What program are you printing from?
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Migrating Employee data from Legacy system - CRM

    Hallo all,
    I need to map the employee data of the legacy system to an Idoc(For migrating data with XI). I functionally mapped the fields in the legacy system to the fields in CRM BP master data(Most of them). I have selected the BP complex Idoc(CRM_XIF_PARTNER_SAVE) and mapped most of the fields(name, address, Phone Numbers, Position etc ).
    the following fields are yet to be mapped
    Employee No
    User Name
    Contact Role
    Executive role
    Corporate tile
    Affiliate subsidary
    Is there any other standard Idoc in CRM to map the employee details (or) am I supposed to enhance the complex Idoc.
    Please let me know ur suggestions
    regards,
    MAX
    [moved by moderator]

    Well i guess,u can get the TRM by ordering, the number is 1-800-252-0303.
    If you have the online documentation CD for Oracle Apps, there are interface tables GL,AP and i guess there are interface tables for other modules also. These tables are described in the documentation and it also describes which fields are required, which are optionally required etc and many other details. So u can get more details in this documentation, about the interface tables for migration of legacy data.
    Hope that helps.
    -nitin

  • Getting current date without using client's clock

    Is there a way to get the current date without using client's clock?
    The java application we developed has many windows on which the Current Date is an important display field. As it's used 24x7, we need to make sure the date is current.
    Right now, we make a CORBA service call to get the date from the server everytime the user Resets any of these windows. This is causing a peformance issue due to the slow service call.
    Is it possible to get the Date once from the server and then start a timer to derive the date thereafter. Will a change in the client's clock affect this logic ? Can we implement this without using client's system time.
    Or is there another better way ?
    Thanks for your help.

    If I can summarize your current requirements:
    1. You need to know the time.
    2. You don't trust the client's clock so you want to get the time from another computer.
    3. You want this access to be "not too slow".
    I find requirement number 2 to be peculiar, I've never seen an application that doesn't accept the time on the client system as valid. However, there it is. Maybe it's a system for checking employees in and out, and the smarter ones have been faking out the system by changing the clock. If your CORBA connection is too slow, and NTP is too slow (it takes the little program I got from USNO about 3 seconds to synchronize my clock), why not write your own time server? A simple web server that returns only the time to any request would work. If that's not fast enough then I'd suggest you're out of luck.

Maybe you are looking for

  • Error message "not connected to internet" when trying to sign in to BB id with Mac laptop

    I have a Mac laptop and was forced to remove the original BB Link OS when the Z10 launched.  I replaced the OS with the current one but now it doesn't allow me to use my Mac's computer name eg.  John Smith's Mac book. I can only use a single name.  I

  • Need step-by-step instructions to add a barcode

    Hi folks, I am a complete newbie when it comes to adding a barcode to a form, so I need simple step-by-step instructions on how to do it. I am not familiar with scripting, and am hoping to do most things through the toobars & object detail menus, etc

  • A simple problem of applet.......

    import java.awt.*; import java.applet.*; /*<applet code="First" width=100 height=100> </applet>*/ public class First extends Applet { /*public void init() public void paint(Graphics g) setBackground(Color.black); setForeground(Color.green); g.drawStr

  • How to install older version of itunes

    I recently added the new iTunes 8 but really don't like it and want to go back to an older version. Is there any way for me to do this without losing all the music in my library? For example, if I uninstall the new version and reinstall an older vers

  • Modification Events in Table maintenance Generatot

    Hi I hace coded some code which is checking entries in 2 fields while saving in event 1. If the entries are not there it diplays error msg. Problem is that it diplays error msg but it leaves the screen. I want it to contains that values which ere add