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

Similar Messages

  • 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

  • MSS Work Overview issue "There is no iView available for system "SAP_ERP_HumanResources": object "employee"

    Hello Expert ,
    I am facing the below error when Manager clicks on the leave link under column 'Type Of Leave' . (please refer the below picture)
    There is no iView available for system "SAP_ERP_HumanResources": object "employee". For more information, contact your administrator.
    am I missing any configuration ?
    Thanks and Regards,
    Ravi

    Siddharth's response and the SAP Note he mentioned were both very helpful. I received the exact same error message in a different scenario. While the fix was likely different than the one needed in this specific case, it occurs often in custom MSS and HR Admin roles and I hope this helps someone else out. In my case I needed to add the Pages shown below to my Workset and mark them as invisible.
    error message:
    fix in my case:
    Thanks,
    Ben Marsh

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

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

  • Error message BL011: For object FIAA, no sub-object 100 is maintained

    Hi,
    When I execute asset revaluation transaction (J1AI), the system shows the following error message: For object FIAA, no sub-object 100 is maintained.
    I have searched this error in OSS notes but I haven't found anything about it.
    Could you help me? Thanks in advance. Regards.

    Probably, the subobject 100 wasn´t created in transaction SLG0, object FIAA. By error message BL011 you´ve
    to create this subobject.
    Please, run the transaction SLGO, FIAA -> subobject  -> new entries -> "100 Post revaluation".

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

  • Series Primary overlaps object Employee Permission

    Hi friend,
    While editing document numbering series, the following error is showing...
    Series Primary overlaps object Employee Permission
    Pls adivice how to resolve it.
    Regards,
    Silambu

    Hi,
    Please check threads:
    Series Overlaps Object
    I am getting an error while performing task for document numbering series
    Document Numbering Series
    Thanks & Regards,
    Nagarajan

  • Object type not maintained for message type

    Hi,
    I am working on chnage pointers for Vendor classification data. when I execute the program RBDMIDOC (BD21) I get the error Object type LIFNR not maintained for Message type.
    If anyone has worked on change pointers, please guide me in solving this error.
    Thanks
    Hari

    Hi
    Which msg type u r using there.
    Regads,
    Prasad.

  • Authorization object to view Maintain Performance Documents on MSS

    Hi Experts,
    Would like to know which authorization object would require to view Maintain Performance Documents on MSS. Currently, we removed SAP_ALL access from MSS user and not able to peform Maintain Performance Documents.We are on EP 7 and ECC 6.
    It gives following error :
    java.lang.NullPointerException
         at com.sap.xss.hr.mbo.blc.BMboStatusComp.resetGlobalMboR3Data(BMboStatusComp.java:260)
         at com.sap.xss.hr.mbo.blc.wdp.InternalBMboStatusComp.resetGlobalMboR3Data(InternalBMboStatusComp.java:195)
         at com.sap.xss.hr.mbo.blc.BMboStatusCompInterface.resetGlobalMboR3Data(BMboStatusCompInterface.java:150)
         at com.sap.xss.hr.mbo.blc.wdp.InternalBMboStatusCompInterface.resetGlobalMboR3Data(InternalBMboStatusCompInterface.java:168)
         at com.sap.xss.hr.mbo.blc.wdp.InternalBMboStatusCompInterface$External.resetGlobalMboR3Data(InternalBMboStatusCompInterface.java:224)
         at com.sap.xss.hr.mbo.vac.VMboStatusComp.onBeforeOutput(VMboStatusComp.java:227)
         at com.sap.xss.hr.mbo.vac.wdp.InternalVMboStatusComp.onBeforeOutput(InternalVMboStatusComp.java:185)
         at com.sap.xss.hr.mbo.vac.VMboStatusCompInterface.onBeforeOutput(VMboStatusCompInterface.java:143)
         at com.sap.xss.hr.mbo.vac.wdp.InternalVMboStatusCompInterface.onBeforeOutput(InternalVMboStatusCompInterface.java:136)
         at com.sap.xss.hr.mbo.vac.wdp.InternalVMboStatusCompInterface$External.onBeforeOutput(InternalVMboStatusCompInterface.java:212)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:603)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:569)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1288)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
         at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:192)
         at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Would appreciate kind guidance to resolve issue.
    Thanks in advance.
    Aashish

    I am closing this thread as opened at wrong place.
    Thanks,
    Aashish

  • Number Range Object For following object is not maintained for year 2008,

    Hello Together,
    Now the 2008 year has begun.....All the number range object in Excise related process ( CIN ) has to be changed.
    I would like to know whether i need to change the only Year in SNRO or i have add new year in that setting.
    Below is the example :-
    Ranges   Year      From Number       TO Number   Current Number
    01           2007     001000000            99999999     10001013
    If i change only year i,e. insted of 2007 i will change 2008....what will be impact?
    Please guide
    Thanks in advance
    Shailesh

    go to J1I9-select the object--here maintain a new year for the same number range:
    Ranges Year From Number TO Number Current Number
    01 2007 001000000 99999999 10001013
    01 2008 001000000 99999999
    give enter---save.
    regards,
    indranil

  • Objects do not maintain placement once site is published

    I am having a HUGE issue with differet objects moving around. What the site looks like in Muse and when previewed in browser is NOTHING like what it looks like after it's uploaded to the server and live on the Web. It's ridiculous and making me HATE Muse!!! BUGGY!!!!! Text shifts. Images shift. The ONLY objects that are exactly where they should be are the objects in the master page. My header and footer. My navigation. Anything I place on another page is completely random. I am working on a very large and expensive site and I am spending 10 times longer trying to fix the bugs than I am spending building it and making progress. I should have stuck with dreamweaver but it's too late now. PLEASE FIX THIS ADOBE!

    Hi,
    I was having a similar issue with my images and widgets not aligning properly when previewing and viewing in browser.  I fixed my issue by selecting my objects and unticking the 'Footer' checkbox (next to the anchor button).  This stopped my images from being affected depending on where the footer was.
    I hope it might help with your issue.
    Good luck!

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

Maybe you are looking for

  • How to tell if a client has backed up to Time Machine

    I have multiple MACBook Pro and an iMAC at my home.  All are configured to backup to the same Time Machine.  One of the MacBook Pro had a problem with the installation of Lion and needs to restore from a Time Capsule backup.  When prompted for the us

  • Save as type shows default as web page instead of excel

    Hi. After exporting the data to excel,When we try to do a save as to the excel,the default type is shown as '"web page".We neded the default save as type to be shown as excel... Any pointers would be of great help Thanks in advance Bhagyarekha.

  • How to handle the interfaces in upgradation from 4.6c to ECC6.0

    we are going for the upgrade from 4.6c to ECC6.0 actually we are using n number of interfaces like webmethods, informatica powercenter, ALE, EDI.... powercenter was created some programs in SAP R/3, when we are upgrading from 4.6c to ECC6.0, what kin

  • No way to set seconds on the Nano?

    So is this an Apple thing...no way to set seconds on the Nano (or iPhone I believe)?

  • Help: SQL list all duplicate records

    Given table B with employer_id, ssn, period and employee_name, list all records with duplicate ssn for a given period and employer_id. I used: select employer_id, ssn, employee_name, count(ssn) from B group by employer_id, ssn where period='xxx' and