Employee table

Hi SDNers,
I have a doubt like when we create any customer or vendor,those corresponding details will update at CDHDR table.
In the same way, when we create or change the employee details, which table will records those.
and wat all the tcode for creating or changing the employee numbers other than pa40 and pa41.
Thansk,
Venkat

Hi,
In HR the changes are stored in the infotypes so in PA40, PA41 each screen correspond to a Infotype and when you save the changes correcsponding Infotypes are updated.
PA40, PA41 are the only 2 for creating Employee Number.
Basically you need to create the positions details in Organization Structure using PPOME and and then hire a person for the position using PA40 and Pernr number is generated based on the number range you defined for the personnel numbers.
After the User is created you can modify any data using PA30 and to display the user details you can use PA20.
Example Infotypes:
0000 - Actions
0001 - Organizational Assignments
0002 - Personal Data
0006 - Address
0008 - Basic Pay
0105 - Communication Data
0041 - Date Specifications
2001 - Absences
2002 - Attendances
2006 - Absence Quotas
Hope this helps.
Cheers-
Pramod

Similar Messages

  • How to get second maximum salary from employee table(sql query)

    how to get second maximum salary from employee table(sql query)

    dude there is no matter of structure .........that user already said its from employee table ...............its basic table in sql and there is no need to specify the table structure
    .........i think u got my point I think you are the one who didn't understand Sarma's point.
    Give a man a fish and you feed him once. Teach a man how to fish and you feed him a life long.
    >
    and the query is
    select max(sal) from emp where sal<(select max(sal)
    from emp);
    this will give the 2nd max salary from the emp tableBtw: You solution is bad, because it needs to scan and sort the table emp twice. And a better solution has been given already.
    Message was edited by:
    Sven W. - reordered statements

  • PLEASE SEND ME SQL query to list ALL CONSTRAINTS ON EMPLOYEES TABLE FROM OU

    PLEASE SEND ME SQL query to list ALL CONSTRAINTS ON EMPLOYEES TABLE FROM OUTSIDE PP SCHEMA INCLUDING SCHEMA NAME AND CONSTraint NAME
    Username : PP
    Table : Employees

    I think you are looking for below query :
    SQL> SHOW USER;
    USER is "SCOTT"
    SQL> select owner,constraint_name,constraint_type,table_name,r_owner,r_constraint_name
      2    from all_constraints
      3    where constraint_type='R'
      4   and r_constraint_name in (select constraint_name from all_constraints
      5    where constraint_type in ('P','U') and table_name='EMP');
    OWNER                          CONSTRAINT_NAME                C TABLE_NAME                     R_OWNER                        R_CONSTRAINT_NAME
    TEST1                          ERL_EMP_FK_1                   R EMPLOYEE                       SCOTT                          PK_EMP
    1 row selected.Means, TEST1 user is having a constraint ERL_EMP_FK_1 on his table EMPLOYEE. Which is using PK_EMP (primary key of SCOTT user's 'EMP' [in the query])
    Regards
    Girish Sharma

  • Sample employee table

    I have installed oracle database10g on XP, right now I am trying to look for the sample employee table, I could find it. Where can I download sample
    table in my database? Please help.

    Log in first as scott/tiger, then type
    SQL> descr employee
    Name Null? Type
    EMPNO NUMBER(4)
    ENAME VARCHAR2(10)
    JOB VARCHAR2(9)
    MGR NUMBER(4)
    HIREDATE DATE
    SAL NUMBER(7,2)
    COMM NUMBER(7,2)
    DEPTNO NUMBER(2)

  • Employees table in 10g r2

    how can i get the employees table in 10g r2?i am not getting it after loged in as system.what to do?

    more updated error:
    my document do not contain hr_main.sql but hr_code.sql
    its giving a error like:
    SQL> @?/demo/schema/human_resources/hr_code.sql
    Procedure created.
      BEFORE INSERT OR UPDATE OR DELETE ON employees
    ERROR at line 2:
    ORA-00942: table or view does not exist
    ALTER TRIGGER secure_employees DISABLE
    ERROR at line 1:
    ORA-04080: trigger 'SECURE_EMPLOYEES' does not exist
    Warning: Procedure created with compilation errors.
      AFTER UPDATE OF job_id, department_id ON employees
    ERROR at line 2:
    ORA-00942: table or view does not exist
    Commit complete.

  • How to find 'n' th maximum salary in employees table

    how to find 'n' th maximum salary in employees table using stored procedure............

    Depends on your unmentioned database version.
    In general you're asking for a Top-N query.
    See this article:
    http://www.oracle.com/technetwork/issue-archive/2007/07-jan/o17asktom-093877.html
    In 11g you have http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions114.htm#CJAFEJBE
    an analytic function
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions004.htm#SQLRF06174

  • How to display S.no adjacent to employees table help plsss

    In a form in tabular format Emp details are displayed
    Adjacent to the table i want to put a Sno display item showing
    1 for 1st employee
    2 for 2nd employee ......
    I thought i could like create a global variable in a package specification in a program unit and assign it to 1
    Package pack1 is
    v_num number :=1;
    end;
    and then write a PRE_ITEM trigger for a Sno item in the object navigator
    In the trigger
    how to display the value inside v_cnt;
    I tried creating a sequence
    create sequence v_seq;
    but the sequence really wont help me as
    it would keep on incrementing
    so how can i display the value inside the v_cnt in a item
    Is it possible not to use a trigger and still achieve this

    BEDE,
    what will the :system.cursor_record show in a tabular block of 10 rows and what the rownum will sho instead (even if you change the where clause or the ordre by) :
    - the :system.cursor_record will show the number of the fetch.
    1-10 rows : 1
    11-20 rows : 2 etc ...
    - the rownum order by field :
    rownum - field
    1- A
    2- B
    3 - C etc..
    - the rownum order by field desc :
    rownum - field
    1 -C
    2 - B
    3 - A etc..
    - the rownum where clause filed != 'B':
    rownum - field
    1 - A
    2 - C
    3 - D etc..
    So Sqlstar_student, just choose the method regarding your needs.
    Regards
    JeanYves

  • Where is the employees table in hr 10g xe database?

    when i connect to oracle 10g express edition (xe) through an application called crystal reports, i see an hr with tables that include employees, jobs, countries etc.
    however, when i use sqlplus from my c prompt and execute the following query:
    select * from tab;
    the above tables do not show up whatsoever.
    how can i get to hr? where is it hiding?
    thank you.

    Have you executed the script that I gave you?
    You could query in hr schema using crystal reports?
    Check the owner name of the table usinf all_objects.
    SQL> desc all_objects
    Name                                      Null?    Type
    OWNER                                     NOT NULL VARCHAR2(30)
    OBJECT_NAME                               NOT NULL VARCHAR2(30)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                 NOT NULL NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                   NOT NULL DATE
    LAST_DDL_TIME                             NOT NULL DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    SQL> Cheers
    Sarma.

  • Problems with viewing employees table in database

    Can any help me to be able to view all the tables in database: Employees, countries and so on?
    I think it is due inability to login as hr user.
    Thanks,
    Peter

    Peter,
    You will need to give us more information:
    Oracle Version?
    Platform?
    Interface you are trying to log in from? (SQL*Plus or iSQL*Plus?)
    Error messages?
    Steps you took to produce the error?
    The HR user will have been set up with a default password, if it is set up at all. Did you install the database? Did you unlock the HR user?
    This chapter might help you figure out if the HR schema is installed:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96539/installa.htm
    Alison

  • Connecting department code with employee table

    hi all,
    i am using db10g.
    i have
    EMPLOYEE_MASTER
    EMP_CODE
    EMP_NAME
    EMP_DEPT
    primary key EMP_CODE and foreign key EMP_DEPT references DEPARTMENT_MASTER (primary key) DPT_CODE
    DEPARTMENT_MASTER
    DPT_CODE
    DPT_NAME
    DPT_LOCnow my question is first i have to get deparmtne name and corresponding employees.
    dept A
    x
    y
    z
    dept b
    a
    b
    c
    etc..
    somthing like connect by clause which i am not that much aware of?
    i have written the below
    SELECT 1, LEVEL, EMP_NAME, NULL, TO_CHAR(EMP_CODE)
    FROM DEPARTMENT_MASTER,EMPLOYEE_MASTER
    WHERE DPT_CODE = EMP_DEPT
    CONNECT BY PRIOR EMP_DEPT = DPT_CODE
    but i am getting
    ERROR:
    ORA-01436: CONNECT BY loop in user data
    no rows selected Thanks..
    Edited by: GD on Mar 12, 2012 1:20 AM

    Something like this.
    -- sample table
    create table department
      deptno integer primary key,
      dname varchar2(100)
    create table employee
      empno integer primary key,
      deptno integer,
      ename varchar2(100),
      sal  number(10,2),
      doj date,
      constraint employee_fk foreign key(deptno) references department(deptno)
    -- sample data
    insert into department(deptno, dname) values (1, 'IT Development');
    insert into department(deptno, dname) values (2, 'IT Testing');
    insert into employee(empno, ename, deptno, sal, doj) values(1, 'Karthick', 1, 100, sysdate-100);
    insert into employee(empno, ename, deptno, sal, doj) values(2, 'Karthick_1', 1, 90, sysdate-110);
    insert into employee(empno, ename, deptno, sal, doj) values(3, 'Ram', 2, 100, sysdate-100);
    insert into employee(empno, ename, deptno, sal, doj) values(4, 'Ram_1', 2, 90, sysdate-110);
    -- query to get employee name as a string for each department.
    select dname, ltrim(sys_connect_by_path(ename, ','), ',') ename
      from (
              select d.dname, e.ename, row_number() over(partition by d.deptno order by e.empno) rno
                from employee e
                join department d
                  on e.deptno = d.deptno
    where connect_by_isleaf = 1      
    start with rno = 1
    connect by dname = prior dname
       and rno = prior rno + 1
    /

  • Hr schema employee table

    - jdeve11.1.1.5.0 - adfbc.
    i drag and drop the employeevo into panel formlayout. by using create insert data are inserting but not commiting.
    reason i found out. i cant manually insert data into the table in my hr. following error throw aways
    i get the hr schema tab;e from this area.
    i cant insert any datas in to empolyee table.
    The following error has occurred:
    ORA-25128: No insert/update/delete on table with constraint (HR.EMP_EMAIL_NN) disabled and validated.
    i give all the datas into my db i disbale this constraint also. but i cant insert anything.
    i did not where am?

    Subu,
    apparently this is not the right place to ask. It's more related to SQL or PL/SQL.
    Anyway, your hr schema has defined (don't ask me how as this is not normal) a constraint which is in disabled state and thus preventing insert of any record.
    You can either enable the constraint or drop it (if you don't nee it)
    --Enable constraint
    alter table employees modify constraint HR.EMP_EMAIL_NN enable validate;Timo

  • Problems generating Manager's info from Employee table

    Gurus,
    I have a requirement in which I need to generate a report of manager's information. I did a similar report for employee information, but having problem's replicating for manager's page due to the fact that every manager is a employee
    In my manager dashboard page, I am passing manager ID via prompt and it has provide his Role and count of employees working under him
    Sample Table
    Emp_ID     EMP_NAME      EMP_ROLE     MANAGER_ID MANAGER_NAME
    1     AAA          ACCOUNTANT     4          FFF
    2     BBB          PROGRAMMER     4          FFF
    3     CCC          TL          4          FFF
    4     FFF          MANAGER          6          YYY
    5     GGG          MANAGER          6          YYY
    6     YYY          SR.MANAGER     9          ZZZ
    9     ZZZ          PRESIDENT
    If I pass manager_ID as 4 from the dropdown prompt, then my report has to show EMP_ROLE as MANAGER and number of emps working under him as 3 (AAA,BBB and CCC)
    version : OBIEE 10g

    1>Create an aliases of sample table as Manager_table
    2>join with sample table as
    Manager_table.emp_id = Sample_Table.manager_id
    3>create report as
    Manager_table.emp_id , Manager_table.EMP_ROLE , count(SAMPLE_TABLE.EMP_ID)
    The results you will get will be
    4 Manager 3
    6 SRManager 2
    9 President 1
    make Manager_table.emp_id is prompted and use the same in Prompts.
    Let me know if it was helpful
    Thanks
    Edited by: Maqsood Hussain on Nov 16, 2012 3:00 AM

  • Employees Table to check

    Hello  Friends,
    How to check  the total number of employees   belong to a  specific sales organization.
    I tried another way how ever i would like to know a particular table where i can select the sales organization and employees.
    Thanks & Regards,
    Satish Mathala
    Edited by: satish mathala on May 4, 2008 1:57 PM

    hi
    CRMM_BUT_LNK0010, CRMM_BUT_LNK0020 , CRMM_BUT_LNK0030.
    these tables wil give you BP related to the sales org,you employee is also BP
    so you can get the info from these tables
    besides CRMM_BUT_FRG0080 should be seen too
    the master table for sales org data is CRMD_ORGMAN
    hope it will help you definitely
    best regards
    ashish

  • To find 2nd highest salary in employee table

    Hi,
    I want to know how to calculate the 2nd highest salaried employee details.
    rownum "=" sign cannot be used i suppose and
    with and without using orderby clause.
    both the methods needed.
    cheers,

    With order by
    select * from
       ( select q.*, rownum as rn from
          ( select * from emp order by sal desc ) q
    where rn=2
    /With analytics:
    select empno , sal
    from ( select empno , sal
                  , dense_rank () over (order by sal desc) as sal_rank
           from emp )
    where sal_rank = 2Notice that DENSE_RANK() might give us a different result compared to RANK() and both give us a different result from the first example.
    Cheers, APC

  • How to find the third highest salary by distinct the salary from deptno20,from employee table

    how to find the third highest salary by distinct the salary from deptno20,by using employee table

    You already asked this question, a half hour earlier:
    https://forums.oracle.com/thread/2569985
    and received a reply.
    Do not multi-post to the forums.
    These are user-to-user forums and everyone is posting because they volunteer to post and not because they get paid to post.    Everyone else is paid exactly the same as you are paid to post here.   When you multi-post is makes you appear as impatient and expecting instantaneous answers.
    That is poor forum etiquette, approaching behavior similar to spamming the forums.
    This duplicate post is locked.

Maybe you are looking for

  • Vendor creation problem

    Hi, I am getting one Error Message, When I create a Vendor(90001) in Xk01. The Error Message is  .. Enter a Number Between A and ZZZZZ. but some other vendor has created with number(80001) only Please Revert Back. Thanks & Regards,   Dhanush.S.T

  • Can no longer connect to home Wi Fi

    My wife and I both have i phones. There was a time when we frist got our phones we could connect automatically to our Netgear router. Enjoyed face time etc. Recently we discovered that our phones see the Wi Fi but wont connect. Our home laptops have

  • 1Z0-045: Oracle Database 10g: New Features for Oracle 8i OCPs

    Hi, I was looking for right reference book for the 1z0-045 upgrade certification. I could not find any reference book that is related to this certification. Only one book have found out on Amazon site, which is "OCP Oracle Database 10g: New Features

  • Global ATP does not honor supply from some orgs

    Global ATP does not honor supply from some orgs ATP based on planning data. Planning completes OK and shows enough supply (in planning workbench). ATP plan based on Bill of Distribution defined like this: Source for ORG1 is ORG2 -> Source for ORG2 is

  • How I can get rid of an infinitely replicated playlist?

    In both iTunes and on my iPhone 4, I have the same playlist showing up what appears to be thousands of times.  I cannot delete it.  Has anyone seen this before or possibly know the cause?  I use iTunes match, if that could be a symptom.