Salary Management
hi
When the HR user enters the proposed salary for an employee. It is not going to the Employee supervisor for the approval.
Also i like to know is it possible to setup the salary approval hierarchy.
Please advice
Thanks
Regards
Ramesh Kumar S
Hi
It sounds as if you are using the new salary admin form which replaces the old salary admin form in the PUI (Professional User Interface).
AME is used in HR workflow, and therefore is relevant only to SSHR transactions (in the HR product). I don't know of a way you can link AME to a PUI form because there is no workflow involved.
You will need to find another way of involving the manager for approval. I have soemtimes had one user enter the salary on a salary admin form without the salary admin:approve profile. Then I had an alert which fired when the salary admin record is inserted and sent a message to the manager. The man ager could then go back into the salary admin form with the salary admin:approve profile on and approve it.
Regards
Tim
Similar Messages
-
Exporting xmltype table data into xml/txt file
I want to export data stored in oracle as xmltype table into xml format file.
I want to use alternatives to the method shown below as my xml file is large.
set long 10000000
spool c:\\StudentXMLJan08.xml
SELECT
XMLElement("Student",
XMLForest(s.studentid "studentid",
s.firstname "firstname",
s.lastname "surname"),
XMLElement("enrollments",
(SELECT XMLAGG(
XMLForest(sc.coursecode "courseid"))
FROM studentcourse sc
WHERE sc.studentid = s.studentid
and sc.is_approved='Y'
and sc.takenyear='2008'
and sc.takenterm='1')))
FROM student s
where s.statuscode in (select studentstatuscode from studentstatus where studentstatusactive=1)
order by s.studentid;
spool off
please help, thank youHow's this one for size
SQL> create or replace view DEPARTMENT_XML of xmltype
2 with object id
3 (
4 'DEPARTMENT'
5 )
6 as
7 select xmlElement
8 (
9 "Departments",
10 (
11 select xmlAgg
12 (
13 xmlElement
14 (
15 "Department",
16 xmlAttributes( d.DEPARTMENT_ID as "DepartmentId"),
17 xmlElement("Name", d.DEPARTMENT_NAME),
18 xmlElement
19 (
20 "Location",
21 xmlForest
22 (
23 STREET_ADDRESS as "Address", CITY as "City", STATE_PROVINCE as "State",
24 POSTAL_CODE as "Zip",COUNTRY_NAME as "Country"
25 )
26 ),
27 xmlElement
28 (
29 "EmployeeList",
30 (
31 select xmlAgg
32 (
33 xmlElement
34 (
35 "Employee",
36 xmlAttributes ( e.EMPLOYEE_ID as "employeeNumber" ),
37 xmlForest
38 (
39 e.FIRST_NAME as "FirstName", e.LAST_NAME as "LastName", e.EMAIL as "EmailAddre
ss",
40 e.PHONE_NUMBER as "Telephone", e.HIRE_DATE as "StartDate", j.JOB_TITLE as "Job
Title",
41 e.SALARY as "Salary", m.FIRST_NAME || ' ' || m.LAST_NAME as "Manager"
42 ),
43 xmlElement ( "Commission", e.COMMISSION_PCT )
44 )
45 )
46 from HR.EMPLOYEES e, HR.EMPLOYEES m, HR.JOBS j
47 where e.DEPARTMENT_ID = d.DEPARTMENT_ID
48 and j.JOB_ID = e.JOB_ID
49 and m.EMPLOYEE_ID = e.MANAGER_ID
50 )
51 )
52 )
53 )
54 from HR.DEPARTMENTS d, HR.COUNTRIES c, HR.LOCATIONS l
55 where d.LOCATION_ID = l.LOCATION_ID
56 and l.COUNTRY_ID = c.COUNTRY_ID
57 )
58 )
59 from dual
60 /
View created.
SQL> create or replace trigger DEPARTMENT_DML
2 instead of INSERT or UPDATE or DELETE
3 on DEPARTMENT_XML
4 begin
5 null;
6 end;
7 /
Trigger created.
SQL> declare
2 cursor getDepartments is
3 select ref(d) XMLREF
4 from DEPARTMENT_XML d;
5 res boolean;
6 targetFolder varchar2(1024) := '/public/Departments';
7 begin
8 if dbms_xdb.existsResource(targetFolder) then
9 dbms_xdb.deleteResource(targetFolder,dbms_xdb.DELETE_RECURSIVE_FORCE);
10 end if;
11 res := dbms_xdb.createFolder(targetFolder);
12 for dept in getDepartments loop
13 res := DBMS_XDB.createResource(targetFolder || '/Departments.xml', dept.XMLREF);
14 end loop;
15 end;
16 /
PL/SQL procedure successfully completed.
SQL> select path
2 from path_view
3 where equals_path(RES,'/public/Departments/Departments.xml') = 1
4 /
PATH
/public/Departments/Departments.xml
SQL> select xdburitype('/public/Departments/Departments.xml').getXML()
2 from dual
3 /
XDBURITYPE('/PUBLIC/DEPARTMENTS/DEPARTMENTS.XML').GETXML()
<Departments>
<Department DepartmentId="60">
<Name>IT</Name>
<Location
SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Temp>ftp localhost
Connected to mdrake-lap.
220- mdrake-lap
Unauthorised use of this FTP server is prohibited and may be subject to civil and criminal prosecution.
220 mdrake-lap FTP Server (Oracle XML DB/Oracle Database) ready.
User (mdrake-lap:(none)): SCOTT
331 pass required for SCOTT
Password:
230 SCOTT logged in
ftp> cd /public/Departments
250 CWD Command successful
ftp> ls -l
200 EPRT Command successful
150 ASCII Data Connection
-rw-r--r-- 1 SCOTT oracle 0 NOV 10 20:18 Departments.xml
226 ASCII Transfer Complete
ftp: 71 bytes received in 0.01Seconds 7.10Kbytes/sec.
ftp> get Departments.xml -
200 EPRT Command successful
150 ASCII Data Connection
<Departments><Department DepartmentId="60"><Name>IT</Name><Location><Address>2014 Jabberwocky Rd</Address><City>Southlak
e</City><State>Texas</State><Zip>26192</Zip><Country>United States of America</Country></Location><EmployeeList><Employe
e employeeNumber="103"><FirstName>Alexander</FirstName><LastName>Hunold</LastName><EmailAddress>AHUNOLD</EmailAddress><T
elephone>590.423.4567</Telephone><StartDate>2006-01-03</StartDate><JobTitle>Programmer</JobTitle><Salary>9000</Salary><M
anager>Lex De Haan</Manager><Commission></Commission></Employee><Employee employeeNumber="105"><FirstName>David</FirstNa
me><LastName>Austin</LastName><EmailAddress>DAUSTIN</EmailAddress><Telephone>590.423.4569</Telephone><StartDate>2005-06-
25</StartDate><JobTitle>Programmer</JobTitle><Salary>4800</Salary><Manager>Alexander Hunold</Manager><Commission></Commi
ssion></Employee><Employee employeeNumber="106"><FirstName>Valli</FirstName><LastName>Pataballa</LastName><EmailAddress>
VPATABAL</EmailAddress><Telephone>590.423.4560</Telephone><StartDate>2006-02-05</StartDate><JobTitle>Programmer</JobTitl
e><Salary>4800</Salary><Manager>Alexander Hunold</Manager><Commission></Commission></Employee><Employee employeeNumber="
107"><FirstName>Diana</FirstName><LastName>Lorentz</LastName><EmailAddress>DLORENTZ</EmailAddress><Telephone>590.423.556
7</Telephone><StartDate>2007-02-07</StartDate><JobTitle>Programmer</JobTitle><Salary>4200</Salary><Manager>Alexander Hun
old</Manager><Commission></Commission></Employee><Employee employeeNumber="104"><FirstName>Bruce</FirstName><LastName>Er
nst</LastName><EmailAddress>BERNST</EmailAddress><Telephone>590.423.4568</Telephone><StartDate>2007-05-21</StartDate><Jo
bTitle>Programmer</JobTitle><Salary>6000</Salary><Manager>Alexander Hunold</Manager><Commission></Commission></Employee>
</EmployeeList></Department><Department DepartmentId="50"><Name>Shipping</Name><Location><Address>2011 Interiors Blvd</A
ddress><City>South San Francisco</City><State>California</State><Zip>99236</Zip><Country>United States of America</Count
ry></Location><EmployeeList><Employee employeeNumber="120"><FirstName>Matthew</FirstName><LastName>Weiss</LastName><Emai
lAddress>MWEISS</EmailAddress><Telephone>650.123.1234</Telephone><StartDate>2004-07-18</StartDate><JobTitle>Stock Manage
r</JobTitle><Salary>8000</Salary><Manager>Steven King</Manager><Commission></Commission></Employee><Employee employeeNum
ber="122"><FirstName>Payam</FirstName><LastName>Kaufling</LastName><EmailAddress>PKAUFLIN</EmailAddress><Telephone>650.1
23.3234</Telephone><StartDate>2003-05-01</StartDate><JobTitle>Stock Manager</JobTitle><Salary>7900</Salary><Manager>Stev
en King</Manager><Commission></Commission></Employee><Employee employeeNumber="121"><FirstName>Adam</FirstName><LastName
Fripp</LastName><EmailAddress>AFRIPP</EmailAddress><Telephone>650.123.2234</Telephone><StartDate>2005-04-10</StartDate><JobTitle>Stock Manager</JobTitle><Salary>8200</Salary><Manager>Steven King</Manager><Commission></Commission></Employee
<Employee employeeNumber="124"><FirstName>Kevin</FirstName><LastName>Mourgos</LastName><EmailAddress>KMOURGOS</EmailAddress><Telephone>650.123.5234</Telephone><StartDate>2007-11-16</StartDate><JobTitle>Stock Manager</JobTitle><Salary>5800<
/Salary><Manager>Steven King</Manager><Commission></Commission></Employee><Employee employeeNumber="123"><FirstName>Shan
ta</FirstName><LastName>Vollman</LastName><EmailAddress>SVOLLMAN</EmailAddress><Telephone>650.123.4234</Telephone><Start
Date>2005-10-10</StartDate><JobTitle>Stock Manager</JobTitle><Salary>6500</Salary><Manager>Steven King</Manager><Commiss
ion></Commission></Employee><Employee employeeNumber="128"><FirstName>Steven</FirstName><LastName>Markle</LastName><Emai
lAddress>SMARKLE</EmailAddress><Telephone>650.124.1434</Telephone><StartDate>2008-03-08</StartDate><JobTitle>Stock Clerk
</JobTitle><Salary>2200</Salary><Manager>Matthew Weiss</Manager><Commission></Commission></Employee><Employee employeeNu
mber="127"><FirstName>James</FirstName><LastName>Landry</LastName><EmailAddress>JLANDRY</EmailAddress><Telephone>650.124
.1334</Telephone><StartDate>2007-01-14</StartDate><JobTitle>Stock Clerk</JobTitle><Salary>2400</Salary><Manager>Matthew
Weiss</Manager><Commission></Commission></Employee><Employee employeeNumber="126"><FirstName>Irene</FirstName><LastName>
Mikkilineni</LastName><EmailAddress>IMIKKILI</EmailAddress><Telephone>650.124.1224</Telephone>
<StartDate>2002-06-07</St
artDate><JobTitle>Public Relations Representative</JobTitle><Salary>10000</Salary><Manager>Neena Kochhar</Manager><Commi
ssion></Commission></Employee></EmployeeList></Department></Departments>226 ASCII Transfer Complete
ftp: 40392 bytes received in 0.08Seconds 480.86Kbytes/sec.
ftp> -
Single Row Returns More than 1 row
I have this query that displays the HOME telephone number of an EMP, however I have to put that Select on the field, since that field is HOME phone.
The Outputs are:
Name
Address
Birthday
Home Phone
Mobile Phone
Salary
Manager
My input is:
ID
How am I going to query the HomePhone and CellPhone, those number are on 1 field called CONTACT_NO however there is an INDICATOR field that tell either its HOME, CELL, BUSS, FAX... etc..What they have done is a correlated subquery and what you have done is a direct join both give different result.
Check this out.
SQL> select * from emp order by empno;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
1 SMITH CLERK 7902 17-DEC-80 800 20
2 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
3 WARD SALESMAN 7698 22-FEB-81 1250 500 30
4 JONES MANAGER 7839 02-APR-81 2975 20
5 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
6 BLAKE MANAGER 7839 01-MAY-81 2850 30
7 CLARK MANAGER 7839 09-JUN-81 2450 10
8 SCOTT ANALYST 7566 19-APR-87 3000 20
9 KING PRESIDENT 17-NOV-81 5000 10
10 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
10 rows selected.
SQL> select * from phone order by empno;
EMPNO PHONE_TYPE PHONE_NO
1 HOME 9999999999
2 CELL 1111111111
2 HOME 9999999999
3 HOME 9999999999
8 CELL 1111111111
8 HOME 9999999999
10 HOME 9999999999
7 rows selected.A direct join gives this output.
SQL> select e.empno, e.ename, p.phone_no
2 from emp e, phone p
3 where e.empno = p.empno
4 and p.phone_type = 'HOME';
EMPNO ENAME PHONE_NO
1 SMITH 9999999999
2 ALLEN 9999999999
3 WARD 9999999999
8 SCOTT 9999999999
10 TURNER 9999999999And a Correlated subquery gives this output.
SQL> select e.empno,e.ename,(select phone_no
2 from phone
3 where empno = e.empno
4 and phone_type = 'HOME') phone_no
5 from emp e;
EMPNO ENAME PHONE_NO
1 SMITH 9999999999
2 ALLEN 9999999999
3 WARD 9999999999
4 JONES
5 MARTIN
6 BLAKE
7 CLARK
8 SCOTT 9999999999
9 KING
10 TURNER 9999999999
10 rows selected.But a simple outer join can give the result as above.
SQL> select e.empno, e.ename, p.phone_no
2 from emp e, phone p
3 where p.empno (+)= e.empno
4 and p.phone_type (+) = 'HOME';
EMPNO ENAME PHONE_NO
1 SMITH 9999999999
2 ALLEN 9999999999
3 WARD 9999999999
8 SCOTT 9999999999
10 TURNER 9999999999
5 MARTIN
6 BLAKE
7 CLARK
4 JONES
9 KING
10 rows selected.Thanks,
Karthick. -
Condition on Mapping in Repeating Records
Hi,
This is my map file :
My input file is as follows:
<ns0:Root xmlns:ns0="http://schemas.microsoft.com/BizTalk/2003/aggschema">
<InputMessagePart_0>
<ns1:Response xmlns:ns1="http://Interplx_ndPhase.SourceSchema">
<Employees>
<Employee>
<EmpID>10</EmpID>
<EmpName>Prakash</EmpName>
</Employee>
<Employee>
<EmpID>20</EmpID>
<EmpName>EmpName_0</EmpName>
</Employee>
</Employees>
</ns1:Response>
</InputMessagePart_0>
<InputMessagePart_1>
<ns2:ResponseM xmlns:ns2="http://Interplx_ndPhase.ManagerSchema">
<Managers>
<Manager>
<ManagerID>30</ManagerID>
<Salary>Salary_0</Salary>
</Manager>
<Manager>
<ManagerID>20</ManagerID>
<Salary>1000000</Salary>
</Manager>
</Managers>
</ns2:ResponseM>
</InputMessagePart_1>
</ns0:Root>
I want to compare each EmpID with each Manager ID.If any EmpID and ManagerID is equal then simply transform with destination schema otherwise not.
How its is possible ??
Please suggest me some solution.
PrakashFor the given input instance, if you want map the employees who are managers (i.e. for the employee whose EmployeeID matches with the ManagerID) I created a output schema like the below to give an idea about the XSLT (which you can change it to
yours)
, in the map, If I use the XSLT like the following:
<?xml version="1.0" encoding="UTF-16"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:var="http://schemas.microsoft.com/BizTalk/2003/var" exclude-result-prefixes="msxsl var s0" version="1.0" xmlns:s0="http://Interplx_ndPhase.ManagerSchema" xmlns:ns0="http://schemas.microsoft.com/BizTalk/2003/aggschema" xmlns:ns2="http://Interplx_ndPhase.SourceSchema">
<xsl:output omit-xml-declaration="yes" method="xml" version="1.0" />
<xsl:template match="/">
<xsl:apply-templates select="/ns0:Root" />
</xsl:template>
<xsl:template match="/ns0:Root">
<ns0:Root>
<OutputMessagePart_0>
<ns2:Response>
<Employees>
<xsl:for-each select="InputMessagePart_0/ns2:Response/Employees/Employee">
<Employee>
<xsl:call-template name="CheckMan">
<xsl:with-param name="empID" select="EmpID/text()" />
<xsl:with-param name="pos" select="position()" />
</xsl:call-template>
</Employee>
</xsl:for-each>
</Employees>
</ns2:Response>
</OutputMessagePart_0>
</ns0:Root>
</xsl:template>
<xsl:template name="CheckMan">
<xsl:param name="empID" />
<xsl:param name="pos" />
<xsl:for-each select="../../../../InputMessagePart_1/s0:ResponseM/Managers/Manager">
<xsl:if test="ManagerID/text() = $empID">
<EmpID>
<xsl:value-of select="../../../../InputMessagePart_0/ns2:Response/Employees/Employee[$pos]/EmpID/text()" />
</EmpID>
<EmpName>
<xsl:value-of select="../../../../InputMessagePart_0/ns2:Response/Employees/Employee[$pos]/EmpName/text()" />
</EmpName>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
You would get the desired output. As mentioned, you can change the output as per your need, and this XSLT which works for me for the above input & output schema can give an idea about how to achieve this requirement.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
ORA-00904: "ATTRIBUTE20": invalid identifier (Human Resource)
Hi
Please anybody can tell me why the error (ORA-00904: "ATTRIBUTE20": invalid identifier) come. When I am trying to query in form "Human Resource Vision Enterprise > People > Salary Management"
Regards
MakshudHi Makshud,
In addition to above information, you can refer the following doc for the generic reason of this error,
[OERR: ORA-904 %s: invalid identifier / invalid column name|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=18500.1]
This could be the reason for some invalid field entry as ORA-904 coming please verify.
This is just for the information of ORA - 904, reason can only me verified after you provide the information asked by Hussein.
Thanks,
Anchorage :) -
Question on XMLTABLE related to XMLSEQUENCE
Hi Mark,
Easy one for you.
recently i tried XMLTABLE which i used as a replacement for TABLE(XMLSEQUENCE) which was used with versions lower than 10g R2.
here is the test.
SQL> create table xml(data clob)
2 /
Table created.
SQL>
SQL> insert into xml values (
2 '<DeptList>
3 <Dept id="1">
4 <name>XXX</name>
5 <EMP id="111">
6 <name>XXX111</name>
7 </EMP>
8 <EMP id="112">
9 <name>XXX112</name>
10 </EMP>
11 </Dept>
12 <Dept id="2">
13 <name>YYY</name>
14 <EMP id="222">
15 <name>yyy222</name>
16 </EMP>
17 <EMP id="333">
18 <name>yyy112</name>
19 </EMP>
20 </Dept>
21 </DeptList>')
22 /
1 row created.
SQL>
SQL> set linesize 150
SQL> column deptid format 9999
SQL> column dname format a20
SQL> column empid format 9999
SQL> column ename format a20
SQL>
SQL> select
2 cast(extractvalue(value(a), '/Dept/@id') as number ) deptid
3 ,cast(extractvalue(value(a), '/Dept/name') as varchar2(20)) dname
4 ,cast(extractvalue(value(b), '/EMP/@id') as number) empid
5 ,cast(extractvalue(value(b), '/EMP/name') as varchar2(20)) ename
6 from xml
7 ,table(xmlsequence(extract(xmltype(data), '/DeptList/Dept'))) a
8 ,table(xmlsequence(extract(value(a), '/Dept/EMP'))) b
9 /
DEPTID DNAME EMPID ENAME
1 XXX 111 XXX111
1 XXX 112 XXX112
2 YYY 222 yyy222
2 YYY 333 yyy112
SQL> Sofar good. Now i want to replace the TABLE(XMLSEQUENCE) with XMLTABLE operator. I got success with the usage of one XMLTABLE. But when i have requirement for 2, i.e collection within a collection i could not succeed.
here is the one i tried.
select
deptid, dname, empid, ename
from xml
,xmltable('/DeptList/Dept' passing xmltype(data)
columns
deptid number path '/Dept/@id'
,dname varchar2(20) path '/Dept/name') a
,xmltable('/Dept/EMP' passing value(a)
columns
empid number path '/EMP/@id'
,ename varchar2(20) path '/EMP/name')
/How can i make reference to the first collection output to pass it on to the next one.The following demonstrates using XMLTABLE with a Nested Collection
SQL> create or replace view DEPARTMENTS_XML of XMLType
2 with object id
3 (
4 'DEPARTEMENTS'
5 )
6 as
7 select xmlElement
8 (
9 "Departments",
10 xmlAgg
11 (
12 xmlElement
13 (
14 "Department",
15 xmlAttributes( d.DEPARTMENT_ID as "DepartmentId"),
16 xmlElement("Name", d.DEPARTMENT_NAME),
17 xmlElement
18 (
19 "Location",
20 xmlForest
21 (
22 STREET_ADDRESS as "Address", CITY as "City", STATE_PROVINCE as "State",
23 POSTAL_CODE as "Zip",COUNTRY_NAME as "Country"
24 )
25 ),
26 xmlElement
27 (
28 "EmployeeList",
29 (
30 select xmlAgg
31 (
32 xmlElement
33 (
34 "Employee",
35 xmlAttributes ( e.EMPLOYEE_ID as "employeeNumber" ),
36 xmlForest
37 (
38 e.FIRST_NAME as "FirstName", e.LAST_NAME as "LastName", e.EMAIL as "EmailAddress",
39 e.PHONE_NUMBER as "Telephone", e.HIRE_DATE as "StartDate", j.JOB_TITLE as "JobTitle",
40 e.SALARY as "Salary", m.FIRST_NAME || ' ' || m.LAST_NAME as "Manager"
41 ),
42 xmlElement ( "Commission", e.COMMISSION_PCT )
43 )
44 )
45 from HR.EMPLOYEES e, HR.EMPLOYEES m, HR.JOBS j
46 where e.DEPARTMENT_ID = d.DEPARTMENT_ID
47 and j.JOB_ID = e.JOB_ID
48 and m.EMPLOYEE_ID = e.MANAGER_ID
49 )
50 )
51 )
52 )
53 ) as XML
54 from HR.DEPARTMENTS d, HR.COUNTRIES c, HR.LOCATIONS l
55 where d.LOCATION_ID = l.LOCATION_ID
56 and l.COUNTRY_ID = c.COUNTRY_ID
57 /
View created.
SQL> set lines 140
SQL> set long 4000
SQL> --
SQL> select * from DEPARTMENTS_XML
2 /
SYS_NC_ROWINFO$
<Departments><Department DepartmentId="60"><Name>IT</Name><Location><Address>2014 Jabberwocky Rd</Address><City>Southlake</City><St
</State><Zip>26192</Zip><Country>United States of America</Country></Location><EmployeeList><Employee employeeNumber="103"><FirstNa
der</FirstName><LastName>Hunold</LastName><EmailAddress>AHUNOLD</EmailAddress><Telephone>590.423.4567</Telephone><StartDate>1990-01
tDate><JobTitle>Programmer</JobTitle><Salary>9000</Salary><Manager>Lex De Haan</Manager><Commission></Commission></Employee><Employ
eeNumber="105"><FirstName>David</FirstName><LastName>Austin</LastName><EmailAddress>DAUSTIN</EmailAddress><Telephone>590.423.4569</
<StartDate>1997-06-25</StartDate><JobTitle>Programmer</JobTitle><Salary>4800</Salary><Manager>Alexander Hunold</Manager><Commissio
ssion></Employee><Employee employeeNumber="106"><FirstName>Valli</FirstName><LastName>Pataballa</LastName><EmailAddress>VPATABAL</E
ss><Telephone>590.423.4560</Telephone><StartDate>1998-02-05</StartDate><JobTitle>Programmer</JobTitle><Salary>4800</Salary><Manager
r Hunold</Manager><Commission></Commission></Employee><Employee employeeNumber="107"><FirstName>Diana</FirstName><LastName>Lorentz<
<EmailAddress>DLORENTZ</EmailAddress><Telephone>590.423.5567</Telephone><StartDate>1999-02-07</StartDate><JobTitle>Programmer</Job
lary>4200</Salary><Manager>Alexander Hunold</Manager><Commission></Commission></Employee><Employee employeeNumber="104"><FirstName>
SYS_NC_ROWINFO$
rstName><LastName>Ernst</LastName><EmailAddress>BERNST</EmailAddress><Telephone>590.423.4568</Telephone><StartDate>1991-05-21</Star
bTitle>Programmer</JobTitle><Salary>6000</Salary><Manager>Alexander Hunold</Manager><Commission></Commission></Employee></EmployeeL
artment><Department DepartmentId="50"><Name>Shipping</Name><Location><Address>2011 Interiors Blvd</Address><City>South San Francisc
State>California</State><Zip>99236</Zip><Country>United States of America</Country></Location><EmployeeList><Employee employeeNumbe
FirstName>Matthew</FirstName><LastName>Weiss</LastName><EmailAddress>MWEISS</EmailAddress><Telephone>650.123.1234</Telephone><Start
-07-18</StartDate><JobTitle>Stock Manager</JobTitle><Salary>8000</Salary><Manager>Steven King</Manager><Commission></Commission></E
Employee employeeNumber="122"><FirstName>Payam</FirstName><LastName>Kaufling</LastName><EmailAddress>PKAUFLIN</EmailAddress><Teleph
23.3234</Telephone><StartDate>1995-05-01</StartDate><JobTitle>Stock Manager</JobTitle><Salary>7900</Salary><Manager>Steven King</Ma
mmission></Commission></Employee><Employee employeeNumber="121"><FirstName>Adam</FirstName><LastName>Fripp</LastName><EmailAddress>
mailAddress><Telephone>650.123.2234</Telephone><StartDate>1997-04-10</StartDate><JobTitle>Stock Manager</JobTitle><Salary>8200</Sal
ger>Steven King</Manager><Commission></Commission></Employee><Employee employeeNumber="124"><FirstName>Kevin</FirstName><LastName>M
SYS_NC_ROWINFO$
astName><EmailAddress>KMOURGOS</EmailAddress><Telephone>650.123.5234</Telephone><StartDate>1999-11-16</StartDate><JobTitle>Stock Ma
bTitle><Salary>5800</Salary><Manager>Steven King</Manager><Commission></Commission></Employee><Employee employeeNumber="123"><First
ta</FirstName><LastName>Vollman</LastName><EmailAddress>SVOLLMAN</EmailAddress><Telephone>650.123.4234</Telephone><StartDate>1997-1
rtDate><JobTitle>Stock Manager</JobTitle><Salary>6500</Salary><Manager>Steven King</Manager><Commission></Commission></Employee><Em
ployeeNumber="128"><FirstName>Steven</FirstName><LastName>Markle</LastName><EmailAddress>SMARKLE</EmailAddress><Telephone>650.124.1
phone><StartDate>2000-03-08</StartDate><JobTitle>Stock Clerk</JobTitle><Salary>2200</Salary><Manager>Matthew Weiss</Manager><Commis
mmission></Employee><Employee employeeNumber="127"><FirstName>James</FirstName><
SQL> select d.DEPARTMENT_ID, d.DEPARTMENT_NAME, e.*
2 from DEPARTMENTS_XML,
3 xmltable
4 (
5 '/Departments/Department'
6 passing object_value
7 columns
8 DEPARTMENT_ID number(4) path '@DepartmentId',
9 DEPARTMENT_NAME varchar2(32) path 'Name',
10 EMPLOYEES xmlType path 'EmployeeList/Employee'
11 ) d,
12 xmlTable
13 (
14 '/Employee'
15 passing d.EMPLOYEES
16 columns
17 EMPLOYEE_ID number path '@employeeNumber',
18 FIRST_NAME varchar2(32) path 'FirstName',
19 LAST_NANE varchar2(32) path 'LastName'
20 ) e
21 /
DEPARTMENT_ID DEPARTMENT_NAME EMPLOYEE_ID FIRST_NAME LAST_NANE
60 IT 103 Alexander Hunold
60 IT 105 David Austin
60 IT 106 Valli Pataballa
60 IT 107 Diana Lorentz
60 IT 104 Bruce Ernst
50 Shipping 120 Matthew Weiss
50 Shipping 122 Payam Kaufling
50 Shipping 121 Adam Fripp
50 Shipping 124 Kevin Mourgos
50 Shipping 123 Shanta Vollman
50 Shipping 128 Steven Markle
DEPARTMENT_ID DEPARTMENT_NAME EMPLOYEE_ID FIRST_NAME LAST_NANE
50 Shipping 127 James Landry
50 Shipping 126 Irene Mikkilineni
50 Shipping 125 Julia Nayer
50 Shipping 180 Winston Taylor
50 Shipping 181 Jean Fleaur
50 Shipping 182 Martha Sullivan
50 Shipping 183 Girard Geoni
50 Shipping 129 Laura Bissot
50 Shipping 130 Mozhe Atkinson
50 Shipping 131 James Marlow
50 Shipping 132 TJ Olson
DEPARTMENT_ID DEPARTMENT_NAME EMPLOYEE_ID FIRST_NAME LAST_NANE
50 Shipping 184 Nandita Sarchand
50 Shipping 185 Alexis Bull
50 Shipping 186 Julia Dellinger
50 Shipping 187 Anthony Cabrio
50 Shipping 133 Jason Mallin
50 Shipping 134 Michael Rogers
50 Shipping 135 Ki Gee
50 Shipping 136 Hazel Philtanker
50 Shipping 188 Kelly Chung
50 Shipping 189 Jennifer Dilly
50 Shipping 190 Timothy Gates
DEPARTMENT_ID DEPARTMENT_NAME EMPLOYEE_ID FIRST_NAME LAST_NANE
50 Shipping 191 Randall Perkins
50 Shipping 137 Renske Ladwig
50 Shipping 140 Joshua Patel
50 Shipping 139 John Seo
50 Shipping 138 Stephen Stiles
50 Shipping 192 Sarah Bell
50 Shipping 193 Britney Everett
50 Shipping 194 Samuel McCain
50 Shipping 195 Vance Jones
50 Shipping 144 Peter Vargas
50 Shipping 143 Randall Matos
DEPARTMENT_ID DEPARTMENT_NAME EMPLOYEE_ID FIRST_NAME LAST_NANE
50 Shipping 142 Curtis Davies
50 Shipping 141 Trenna Rajs
50 Shipping 196 Alana Walsh
50 Shipping 199 Douglas Grant
50 Shipping 197 Kevin Feeney
50 Shipping 198 Donald OConnell
10 Administration 200 Jennifer Whalen
30 Purchasing 114 Den Raphaely
30 Purchasing 118 Guy Himuro
30 Purchasing 117 Sigal Tobias
30 Purchasing 119 Karen Colmenares
DEPARTMENT_ID DEPARTMENT_NAME EMPLOYEE_ID FIRST_NAME LAST_NANE
30 Purchasing 115 Alexander Khoo
30 Purchasing 116 Shelli Baida
90 Executive 101 Neena Kochhar
90 Executive 102 Lex De Haan
100 Finance 108 Nancy Greenberg
100 Finance 112 Jose Manuel Urman
100 Finance 111 Ismael Sciarra
100 Finance 113 Luis Popp
100 Finance 109 Daniel Faviet
100 Finance 110 John Chen
110 Accounting 206 William Gietz
DEPARTMENT_ID DEPARTMENT_NAME EMPLOYEE_ID FIRST_NAME LAST_NANE
110 Accounting 205 Shelley Higgins
20 Marketing 202 Pat Fay
20 Marketing 201 Michael Hartstein
40 Human Resources 203 Susan Mavris
80 Sales 148 Gerald Cambrault
80 Sales 149 Eleni Zlotkey
80 Sales 145 John Russell
80 Sales 146 Karen Partners
80 Sales 147 Alberto Errazuriz
80 Sales 150 Peter Tucker
80 Sales 151 David Bernstein
DEPARTMENT_ID DEPARTMENT_NAME EMPLOYEE_ID FIRST_NAME LAST_NANE
80 Sales 152 Peter Hall
80 Sales 153 Christopher Olsen
80 Sales 154 Nanette Cambrault
80 Sales 155 Oliver Tuvault
80 Sales 161 Sarath Sewall
80 Sales 160 Louise Doran
80 Sales 159 Lindsey Smith
80 Sales 158 Allan McEwen
80 Sales 157 Patrick Sully
80 Sales 156 Janette King
80 Sales 167 Amit Banda
DEPARTMENT_ID DEPARTMENT_NAME EMPLOYEE_ID FIRST_NAME LAST_NANE
80 Sales 166 Sundar Ande
80 Sales 165 David Lee
80 Sales 164 Mattea Marvins
80 Sales 163 Danielle Greene
80 Sales 162 Clara Vishney
80 Sales 173 Sundita Kumar
80 Sales 172 Elizabeth Bates
80 Sales 171 William Smith
80 Sales 170 Tayler Fox
80 Sales 169 Harrison Bloom
80 Sales 168 Lisa Ozer
DEPARTMENT_ID DEPARTMENT_NAME EMPLOYEE_ID FIRST_NAME LAST_NANE
80 Sales 177 Jack Livingston
80 Sales 176 Jonathon Taylor
80 Sales 175 Alyssa Hutton
80 Sales 174 Ellen Abel
80 Sales 179 Charles Johnson
70 Public Relations 204 Hermann Baer
105 rows selected.
SQL> -
Hi all
I am new to apps 11i,my boss just came with a requirement of creating employment certificates in erp,
Can someone guide me to create an offer letter for each employee with the company header
Kindly let me know if any details are needed as i am new to apps
thanking in advance
regards
oracleuserhi
i did ctrl+L ,a small pop up box comes asking to type the interent address of the document we wish to search for
these are things i view when i got to hrms responsibility
abc HRMS Manager
Flex Values
Payment Invoice(PY)
People
Enter and Maintain
Salary Management
Events and Bookings
Delete Personal Records
Manage Contracts
People : Maintain Using Templates
Hiring Applicants
Entering Employees
Maintaining Employees
Entering Contingent Workers
Maintaining Contingent Workers
People : Total Comp Participation
Person Benefits Balances
Person Benefits Assignments
People : Total Comp Enrollment : Benefits Enrollment
View Enrollment Results
Non-flex Program
Savings Plan
Miscellaneous Plan
Enrollment Override
Dependent/Beneficiary Designation
Person Primary Care Provider
Person Life Events
People : Total Comp Contribution
Record Continuing Benefits Payment
Monthly Participant Premium
Monthly Premiums
Manual Payments
People : Mass Updates for Person
Mass Update of Applicant Assignments
Mass Update of Employee Assignments
Mass Update of Assignments
Fast Path
Address
Picture
Special Information
Contact Information
Event for Person
Phone Numbers
Absence Information
Application
End Application
Assignment
Assignment Costing
Assign. Budget Values
Grade Step Placement
Secondary Status
Pay Method
End Employment
Employee Review
Salary Review
Salary History
Element Entry
Accruals
Tax Statement
Statement of Earnings
P45 Form
Adjust Balances
QuickPay
Reverse Payroll Run
Extern./Manual Payments
Person Type Usage
School/College Attendance
Assignment Rates
Element Entry
End Placement
Work Structures
Location
Status
Recruitment Letter Type
Contract Letter Type
Elections
Assignment Rate Types
Collective Agreements
Collective Agreements and Grade Structures
Work Structures : Collective Agreement
Define Entitlement Item
Define Collective Agreement
Define Collective Agreement Grades
Define Eligibility Profiles
Define Derived Factors
Work Structures : Organization
Description
Organization Manager
Hierarchy
Diagrammer
Work Structures : Job
Description
Path Name
Career Path
Job Groups
Work Structures : Position
Description
Hierarchy
Mass Move
Diagrammer
Position Transaction
Position Copy
Mass Position Update
Work Structures : Grade
Description
Grade Rate
Pay Scale
Point Values
Grade Steps and Points
Progression Approval
Work Structures : Budget
Budget Worksheet
Budget Details
Budget Reallocation
Budget Calendar
Budget Set
Budget Characteristics
Budget Migration
Payroll
Description
Consolidation
Payment Methods
GL Flexfield Map
Update Payroll Run
Assignment Set
Element Set
RetroPay Set
GL Daily Rates
Conversion Rate Types
Monetary Units
Balance Sets
View
Vacancies
Grade Comparatio
Employee Accruals
Payroll Process Results
Assignment Process Results
System Messages
View : Histories
Worker Assignment
Absence
Run Results
Salary
Entries
View : Lists
People Folder
Assignment Folder
People by Assignment
Assignments
Workforce by Organization
Workforce by Position
Workforce by Position Hierarchy
Employees by Element
Employees by Absence Type
People by Special Information
Processes and Reports
Submit Processes and Reports
View Requests
View Reports
Workflow Notifications
Define a QuickPaint Report
Run a QuickPaint Report
Submit Custom Reports
Process Log
Batch Process Parameters
Monitor Batch Processes
Mass Information eXchange: MIX
Batch Element Entry
BEE Summary
Mass Information eXchange: MIX : System Extract
Layout Definition
Criteria Definition
Extract Definition
Extract Results
Change Event Log
Other Definitions
Person Types
Application Utilities Lookups
Special Information Types
Table Structure
Table Values
Time Periods
User Profile Options
Formula Functions
User Types and Statuses
Dynamic Trigger Definition
Dynamic Trigger Functional Area Grouping
Table Event Updates
Other Definitions : Payroll Exception Reporting : Payroll Exception Reports and Groups
Reports
Groups
Security
Profile
Assign Security Profiles
CustomForm
Information Types Security
Report Sets
Task Flow Nodes
Task Flow Definitions
Forms Configurator
Contexts
Transaction Status
Task Flow Unit kindly help me
thanking in advance
regards
oracleuser -
Reg restriction on employees in the organziation
Salary Management screen contains employees with info and approve button at bottom.
We have severeal organizations. We restricted employees based on organization. But still I am able to see few employees in other organization.
i.e., Org A and Org B contains 30 and 40 employees respectively.
When I login in Salary Management screen in custom responsibilty of org A,
I am able to see few org B people along with the Org A.
I have verified sexurity profile.It is fine and I ran security list maintenance program too.
But still able to see people from different organziationEven I chekched the box, I am able to see other deprtment employees.
Note: I am seeing only one extra organization employees(only 4 employees not all empl in the organziation), not all organization employees. -
HI
I want a sql query i.e., all employees list which are having lessthan maximum salary of manager in same departmnet;
my table is like this
employees
EMPLOYEE_ID NOT NULL NUMBER(6)
FIRST_NAME VARCHAR2(20)
LAST_NAME NOT NULL VARCHAR2(25)
EMAIL NOT NULL VARCHAR2(25)
PHONE_NUMBER VARCHAR2(20)
HIRE_DATE NOT NULL DATE
JOB_ID NOT NULL VARCHAR2(10)
SALARY NUMBER(8,2)
COMMISSION_PCT NUMBER(2,2)
MANAGER_ID NUMBER(6)
DEPARTMENT_ID NUMBER(4)
if need the department table
departments:
DEPARTMENT_ID
NOT NULL NUMBER(4)
DEPARTMENT_NAME
NOT NULL VARCHAR2(30)
MANAGER_ID
NUMBER(6)
LOCATION_ID
NUMBER(4)Try this:
select
employees.last_name || ', ' || employees.first_name “Employee”,
employees.salary “Emp Salary”,
sub.salary “Mgr Salary”,
employees.department_id “Department”
from
employees,
( select
mgr.department_id dept,
max(mgr.salary) salary
from
employees,
employees mgr
where
employees.mgr = mgr.employee_id
group by
mgr.department_id) sub
where
employees.department_id = sub.dept
and employees.salary < sub.salary
Jeff -
SAP ERP 6.0 Enterprise Compensation Management-Salary structure adjustment
Using the sap portal functionality, for the Salary survey and benchmarking -> Salary strucuture adjustment, the portal displays the folllowing situation:
- tab current salary structure : the values are correctly filled automatically using the related back end configuration table
- tab market data = the system displays "market minimum"= "market average" = "market maximum", once selected the composite result to be used
- tab planned salary structure : once click on "Create from market data", the system displays "planned minimum" = "planned reference" = "planned maximum" as consequence of what uploaded in tab "market data".
someone can help me to understand why the market minimum = market maximum = market average, because the uploaded survey job catalogues and survey market have minumum not equal to average not equal to maximum.
Many Thanks
LeandroHi Kevin,
As you noted the IT0759 is created, but this is actually good history! How could you refute an employee who says "My boss said I was getting a Special Adjustment and it is not on my paycheck!". You want that "$0.00" record in the IT0759. You do not want any change to IT0008 or IT0015 if there is no adjustment entered and none is created upon activation. But you do want the IT0759 for proof as to what the manager did enter - no increase.
We have used ECM for the past two years. We maintain the IT0759 as history and also have three types of increases - Merit, Market and Lump Sum. Most people will get a merit, some a market adjustment and a few a lump sum amount or they may receive more than one. But even if no entry is made, we want to make sure the manager has "Submitted" the $0.00 record. This way we can verify the manager has consider each employee - $0.00 can be a valid amount if no increase is given! Also, this is referenced when you do a history view of the employee's salary in ECM. Thus, the $0.00 amount record is a valid record and should be maintained.
Paul -
Salary of employees of respective manager
i have manager_id,last_name,salary from employees table i need to print the managers name and the lowest salry of the respective employee working under the manager
think about it. You want the lowest salary of an employee with this manager. Do we have a function that returns the lowest value? Why yes, it's MIN.
So we want our where clause to include
and a.salary = (SELECT min(salary) from employees c from this manager (a))
I leave you to do the simple join from c to a. -
UNABLE TO GET SALARY BASED ON HOURS ( POSITVE TIME MANAGMENT )
Hi Vivek,
Your document was great.
I am implementing positive time management and at present i am entering the clock in and clock-out in IT-2011 manually for testing and when i run PT60 using TM00 schema it was not showing any errors but data in 'ZL' it was showing as no entries.
And to cross check i have executed 'PC00_M40_CALC' but the payroll was caluclated based on no. of days( negative tm).
I am new to TM concept please help me out.
Thanks,
Saikrishna.Hi,
Here are some answers/comments to your question above.
1. You should not make any changes in schema TM00 (Standard SAP Schema) - copy this to a custom schema (ZM00) in transaction PE01 and add logic/make changes in this custom schema.
2. Entries will not automatically be created in the ZL table just because you have IT2011 (Table TEVEN) entries. ZL entries are created either through PCR logic, or via table T510S (Wage type generation) entries. These are both very complex Time Management concepts that require a lot of studying and understanding in order to take raw data and generate the appropriate wage types at the appropriate time. This is important because based upon raw clock in and clock out's alone the system does not know if it should generate regular hours, overtime, double time, holiday pay etc - you have to do the configuration to tell the system what to generate and when to generate it.
3. As far as your issue within the payroll driver (Basic Salary being created on the basis of number of date) - I believe this could be based upon either wage type setup or your Pay Scale configuration and this associate's Infotype 8. You probably have him setup like a salaried associate. Check the following area in the IMG Personnel Management --> Personnel Administration --> Payroll Data --> Basic Pay
Good luck on your journey to learning SAP Time Management/SAP Payroll.
Thanks,
Imran -
Compensation Management- Planning page in portal - Salary development iview
Hi Experts
I am working on Enterprise compensation Management Planning by manger in protal.
In that portal page there is a a link for employee data on the employee name. clicking this link takes you to another screen where it display the employee data, compensation history data, Eligibiltiy, guidline, employee salary data and guidline values etc.
In this screen there is an iview called "Salary Development". But this iveiw does not display any info, It always says no data found. What data it will display here?
Can you one explain this iveiw with some example?
Thanks and regards
Dhina VaradhanHi,
Column EC_APPRAISAL used standard function module HR_ECM_UI_DISP_APPRAISAL (unless you have replaced this with your own) to display the appraisal ratings. The view name is V_TWPC_COL_ERP. Please check it through transaction SM30/SM31.
For your issue, can you check if OSS note 1522746 is relevant?
Hope this helps.
Donnie -
Employees Salary without Time Management sub-module?
Dear Consultants,
Where to record employees attendance/absences (time related information) inorder to pay the salary through SAP-HR Payroll? We are implementing PA and Payroll (International). Time Management is not in the scope of the project.
Could you please let me know, how can we handle this without Time Management. What would be the limitations without Time Management sub-module.
Thank you all for your efforts.
Edited by: Business Analyst - HCM on May 20, 2009 2:20 PMYou have to create atleast the work schedule which will consist of DWS and PSW and then work scheedule rule. Also I think you will require to configure feature SCHKZ to default work schedule rule in IT0007.
After doing this configuration you can create wagetypes related to ur time and you can pay these wage types through IT2010 ee remuneration info
if the wt will have rate then that rate you can maintain in T510 and may be to meet the complete requirement you need to write little bit code in CATS exit.
otherwise you will be able to pay through 2010 and you can enter the data thru CAT2 tcode. Just you need to create a profile and set the view for entering the data like single entry or mass entry.
SPRO->IMG->Cross-Application Components->Time Sheet->Specific Settings for CATS Regular->CATS Regular->Record Working Time
hope this will help
guds -
TEM and FI/CO (Training and Event Management)
Hi All,
I wish to track actual cost per event in PE (TEM - Training and Event Management). Was considering having a Internal order per Instance of event. Have any Idea on how to set up something like this?
Appreciate all ideas,
LBHi Dean,
using internal orders you have to consider that sending and receiving cost center have to in the same company code.
If you do not want to distribute the costs to FI/CO but only report them, you can use the cost items provided by TEM. We have set up something similar for our plants in South Europe.
We have created some cost items and fill them manually with the training costs. Additionally we have created a report that evaluated this costs and combines them with the employee costs (derived from salary).
Best regards
Michael
Maybe you are looking for
-
Poblem with java.sql.Date while inserting to a table
Hi All, I have a PostgreSQL database table which contains fields(columns ) of type date. I want to insert values to the table in the[b] �dd-MMM-YYYY� format using the prepared statement. My code is as follows java.text.DateFormat dateFormatter =new j
-
Language input - Chinese handwriting is no longer working properly
After my Z10 was auto upgraded to OS 10.3.1.1581, the Chinese handwriting is overwritten on the same character, unless an enter is hit. Is there any special setting that needs to alter? Or there is a fix that I can apply?
-
Does the 7th generation iPod classic have a glass screen
does the 7th gen.... ipod classic have a glass screen an what the average life span with normal everday useage,,,,
-
My computer is reporting a hard disk failure. what to do?
My hard disk is reporting a failure (Disk Name Toshiba MK6465G4x ATA Device) on my HP Pavilion dv6 Notebook PC (64 bit OS) which uses windows 7 home premium. When I run a hard disk check, it fails (failure M11V51-55V5Q8-XD003G-60E803). ANY SUGGEST
-
Pls. guide regarding Rerun of Payroll
Dear Gurus/Experts, I am facing the following issue from my client. An employee (1416) has left the company on 24.06.09 but the key user has wrongly calculated his salary from 1.06.09 to 30.06.09 for this employee and he also run the Live payroll but