Employee Attendance Related

Hi
I have two forms to mark employee attendance daily and employee Leave.Which employees are present marking attendance P into emp_attendance table.
i have to keep record of the absent teacher who didn't inform and emplyee which are on leave.Which employees are on leave a remainder should be generated during the attendance time these employes are on leave from date till to date.who didn't inform there attendance mark as a casual leave automatically in attedance table..
my leave type are
P--Present
CL---Casual Leave
SL--Sick Leave
PL---Planned Leave.
i am defining below two tables which i made to mark employee attendance and employee leave.if u want suggest me some more field please suggest me.
table1-EMP_ATTENDANCE
EMP_ID
ATTENDANCE_DATE
ATTENDANCE_STATUS
ARIVAL_TIME
DEPARTURE TIME
TABLE2-EMP_LEAVE
Emp_ID
LEAVE_TYPE
START_DATE
END_DATE
Thanks
Nisha.
Edited by: Nisha Rani on Sep 6, 2009 11:29 PM

Sure looks like school work to me so I'd suggest you put some more effort into this yourself.
But one question does intrigue me based on what you provided ... what is an attendance status and, relationally speaking, how do these two tables relate? What prevents a person from being present while also on vacation?

Similar Messages

  • IDOC  type related to Payroll and Employees Attendance and Absence

    Hi  Evrybody,
    Right now im working on ALE INBOUND Interface, which relates to transfer of data.
    I'm searching for an Basic IDOC  type related to Payroll and Employees Attendance and Absence,
    If any pointers would be much helpful.
    Thanks n Regards.
    [email protected]

    Solved myself.

  • Need a function to calculate employee attendance data for a given period

    need a function to calculate employee attendance data for a given period
    as
    Working days,
    CL ,
    SL,
    PL,
    LWP
    regards,
    Gaurav Sood.

    Issue resolved

  • FM or Tcode for No.of days employee attended Training in HR ABAP

    Hi Experts,
    I need to calculate No.of Days employee attended training in given payroll period level.
    For ex, iam giving 01.2010 FY (Payroll Period 21.04.2010 to 20.05.2010) .
    Need to find out how many days each employee under traning during this period.
    In PA30 we can see his status (pa00001-stat1 = '2') but i need to calculate how many days he is under traning .
    In PA30, we can see the status changed from Training to Shopfloor or something, Since he is active his end date is 31.12.9999.
    Could  you please tell me where can we see traning information in System (tcode or table or Std program).
    Regards
    SK

    Hello
    You can see the training attended by an employee in the tcode PSV1 and PSV2. If you have LSO implemented in the system, then it will be LSO_PSV1 and LSO_PSV2.
    Regards
    Ranganath

  • Employee payment related to expenses etc.

    Hello,
    Employee payment related to expenses etc. is done at company level..
    Employee are treated as vendors.
    Expenses like: Newspaper exp.
    What kind of entry will be involve for this?what kind of GL will be required and how many GL?
    When we see employee account balances(report), it should show the different expenses individually. Is it possible in sap.
    Thanks.

    Dear,
    Employee you are treating as aVendor right?
    Then how you clear one vendor without Open items??
    You can post Advance without Invoice..
    Everything will be common like Vendors...
    Regards,
    Dharma rao. Yekula

  • Employee attendance system

    hello all,
    what are the requirements for creating a employee attendance tracking system
    what are all the tables colums i want to create for the same

    HI user13792460
    FOR DATA BASE Side u can use intially
    --======================
      FOR DATA BASE
    --===========
    CREATE TABLE DEPT
    ( DEPTNO NUMBER(3),
    DNAME VARCHAR2(35) NOT NULL ,
    LOC VARCHAR2(17),
    CONSTRAINT PK_DEPT PRIMARY KEY ( DEPTNO ) );
    --==================================
    CREATE TABLE EMP
    ( EMPNO NUMBER(5) ,
    ENAME VARCHAR2(39)NOT NULL,
    JOB VARCHAR2(9),
    DEPTNO NUMBER(3),
    CONSTRAINT PK_EMP PRIMARY KEY ( EMPNO ) ,
    CONSTRAINT FK_DEPT FOREIGN KEY ( DEPTNO )   
    REFERENCES DEPT( DEPTNO )
    --=================================
    CREATE TABLE EMP_ATTENDANCE
    ( ATTEND_ID NUMBER(5) ,
    ATT_DATE DATE,
    TIME_IN  DATE,
    TIME_OUT  DATE,
    ATTENDANCE_FLAG  CHAR(1),
    PERMISSION_FLAG  CHAR(1),
    MISSION_FLAG     CHAR(1),
    HOLIDAY_FLAG      CHAR(1),
    EMPNO NUMBER(5) ,
    DEPTNO NUMBER(3),
    CONSTRAINT PK_ATTEND_ID PRIMARY KEY ( ATTEND_ID) ,
    CONSTRAINT FK_EMP_ATTEND FOREIGN KEY ( EMPNO )   
    REFERENCES EMP( EMPNO ),
    CONSTRAINT FK_DEPT_ATTEND FOREIGN KEY ( DEPTNO )   
    REFERENCES DEPT( DEPTNO )
    --==================================Viewing Information about constraints
    To see information about constraints, you can query the following data dictionary tables.
    --==================================
    SELECT * FROM  user_constraints;
    SELECT * FROM  user_cons_columns;
    --==================================
    Hope this helps u...
    Regards,
    Abdetu...

  • Employee Attendance log in system

    Hello all,
    1. how to design employee attendance log in system using oracle forms and have to create reports for the same.?
    2. how to create tables for employee attendance log in system ?

    1. how to design employee attendance log in system using oracle forms and have to create reports for the same.?use any editor you know how to use,
    2. how to create tables for employee attendance log in system ?CREATE TABLE .....

  • Object: employee attendance maintainance

    Hi all,
       I am a fresher in ABAP and i am trying to work on employee attendance management for a company.
    i have one employee master, a department master, attendance transaction table. I have few doubts regarding the screen to update employees and screeen to maintain attendance and leave status .
    1. How do i validate the employeee date of birth?
    2. How do i get the total no. of working hours with entry time and exit time?
    3. How do i create a nuber range using SNRO and how do i get it to my program.
    Please if anybody have time answer it i am struggling a lot
    Thnaks in advance.
    Regrads

    hi check this..
    1. How do i validate the employeee date of birth?
    do like this..
    data: v_gbdat like pa0002-gbdat .
    select gbdat from pa0002 into v_gbdat
                      where pernr in s_pernr.
    2. How do i get the total no. of working hours with entry time and exit time?
    go to the table pa0007 ....check the fields...
    MOSTD
    WOSTD
    ARBST
    go to PA2012 for the time record..
    regards,
    venkat

  • Employee costs related to FI?

    Hi,
    I am actually BI guy. Now my requirement is to calculate costs related to employee BI from HR.
    Before going a head i would like to know the relationship between employee and FI.
    Can anyone clarify me the following questions?
    How can i calculate below employee costs. which tables i need to use and by using wage type can i differentiate costs related to employee?
    1. Manpower Costs
    2. Recruitment costs
    3.Training & Development costs
    4.Separation Costs
    5.Training & Development costs/ FTE
    6.Business Trip costs
    7.Recruitment cost/ No of person Hired during the period
    8.Other costs
    Thanks

    Hi Kool,
    As far as I know there is no specific table of field for recruitment expenses. Is client keep it based on applicant(AP) or employee(EE)? If yes how they are doing that?
    You know we specify a cost for RC ad. but I am not sure how they assign it to EE. Imagine 100 AP apply for a job and they hire just 2. How they keep the cost is related to for these EEs? It's better to ask the process from client for this issue then we can find how SAP keeps it.
    For training and travel cost also I doesn't have any experience. I recommend to consider SAP standard structure for HR in business warehouse(BW) system. You should search how to extract for example travel cost. For example have a look at http://scn.sap.com/thread/1986595
    Otherwise if you are interested in considering FI tables again you should ask client how they are keeping FI data for EEs. As far as I know in FI side they should define a Vendor account for each EE. If this is the case you can find in tables BSIK and BSAK.
    By the way, you should consider if they have any special G/L indicator also or not. To separate the items in FI maybe they have some G/L accounts and they are posting through vendor(account payable in accounting menu) but by special G/L indicator.
    Regards,
    Omid

  • How to get employee attendance based on device login

    i am having two tables by name tempdevicelogs and emp_settings. In tempdevicelogs "logdatetime" is a coloumn and
    in emp_setting  "emp_status" is another column.
    if any employee logs in then emp_status should show present else absent.
    emp_status is char type.
    can anyone help me out to get the results.
    Thank you

    These two tables are related with device_person_id(dbo.tempDeviceLogs) and personal_id(dbo.Emp_setting) 
    this is  dbo.tempDeviceLogs
    logid device_    device_id logdatetime             logverify work       machin_install data_loaded_dt      inout
    person_id                                  mode     codeid     id
    1 2955
    1 2014-01-02 06:30:37.000
    10         0
    1 2014-01-06 00:00:00.000
    0
    2 3167
    1 2014-01-02 06:30:41.000
    10         0
    1 2014-01-06 00:00:00.000
    0
    3 3349
    1 2014-01-02 06:30:49.000
    10         0
    1 2014-01-06 00:00:00.000
    0
    dbo.Emp_setting
    Empset_id  personal_id designation_id division_id  emp_status emp_type_id dept_id 
    1                  1                 63                      3              
       y                   2                4                          
    2                  2                  230                    3                
    y                   2                 26                        
    3                  3                 173                     3                 y  
                    2                  10                        
    19.             987      
    20               988

  • How to display Employee Attendance Data in Crosstab Format?

    Hi all,
    I have the data in sql server 2005 like below, which saves the employee in date and in time and entry type 
    How can i create a cross tab query for the above records in sql server 2005. and i need the record in the below format:
    where 1, 2, 3 are indate days, and below is intime, out time and the difference of hours per employee...
    How can i achieve it as i have to make report for it... need sql query or stored procedure for the format required.
    Thanks in adv.

    One could argue that the crosstab is best produced in the presentation layer and that SQL Server should only return the raw data. But if you like to hurt yourself...
    First you need an unpivoting query to put starttime, endtime and length in a single row. Since all columns in a row needs to have the same data type, this requires some care.
    We take this CTE:
    WITH CTE AS (
      SELECT t.EmpID, u.n, datepart(day, t.starttime) AS day
             substring(convert(char(23),
                CASE u.n WHEN 1 THEN t.starttime
                         WHEN 2 THEN t.endtime
                         WHEN 3 THEN dateadd(ss, datediff(ss, t.starttime, t.endtime), '19000101')
                END, 108), 11, 5)
      FROM   tbl
      CROSS  JOIN (SELECT n = 1 UNION ALL SELECT 2 UNION ALL SELECT 3)
      WHERE  t.starttime >= @month + '01'
        AND  t.starttime <  dateadd(month, 1, @month + '01')
    I assume here that @month is on the form YYYYMM.
    Before I go on, I like to point out that something you need to consider is what output you want if there are multiple entries the same day. And even worse, what output do you want if the intervals are overlapping? To keep this post down in complexity, I
    will ignore this situation, but I like to stress that unless you have the appropriate triggers and constraints in place, you will have that sort of data in a real production scenarion. Bad data knows how to creep in.
    With the CTE above, we can now pivot the data per day. It is kind of boring to write:
    SELECT EmpID,
           MIN (CASE day WHEN 1 THEN data END) AS [1],
           MIN (CASE day WHEN 2 THEN data END) AS [2],
           MIN (CASE day WHEN 31 THEN data END) AS [31]
    FROM   CTE
    GROUP  BY EmpID, n
    ORDER  BY EmpID, n
    Note: all code here is untested. If you want a tested solution, you need to supply the CREATE TABLE statements for your table and sample data as INSERT statements.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Employee attendance query

    I Have 3 tables
    dbo.Emp_setting
    name data type allownulls
    Empset_id int Unchecked
    personal_id int Unchecked
    DesignationID int Checked
    DivisionID int Checked
    Emp_status char(1) Checked
    Emp_TypeId int Checked
    Dept_Id int Checked
    Group_Id int Checked
    NDIVGRP_CODE bigint Checked
    dbo.tempDeviceLogs
    name datatype allow nulls
    LogsID int Unchecked
    Device_Person_id int Unchecked
    Device_id int Unchecked
    logDateTime datetime Unchecked
    logVerifyMode nchar(10) Unchecked
    workCodeID int Unchecked
    Machin_install_id int Unchecked
    data_loaded_dt datetime Checked
    Inout int Checked
    dbo.persons_profile
    [pesonal_id]
    ,[Emp_Code]
    ,[Title]
    ,[First_name]
    ,[Middle_name]
    ,[last_name]
    ,[Father_Husband_Name]
    ,[Dob]
    ,[Age]
    ,[gender]
    ,[Marital_status]
    ,[Nationality]
    ,[bloodGroup]
    ,[perAddress]
    ,[PerStreet]
    ,[PerLocation]
    ,[PerCity]
    ,[PerPincode]
    ,[CorAddress]
    ,[CorStreet]
    ,[CorLocation]
    ,[CorCity]
    ,[CorPincode]
    ,[LandlinePhone]
    ,[cellNo]
    ,[EmailId]
    ,[NosofDependendants]
    ,[Dependendants_details]
    ,[Emergency_FirstName]
    ,[Emergency_Middle_name]
    ,[Emergency_Last_name]
    ,[Emergency_WithRelation]
    ,[Emergency_PhoneNo]
    ,[Emergency_CellNo]
    ,[Emergency_emailId]
    ,[Office_PF_ac_no]
    ,[ESI_ac_no]
    ,[JoinedDate]
    ,[Photofile]
    ,[ReportTo]
    ,[Brief_Notes]
    ,[dateofTermination]
    ,[termination_note]
    ,[Print_Priority]
    ,[DeviceEmployeeID]
    ,[LogsPermitted]
    ,[Machin_install_id]
    ,[Designation]
    ,[Dept]
    ,[Section]
    ,[Groups]
    ,[EmpWorkingTypeT]
    Expected output 
    employeename device_person_id designation emptype Date status
    STATUS is emp_status whether employee is present or absent for a specific day

    in output if we enter todays date then it should show employee details with whether he is present for entered date or not.
    in tempdevicelogs DEVICE_PERSON_ID and in Emp_setting PERSON_ID columns are equal
    SELECT b.Device_Person_ID, a.Personal_id, Date1,
    CASE WHEN b.Device_Person_id IS NOT NULL THEN 'A' ELSE 'P' END as Emp_Status
    FROM Emp_setting a
    LEFT OUTER JOIN (SELECT device_person_id, MAX(logDateTime) AS Date1 FROM tempDeviceLogs GROUP BY device_person_id) b
    ON a.personal_id = b.device_person_id
    with this code am getting output as
    Device_Person_ID Personal_id Date1 Emp_Status
    879 879 2014-05-23 13:06:23.000 A
    92 92 2014-05-23 00:00:00.000 A
    501 501 2014-05-23 00:00:00.000 A
    971 971 2014-05-23 00:00:00.000 A
    384 384 2014-05-23 09:11:54.000 A
    802 802 2014-05-23 00:00:00.000 A
    407 407 2014-05-23 14:52:13.000 A
    762 762 2014-05-23 13:46:20.000 A
    616 616 2014-05-24 00:00:00.000 A
    487 487 2014-05-23 08:27:10.000 A
    109 109 2014-05-23 00:00:00.000 A
    650 650 2014-05-24 00:00:00.000 A
    773 773 2014-05-23 06:03:40.000 A
    556 556 2014-05-24 00:00:00.000 A
    630 630 2014-05-23 00:00:00.000 A
    530 530 2014-05-23 14:51:01.000 A
    301 301 2014-05-24 00:00:00.000 A
    387 387 2014-05-23 05:12:03.000 A
    550 550 2014-05-23 00:00:00.000 A
    942 942 2014-05-23 00:00:00.000 A
    985 985 2014-05-23 00:00:00.000 A
    95 95 2014-05-24 00:00:00.000 A
    521 521 2014-05-23 00:00:00.000 A
    782 782 2014-05-24 00:00:00.000 A
    264 264 2014-05-23 09:02:32.000 A
    951 951 2014-05-23 08:41:22.000 A
    172 172 2014-05-23 00:00:00.000 A
    527 527 2014-05-24 00:00:00.000 A
    229 229 2014-05-23 14:10:37.000 A
    364 364 2014-05-24 00:00:00.000 A
    1005 1005 2014-05-24 00:00:00.000 A
    26 26 2014-05-23 00:00:00.000 A
    533 533 2014-05-24 00:00:00.000 A
    86 86 2014-05-23 00:00:00.000 A
    553 553 2014-05-24 00:00:00.000 A
    63 63 2014-05-24 00:00:00.000 A
    292 292 2014-05-23 09:30:36.000 A
    633 633 2014-05-24 00:00:00.000 A
    639 639 2014-05-24 00:00:00.000 A
    854 854 2014-05-23 00:00:00.000 A
    213 213 2014-05-23 00:00:00.000 A
    499 499 2014-05-23 09:18:33.000 A
    994 994 2014-05-23 00:00:00.000 A
    307 307 2014-05-23 09:21:13.000 A
    267 267 2014-05-24 00:00:00.000 A
    1006 1006 2014-05-23 08:40:14.000 A
    127 127 2014-05-23 00:00:00.000 A
    814 814 2014-05-23 00:00:00.000 A
    370 370 2014-05-23 00:00:00.000 A
    107 107 2014-05-23 00:00:00.000 A
    914 914 2014-05-23 00:00:00.000 A
    130 130 2014-05-23 00:00:00.000 A
    797 797 2014-05-23 00:00:00.000 A
    728 728 2014-05-24 00:00:00.000 A
    883 883 2014-05-23 00:00:00.000 A
    7 7 2014-05-23 00:00:00.000 A
    585 585 2014-05-23 00:00:00.000 A
    691 691 2014-05-23 00:00:00.000 A
    442 442 2014-05-23 08:12:05.000 A
    834 834 2014-05-23 00:00:00.000 A
    840 840 2014-05-23 00:00:00.000 A
    24 24 2014-05-23 00:00:00.000 A
    688 688 2014-05-23 00:00:00.000 A
    711 711 2014-05-23 00:00:00.000 A
    141 141 2014-05-24 00:00:00.000 A
    757 757 2014-05-24 00:00:00.000 A
    525 525 2014-05-23 00:00:00.000 A
    974 974 2014-05-23 00:00:00.000 A
    279 279 2014-05-23 00:00:00.000 A
    671 671 2014-05-23 08:52:21.000 A
    270 270 2014-05-23 00:00:00.000 A
    857 857 2014-05-23 14:28:11.000 A
    84 84 2014-05-23 14:00:09.000 A
    153 153 2014-05-24 00:00:00.000 A
    227 227 2014-05-23 08:29:05.000 A
    559 559 2014-05-24 00:00:00.000 A
    674 674 2014-05-24 00:00:00.000 A
    508 508 2014-05-23 08:35:42.000 A
    61 61 2014-05-23 00:00:00.000 A
    482 482 2014-05-23 00:00:00.000 A
    651 651 2014-05-23 00:00:00.000 A
    800 800 2014-05-23 00:00:00.000 A
    90 90 2014-05-23 00:00:00.000 A
    290 290 2014-05-24 00:00:00.000 A
    253 253 2014-05-23 09:29:58.000 A
    339 339 2014-05-24 00:00:00.000 A
    104 104 2014-05-24 00:00:00.000 A
    119 119 2014-05-23 00:00:00.000 A
    142 142 2014-05-24 00:00:00.000 A
    875 875 2014-05-23 09:04:53.000 A
    65 65 2014-05-24 00:00:00.000 A
    720 720 2014-05-23 00:00:00.000 A
    620 620 2014-05-24 00:00:00.000 A
    858 858 2014-05-23 00:00:00.000 A
    271 271 2014-05-23 13:31:56.000 A
    812 812 2014-05-23 08:31:14.000 A
    105 105 2014-05-23 00:00:00.000 A
    228 228 2014-05-23 00:00:00.000 A
    136 136 2014-05-23 00:00:00.000 A
    540 540 2014-05-23 00:00:00.000 A
    42 42 2014-05-24 00:00:00.000 A
    5 5 2014-05-23 14:14:00.000 A
    640 640 2014-05-23 00:00:00.000 A
    689 689 2014-05-23 00:00:00.000 A
    594 594 2014-05-24 00:00:00.000 A
    500 500 2014-05-23 00:00:00.000 A
    523 523 2014-05-23 08:04:59.000 A
    1041 1041 2014-05-23 09:04:58.000 A
    1024 1024 2014-05-23 08:18:28.000 A
    139 139 2014-05-23 00:00:00.000 A
    803 803 2014-05-23 00:00:00.000 A
    623 623 2014-05-24 00:00:00.000 A
    669 669 2014-05-23 07:50:35.000 A
    128 128 2014-05-23 08:27:59.000 A
    122 122 2014-05-23 00:00:00.000 A
    866 866 2014-05-23 00:00:00.000 A
    59 59 2014-05-23 00:00:00.000 A
    772 772 2014-05-24 00:00:00.000 A
    723 723 2014-05-23 00:00:00.000 A
    108 108 2014-05-23 00:00:00.000 A
    251 251 2014-05-23 14:00:23.000 A
    531 531 2014-05-24 00:00:00.000 A
    749 749 2014-05-23 00:00:00.000 A
    743 743 2014-05-24 00:00:00.000 A
    537 537 2014-05-23 00:00:00.000 A
    145 145 2014-05-23 00:00:00.000 A
    835 835 2014-05-23 00:00:00.000 A
    71 71 2014-05-23 00:00:00.000 A
    263 263 2014-05-23 08:40:24.000 A
    117 117 2014-05-23 00:00:00.000 A
    549 549 2014-05-24 00:00:00.000 A
    526 526 2014-05-23 00:00:00.000 A
    873 873 2014-05-24 00:00:00.000 A
    77 77 2014-05-24 00:00:00.000 A
    409 409 2014-05-24 00:00:00.000 A
    280 280 2014-05-23 06:51:33.000 A
    956 956 2014-05-23 00:00:00.000 A
    217 217 2014-05-24 00:00:00.000 A
    223 223 2014-05-23 00:00:00.000 A
    518 518 2014-05-24 00:00:00.000 A
    123 123 2014-05-23 08:26:14.000 A
    558 558 2014-05-24 00:00:00.000 A
    83 83 2014-05-23 05:41:26.000 A
    581 581 2014-05-23 00:00:00.000 A
    177 177 2014-05-23 08:22:48.000 A
    652 652 2014-05-24 00:00:00.000 A
    352 352 2014-05-23 08:57:45.000 A
    91 91 2014-05-24 00:00:00.000 A
    538 538 2014-05-24 00:00:00.000 A
    495 495 2014-05-23 08:26:38.000 A
    838 838 2014-05-24 00:00:00.000 A
    947 947 2014-05-23 09:13:06.000 A
    114 114 2014-05-23 00:00:00.000 A
    20 20 2014-05-23 14:05:07.000 A
    953 953 2014-05-24 00:00:00.000 A
    841 841 2014-05-23 00:00:00.000 A
    57 57 2014-05-23 00:00:00.000 A
    798 798 2014-05-23 00:00:00.000 A
    157 157 2014-05-23 00:00:00.000 A
    578 578 2014-05-23 00:00:00.000 A
    137 137 2014-05-23 00:00:00.000 A
    790 790 2014-05-23 00:00:00.000 A
    8 8 2014-05-23 00:00:00.000 A
    598 598 2014-05-24 00:00:00.000 A
    1039 1039 2014-05-23 00:00:00.000 A
    151 151 2014-05-23 00:00:00.000 A
    194 194 2014-05-23 09:11:33.000 A
    541 541 2014-05-23 08:06:59.000 A
    NULL 261 NULL P
    NULL 593 NULL P
    NULL 925 NULL P

  • Query for employee attendance

    Select Device_Person_id,personal_id,Date1,(
    cASE WHEN eXISTS(
    sELECT Device_Person_id FROM tempDeviceLogs AT WHERE T.personal_id=AT.Device_Person_id AND T.date1=AT.logDateTime
    ) then 'P' Else 'A' End )as Emp_Status
    FROM
    Select Device_Person_id,personal_id,Cast(logDateTime as DATE)AS DATE1 from Emp_setting a,(Select Distinct logDateTime from tempDeviceLogs) b
    ) T
    it causing error like "Invalid column name 'Device_Person_id'."
    how inout can be used in this query to get result.
    this is my first project don't have much idea so please help me.
    dbo.tempDeviceLogs table
    columnname datatype allownulls
    LogsID int Unchecked
    Device_Person_id int Unchecked
    Device_id int Unchecked
    logDateTime datetime Unchecked
    logVerifyMode nchar(10) Unchecked
    workCodeID int Unchecked
    Machin_install_id int Unchecked
    data_loaded_dt datetime Checked
    Inout int Checked
    dbo.Emp_setting
    columnname data type allownulls
    Empset_id int Unchecked
    personal_id int Unchecked
    DesignationID int Checked
    DivisionID int Checked
    Emp_status char(1) Checked
    Emp_TypeId int Checked
    Dept_Id int Checked
    Group_Id int Checked
    NDIVGRP_CODE bigint Checked
    dbo.persons_profile
    column name datatype allow nulls
    pesonal_id int Unchecked
    Emp_Code nchar(15) Checked
    Title nchar(4) Unchecked
    First_name varchar(35) Unchecked
    Middle_name varchar(35) Checked
    last_name varchar(35) Checked
    Father_Husband_Name varchar(35) Unchecked
    Dob datetime Unchecked
    Age int Unchecked
    gender nchar(1) Unchecked
    Marital_status nchar(1) Unchecked
    Nationality nchar(10) Unchecked
    bloodGroup nchar(10) Unchecked
    perAddress nchar(100) Unchecked
    PerStreet nchar(100) Checked
    PerLocation nchar(50) Unchecked
    PerCity nchar(20) Checked
    PerPincode nchar(6) Checked
    CorAddress nchar(50) Checked
    CorStreet nchar(50) Checked
    CorLocation nchar(50) Checked
    CorCity nchar(20) Checked
    CorPincode nchar(6) Checked
    LandlinePhone nchar(24) Checked
    cellNo nchar(24) Checked
    EmailId nchar(35) Checked
    NosofDependendants int Checked
    Dependendants_details ntext Checked
    Emergency_FirstName nchar(35) Checked
    Emergency_Middle_name nchar(35) Checked
    Emergency_Last_name nchar(35) Checked
    Emergency_WithRelation nchar(25) Checked
    Emergency_PhoneNo nchar(22) Checked
    Emergency_CellNo nchar(22) Checked
    Emergency_emailId nchar(35) Checked
    Office_PF_ac_no nchar(20) Checked
    ESI_ac_no nchar(20) Checked
    JoinedDate datetime Checked
    Photofile nchar(50) Checked
    ReportTo varchar(50) Checked
    Brief_Notes nchar(150) Checked
    dateofTermination varchar(10) Checked
    termination_note nchar(50) Checked
    Print_Priority int Checked
    DeviceEmployeeID nchar(25) Checked
    LogsPermitted int Unchecked
    Machin_install_id int Checked
    Designation nchar(100) Checked
    Dept nchar(100) Checked
    Section nchar(100) Checked
    Groups nchar(100) Checked
    EmpWorkingTypeT nchar(100) Checked

    Select Device_Person_id,personal_id,Date1,
    cASE WHEN eXISTS(
    sELECT Device_Person_id FROM tempDeviceLogs AT WHERE T.personal_id=AT.Device_Person_id AND T.date1=AT.logDateTime
    ) then 'P' Else 'A' End as Emp_Status
    FROM
    Select Device_Person_id,personal_id,Cast(logDateTime as DATE)AS DATE1 from Emp_setting a,(Select Distinct logDateTime from tempDeviceLogs) bfrom TBL
    ) TLooks you missed FROM clause in T Subquery
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Error in self service for my employee - Related Activities in MSS

    Hi,
    NW2004s SP9  EP7.0 ECC 6.0
    we are trying to implement the self service for my employee in related activites functinality from the general information of team workset ( Team --> General informatio --> Related activities --> Self service for my employee ) in MSS which is a replicaiton of ESS in MSS functionality from the previous versions.
    When
    I click on any of the options like Personal data or Addresses it gives me a blank page with no information on it. (It does give a DONE message with error/warning message on the status bar of Internet explorer. The error message says getactivetrackingEntryValue() is null)
    Do I need to do anything to get this page working. I do not see any config related to this.
    Appreciate any inputs.
    regards
    sam

    James,
    I think the note refers to note been able to display the general infromation iView itself. I have implemented the note and am able to see the genral information iView. My issue is I am not able to perform "Self service for my employees" in "related activities" iView.
    Thank for you reply and correct me if I am wrong.
    Sanjay, I have raised the issue with SAP, in the mean while if you can please let me know the patches or a list of them that are requried thyat would be awesome. Sorry for asking you this, but the basis team here asks to tell them what is requried even though I do not have sufficient authorizations to check them.
    Appreciate you help on the same.
    regards
    Sam

  • 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 PM

    You 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

Maybe you are looking for

  • Field symbols and READ TABLE with system code 4

    Hi, I have a hashed table and I am using field symbols to point to it to retrieve the field content. I then use it in the READ TABLE statement in the following way: Loop at x_data assign <fs>. ASSIGN COMPONENT 'xxx' OF STRUCTURE <fs> TO <c1>. ASSIGN

  • Will someone check something for me.

    My shiny new 4TB external HDD arrived today, my 2TB drive was full with my itunes media. I created a folder which I called itunes, nominated it as my new itunes folder in itunes prefs and consolidated. It's copied about 450 GB of media so far and mig

  • Outbound Proxy - XI - File scenario. Outbnd proxy not callin XI.

    Hi All, I have a requirement where I have to develop a Outbound Asynch Proxy-> XI -> File scenario. For this I have crated an Outbound Asynch proxy and called this proxy from a report in ABAP. When I execute the report, i am unable to see the message

  • I had to reactivate channels why, wifi or cable which is better

    I had to reactivate some channels what would cause this and would it be better to use a Internet cable instead of wifi to stop buffering

  • GRN OUTPUT

    Hi all How to make message output type default in message of Material document to take print out of GRN in mb90 kindly suggest Thanks Rajesh