Report for time log on detail for each employees in SAP ABAP-HR report

hi experts,
      please help me .how to create a report for time log on detail for each employees in SAP ABAP-HR report.please help me.
                                                  thank you

Hi,
For Time Management Infotypes , If you want to read the data using macro you need to use the Macro called RP_READ_ALL_TIME_ITY
Example:
DATA: BEGDA LIKE P2001-BEGDA, ENDDA LIKE P2001-ENDDA.
   INFOTYPES:  0000, 0001, 0002, ...
                     2001 MODE N, 2002 MODE N, ...
     GET PERNR.
   BEGDA = '19900101'. ENDDA = '19900131'.
   RP_READ_ALL_TIME_ITY BEGDA ENDDA.
   IF PNP-SW-AUTH-SKIPPED-RECORD NE '0'.
      WRITE: / 'Authorization for time data missing'.
      WRITE: / 'for personnel number', PERNR-PERNR. REJECT.
   ENDIF.

Similar Messages

  • Query help for archive log generation details

    Hi All,
    Do you have a query to know the archive log generation details for today.
    Best regards,
    Rafi.

    Dear user13311731,
    You may use below query and i hope you will find it helpful;
    SELECT * FROM (
    SELECT * FROM (
    SELECT   TO_CHAR(FIRST_TIME, 'DD/MM') AS "DAY"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '00', 1, 0)), '999') "00:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '01', 1, 0)), '999') "01:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '02', 1, 0)), '999') "02:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '03', 1, 0)), '999') "03:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '04', 1, 0)), '999') "04:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '05', 1, 0)), '999') "05:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '06', 1, 0)), '999') "06:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '07', 1, 0)), '999') "07:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '08', 1, 0)), '999') "08:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '09', 1, 0)), '999') "09:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '10', 1, 0)), '999') "10:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '11', 1, 0)), '999') "11:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '12', 1, 0)), '999') "12:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '13', 1, 0)), '999') "13:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '14', 1, 0)), '999') "14:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '15', 1, 0)), '999') "15:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '16', 1, 0)), '999') "16:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '17', 1, 0)), '999') "17:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '18', 1, 0)), '999') "18:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '19', 1, 0)), '999') "19:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '20', 1, 0)), '999') "20:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '21', 1, 0)), '999') "21:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '22', 1, 0)), '999') "22:00"
           , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '23', 1, 0)), '999') "23:00"
        FROM V$LOG_HISTORY
        WHERE extract(year FROM FIRST_TIME) = extract(year FROM sysdate)
    GROUP BY TO_CHAR(FIRST_TIME, 'DD/MM')
    ) ORDER BY TO_DATE(extract(year FROM sysdate) || DAY, 'YYYY DD/MM') DESC
    ) WHERE ROWNUM < 8;Hope That Helps.
    Ogan

  • Nodes statement in payroll in SAP ABAP hr  Report

    hi,
      i am working in sap abap hr report for payroll.i am using nodes statement in that report.it is showing error that ""PERNR" is not a node of the logical database __S".how can i solve this error.in this report.          
    NODES pernr .
    INFOTYPES: 0000, 0001, 2001.
    TABLES: t554s, pcl1, pcl2.
    INCLUDE rpclst00.
    INCLUDE rpc2rx09.                      "Payroll results datadefns-Intl.
    INCLUDE rpc2rxx0.                      "Payroll results datadefns-Intl.
    INCLUDE rpc2rgg0.                      "Payroll results datadefns-GB
    INCLUDE rpcfdcg0.                      "Payroll results datadefns-GB
    INCLUDE rpcdatg0.
    INCLUDE rpc2cd00.                      "Cluster Directory defns.
    INCLUDE rpc2ps00.                      "Cluster: Generierte Schematas
    INCLUDE rpc2pt00.
    INCLUDE rpcfdc10.
    INCLUDE rpcfdc00.
    INCLUDE rpppxd00.
    INCLUDE rpppxd10.
    INCLUDE rpcfvp09.
    INCLUDE rpcfvpg0.
    INCLUDE rpppxm00.
    TYPES: BEGIN OF t_salrate,
        seqnr    TYPE pc261-seqnr,
        begda    TYPE p2001-begda,
        endda    TYPE p2001-endda,
        split(2) TYPE c,
        val      TYPE p DECIMALS 2,
       END OF t_salrate.
    DATA: it_salrate TYPE STANDARD TABLE OF t_salrate INITIAL SIZE 0,
          wa_salrate TYPE t_salrate.
    *Selection screen
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: so_awart FOR p2001-awart.
    SELECTION-SCREEN END OF BLOCK block1.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    GET pernr.
    get payroll results data
      rp-init-buffer.
      CLEAR rgdir. REFRESH rgdir.
      CLEAR rt. REFRESH rt.
      CLEAR: rx-key.
    set key to current pernr
      MOVE pernr-pernr(8) TO cd-key-pernr.
    retrieves payroll results for specific pernr(personnel number)
      rp-imp-c2-cd.
      IF rp-imp-cd-subrc = 0.                                "rgdir success
        rx-key-pernr = pernr-pernr.
        SORT rgdir BY seqnr ASCENDING.
        CLEAR rgdir.
      ENDIF.
      SORT rgdir BY fpbeg fpend ASCENDING seqnr DESCENDING.
    RGDIR the table where all payroll results periods are stored
      LOOP AT rgdir WHERE  abkrs IN pnpabkrs        "pay area
                      AND  srtza EQ 'A'
                      AND  void  NE 'V'.
        IF sy-subrc NE 0.
        set key to specific payroll results period(current RGDIR loop pass)
          UNPACK rgdir-seqnr   TO   rx-key-seqno.
        Retrieves data for specific payroll results period (current RGDIR
        loop pass)
          rp-imp-c2-rg.
        Loop at wpbp data for specific payroll results period
          LOOP AT wpbp.
            wa_salrate-seqnr = rgdir-seqnr.
            wa_salrate-begda = wpbp-begda.
            wa_salrate-endda = wpbp-endda.
            wa_salrate-split = wpbp-apznr.
          loop at rt data for specific payroll results period
            LOOP AT rt WHERE lgart EQ '/010' AND             "wage type
                             apznr EQ wpbp-apznr.            "payroll split
              wa_salrate-val = ( rt-betpe * ( wpbp-adivi / wpbp-kdivi ) ).
              APPEND wa_salrate TO it_salrate.
            ENDLOOP.
          ENDLOOP.
        Process BT table
          LOOP AT BT.
          ENDLOOP.
        Process NIPAY table
          LOOP AT NIPAY.
          ENDLOOP.
        etc................
        ENDIF.
      ENDLOOP.
    *END-OF-SELECTION.
    END-OF-SELECTION.

    Hi,
    Have you put a Logical Database in the attributes of the program that you have created ?
    Regards,
    Samson Rodrigues.

  • Inventory report with the last transaction details of each material

    Hi,
    is there any standard inventory report in SAP which gives us  the last transaction details of each
    Material,along with last procurement qty, value, date and last issue
    details of Qty, Value & date.
    Thansk in advance.

    Hi
    try following t-code
    MB5B u2013 Stock on Posting Date
    or
    2   s_p00_07000139 u2013 Stock Card and Inventory Material Report
    Regards
    Kailas Ugale

  • Looking at external HD for Time machine backup and for XP OS?

    Bought a 24" iMac desktop with a 500 GB HD and am going to be running up to Best Buy to snag a Western Digital external My Book 750 GB HD. Mainly this external is for Time Machine backup, photos, iTunes library, etc. but I'd like to fire up boot camp and install Windows XP OS. Question is, can I install the XP OS on the external HD so I don't have to divide and possibly mess up my internal Mac HD? Also, when I do install XP OS, how much space for a partition? XP will be mainly for just a few PC games that are PC only like Company of Heroes.

    Hi Saius,
    yeah, the more the better...
    BootCamp requires the use of XP with SP2. Without SP2 (SP1 or earlier) it either does not install or if installed can produce some odd errors.
    If you have access to a Windows XP PC you can try these instructions to slipstream the SP2 together with your 'old' XP CD to a new XP SP2 CD.
    http://www.winsupersite.com/showcase/windowsxpsp2slipstream.asp
    Before spending some unneccessary dollars might be worth trying.
    It's not very difficult to do this (done it myself some years back).
    Also it is a good idea to use your external HD and make a bootable clone of your OSX volume using either SuperDuper or Carbon Copy Cloner.
    That way in case something goes wrong, you can easily revert back.
    Personally I would not use Time Machine for that task.
    Have Fun and thanks for the star.
    Stefan

  • API for loading Bank account details for the Customer

    Hi,
    Can anyone tell me what is the API that needs to be used for loading bank account information for the Customer?
    Thanks
    GM

    Hi,
    Were you not able to achieve your requirement with Customer Interface Program?
    There is a interface table 'RA_CUSTOMER_BANKS_INT_ALL' which is used to store customer bank account information. Run the program after inserting the records into this table.
    I guess, there is no public API.
    Regards,
    Ram

  • Report to see WIP calculation details for sales order

    Hi,
    I want to know which is the best report to see the details of WIP calculation for a sales order. There is a WIP posting of 1 million to a sales order and i want to understand how this amount was computed.

    Hi,
    Yes when i went there and call up the line items report i got the following error :-
    Display of debits for object type SDI is not included
    Message no. KD232
    Diagnosis
    You want to display a report for the current sender. This function is currently only possible for the following object types:
    Cost Object
    Orders
    WBS Elements

  • Log on Details for new client

    hi experts,
    I created the client  820 by using  scc4 how can i create the password for that client to log in .
    please give me solution asap.
    Thanks ,
    K.Rajesh.

    Rajesh,
    i would suggest you please close this thread and open new one in Basis forum am sure you will get better and good reply there.
    its an ABAP section.
    Amit.

  • Problem to generat an report on an SSRS for SCCM 2012 R2 SP1. I got error has occurred during report processing.

    Hi,
    Problem to generat an report on an SSRS for SCCM 2012 R2 SP1. I got error has occurred during report processing.
    In general it is no problem to generat SSRS reports, but an custom one i get issue with.
    The Error:
    An
    error has occurred during report processing. (rsProcessingAborted)
    Query
    execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand)
    ExecuteReader:
    CommandText property has not been initialized

    Hi SaiTech,
    According to your description, when you render report on SCCM 2012 R2, you got the error message.
    According to my knowledge, the issue can be caused by following reasons:
    Select permission not granted to ConfigMgr reporting account. We need to open the SQL management console and open the properties dialog box of configmgr db, grant select and execute permission to ConfigMgr reporting account.
    Reporting Services Web Service URL or Report Manager is false. Make sure Web Service URL and Report Manager URL are correct. Restart SMS_Executive service and reinstall Reporting Service Point, then please render the report again.
    Report timeout. Increase query and report timeout.
    If the problem remain unresolved, please provide detailed information of SRSRP.log (default location: %programfiles%\Microsoft  and Configuration Manager\Logs) and reporting services error log(default location: %programfiles%\Microsoft SQL Server\<SQL
    Server Instance>\Reporting Services\LogFiles), it will help us move more quickly toward a solution.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • CAT2 for Time Entry (single and multiple)

    Hello all,
    We have been using CATW for time entry and CAT2 for multiple time entry and have security set up accordingly. We're thinking of moving to CAT2 for all time entry but need to make sure we can configure to allow single time entry for those reporting only their own time, and multiple time entry for those reporting their own as well as others. I think this may be doable between a combination of security and IMG/Data Entry profile work. Does anyone have any experience using CAT2 in this way?
    Thanks,
    Doug

    First create a  data entry profile/CVR through SPRO for a time sheet,
    Then assign this profile to a user through user parameter CVR (Cats Variant for Recording) in the table USR05.
    This CVR is used in CAT2 to access the time sheet corresponding to the profile assigned to the user.
    Thanks
    Mahi

  • Can use old macbook for Time Machine Backup?

    Have an old macbook running snow leopard.  Can I use it for Time Machine Back-up for my current macbook pro?

    Boot your old into Target Disk mode, then plug a FireWire cable from your old to your pro.  Presto!  Your old's internal HD will appear in your pro's Finder as a disk on your pro.  Time machine running on your pro can use it for backup.  Time machine won't disturb its contents, except to add a potentially huge folder there, which will grow to fill the disk with copies of your backups. (Backing up, then) partitioning (and then restoring from backup) your old's internal hard drive will keep your pro's Time Machine from consuming all free space.

  • I am setting up a time machine backup to a external Hard drive.  I want to backup by Mac book Pro running OSX 10.8.5. I would like to Partition the disk and use one partition for Time machine backups and the other for my Lightroom backups. How to do this?

    I want to create a two partition disk. One partition for time machine, the other for Lightroom backup. Currently Time Machine is using the entire drive and it is doing the intial encryption and is about 29% complete after two days.  I've decided that I want to turn encryption off and partition the disk. So I do I start over?

    With the external drive attached, open Finder>Applications>Utilities>Disk Utility.  Select the external drive from the list in the left side panel of the DU window.  In the main window panel, click Partition in the buttons top center of that panel.
    Select the number of partitions you want and adjust their sizes.
    For the first partition, click to highlight the partition, then select the format, Mac OS Extended (Journaled) and then the partition table as GUID [both of those are the defaults].  Click Apply and it will ask to confirm and erase and format that partion...oh, give the partition a name, like Backup. 
    Then repeat those steps for the second partition..and remember to name it...something like Lightroom.
    Close Disk Utilitty and you are ready to send TM to the one partition, and do your backup of Lightroom to the second partition.

  • How to reinitialize an external hard disk drive which serves for Time Machine?

    How to reinitialize an external hard disk drive which serves for Time Machine?
    Thanks for your answer.

    Everything you need to know about initializing (formatting) is here.
    http://pondini.org/OSX/DU1.html
    Lots of useful information on TM is here in the same place.
    http://pondini.org/OSX/Home.html

  • SQL 2012 Transactional Replication Publisher is also AG Primary, AG fine, but Replication status continuously 'waiting for next Log backup'

    Hi,
    I have a SQL 2012 instance that hosts 3 databases that are publishers in (push) transactional replication to subscribers in other domains and are also primary in an Availability Group to other instances in the same domain.  The AG is healty (synchronized),
    and replication is ok for 2 databases, but the third continuously shows the Publisher to Distributor history status as 'Replicated transactions are waiting for next Log backup or for mirroring to catch up.'
    I have weekly full, nightly differential, and hourly log.  Those are running and I've tested restoring the publisher db from them into a test instance.  The option for sync_with_backup is 0.  I generated a new snapshot, no change (haven't
    reinitialized, that will be last possible option as this is production).  When the log backups run, status will briefly change to 'Approximately (x) log records have been scanned in pass # ..., 0 of which were marked for replication' and some data
    does replicate, but then status immediately changes back to the message about waiting for log backup.   We are only replicating tables (no views, sp's, etc).  All subscribers and AG secondaries are SQL 2012.  My db is less than 200
    GB data. 
    The jobs are continuously running and data updates are occurring on the primary.  The distribution database is on the same instance as the publishers.  Anyone have any ideas what could be happening? 
    Thanks greatly!

    Update - I resolved this. 
    We had added a new asynchronous instance to the AG, but hadn't added the databases on the new node to the AG yet.  Conceptually it seems that adding the instance must have marked the logs and interferred with transactional replication on the
    primary.  Once I added the databases to the AG on the secondary, then the replication status cleared on the primary and has remained cleared.  It is odd though that it only impacted one of the databases in the AG. 
    cheers. 

  • Sizing Time Capsule for Time Machine

    Want to us a TIme Capsule for TIme Machine use (backup): What size Time Capsule would I need for a 320G, 680G, and a 1T hard drive?

    It was my understanding that I needed a Time Capsule at least as large as my HD. Are you saying that I could use a 500G TC for a 1T HD?
    Yes. Unless your current 1 TB drive is completely full and you want to backup the entire drive, you should be able to get by with the 500 GB model. Again, remember Time Machine will use sparsebundles to store the backups on the Time Capsule. As mentioned before, Time Machine will purge the oldest backups to make room for the newest ones ... so theoretically your Time Capsule will never run out of space. It really comes down to how far back in time is the data you need to keep.
    Finally, you have two other options with the Time Capsule. Add an external USB hard drive to archive Time Machine backups ... or use the external hard drive, instead of the internal one, for Time Machine backups. For example, you can add a 2 TB external drive, use it for Time Machine backups and use the internal drive for NAS ... or vice-versa.

Maybe you are looking for