Last time entry for a project

Hi,
I have to get the last time entry of each project.
I am using the below logic.
Join PROJ and PRPS table to get the list of WBS elements for all projects.
for each of the projects, get the latest work date from CATSDB .
But CATSDB table has 3 crores entries in QA.
above logic is taking 2 hours to execute.
Please suggest any better logic for the same.
Regards,
Kiran

Hi Kiran,
Are you doing a SAP Query or are you writing an ABAP program?  Consider using logical database PSJ (display using transaction SE36) - this already joins PROJ and PRPS for you...then look at joining with the CATSDB table.
Kind regards,
Tammy

Similar Messages

  • How to find out the last time login for a locked login account?

    In ASE 15.4,there are many login account show as locked and unlocked. How to find out the last login time for those locked login account?

    Thank you.  The version of my ASE is 12.5.4.
    This is what I got from select * from syslogins: 
    suid status accdate totcpu totio spacelimit timelimit resultlimit dbname name password language pwdate audflags fullname srvname logincount procid
    1
    30 2 10/25/2012 11:41:10.430 AM 0 0 0 0 0 . . ... us_english 02/24/2.0.08 12:55:38.640 PM 0 [NULL] [NULL] [NULL] [NULL]
    this is what I got from exec sp_displaylogin 'mylogin':
    1 Suid: 46                               
    2 Loginame: mylogin   
    3 Fullname: FN LN
    4 Default Database: mydb
    5 Default Language: us_english   
    6 Auto Login Script:    
    7 Configured Authorization:   
    8 Locked: YES                              
    9 Date of Last Password Change: Apr 17 2010  2:36PM    
    10 Password expiration interval: 0            
    11 Password expired: NO                               
    12 Minimum password length: 6            
    13 Maximum failed logins: 0            
    14 Current failed login attempts:    
    15 Authenticate with: AUTH_DEFAULT                     
    which one is for last login time?

  • Accounting entries for a Project purchase order - reg

    Hi,
    I am processing a purchase order with Account assignment category as " Y " which requires a WBS element in the account assignment tab of Purchase order. A G/L account(XYZ) is defaulted in to the field G/L account under the tab account assignment.
    There is no GR based invoice verification hence no Goods receipt (MIGO) is required for this purchase order.
    When i am trying to process the invoice verification, the accounting enties are as follows
    Vendor                         1000
    GR/IR account              0.000
    G/L Acct (XYZ)              1000
    But in actual the GR/IR account will zero value should not be displayed in the accounting doucment.
    Could any body suggest me how to eradicate the second non valuable entry duirng invoice verification in MIRO transaction.
    Please expedite.
    Regards,
    RitiG

    Hi
    Can you check account assignment category Y with P - is there anything uneven?
    I hope you are doing PO based IV - it means when you check Goods receipt tab in PO item details delivery tab, invoice entries will be vendor (credit) and GR/IR (debit). In case Goods receipt indicator is not ticked, entries will be vendor (credit) and expense GL account (debit). Can you check both of these?
    Thanks

  • Restrict Time Entry for Future Date in Portal

    Hi Gurus,
    My scenario is to restrict users from entering future date attendance in Portal.
    I know the configurations for restrictiong the user from scrolling to future week.
    But in my scenario users will be able to scroll to future weeks but should be restricted with an error message while trying to enter future time.
    Please let me know if you have any suggestions.
    Thanks.
    Regards
    Sairam Maharaj S
    Please search in the ESS forum as I remember responding to a similar scenario some time back. Thread is moved.
    ~Suresh

    Hi Srini,
    Thanks for your reply.
    I have achieved this by deselcting Release Future Time option. But user wants the future time to be restricted even from getting saved. Can I make changes to the default information message "1 out of 1 future time not released" to an error message so that the user will not be able to save. If so please let me know if this can be achieved from any configuration of messages or it should be done from the programming side.
    Thanks.
    Regards
    Sairam Maharaj S

  • 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

  • Need a VB-Script that read a txt-file and only the lines that are new since last time

    Hi,
    I need help to write a VB script that read all new lines since the last time.
    For example:  The script reads the textfile at specific time, then 10 minutes later the script read the file again, and it should now only read the lines that are new since last time. Anyone that has such a script in your scriptingbox?
    cheers!
    DocHo
    Doc

    Based on the excellent idea by Pegasus, where is a VBScript solution. I use a separate file to save the last line count read from the file, then each time the file is read I update the line count. Only lines after the last count are output by the program:
    Option Explicit
    Dim strFile, objFSO, objFile, strCountFile, objCountFile, strLine, lngCount, lngLine
    Const ForReading = 1
    Const ForWriting = 2
    Const OpenAsASCII = 0
    Const CreateIfNotExist = True
    ' Specify input file to be read.
    strFile = "c:\Scripts\Example.log"
    ' Specify file with most recent line count.
    strCountFile = "c:\Scripts\Count.txt"
    ' Open the input file for reading.
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile(strFile, ForReading)
    ' Check if the line count file exists.
    If (objFSO.FileExists(strCountFile) = False) Then
        ' Initial count is 0, so all lines are read.
        lngCount = 0
    Else
        ' Open the line count file.
        Set objCountFile = objFSO.OpenTextFile(strCountFile, ForReading)
        ' Read the most recent line count.
        Do Until objCountFile.AtEndOfStream
            lngCount = CLng(objCountFile.ReadLine)
        Loop
    End If
    ' Read the input file.
    lngLine = 0
    Do Until objFile.AtEndOfStream
        ' Count lines.
        lngLine = lngLine + 1
        strLine = objFile.ReadLine
        If (lngLine >= lngCount) Then
            ' Output the line.
            Wscript.Echo strLine
        End If
    Loop
    ' Close all files.
    objFile.Close
    If (lngCount > 0) Then
        objCountFile.Close
    End If
    ' Ignore last line of the file if it is blank.
    If (strLine = "") Then
        lngLine = lngLine - 1
    End If
    ' Save the new line count.
    Set objCountFile = objFSO.OpenTextFile(strCountFile, _
        ForWriting, CreateIfNotExist, OpenAsASCII)
    objCountFile.WriteLine CStr(lngLine + 1)
    objCountFile.Close
    Richard Mueller - MVP Directory Services

  • CATS Time Entry - Charging time to a different cost center

    We are looking at using CATS for time entry for our salaried non-exempt employees.  Some of these employees charge their overtime to a different cost center.  For example, normally their overtime is charged to their own cost center but periodically they help another group and need to charge the overtime to the other group's cost center.  In the CATS profile where you select the fields you want to be available for input, display, etc., I see cost center as an option.  However, when I select it as a field for input, it does not appear on the timesheet.  I see there are other cost center fields (receiver cost center, sender cost center) but I thought these had more to do with work orders (not sure of that, though) and work orders are not used for this group of people.  Currently, the time is being charged to an alternate cost center when the time administrator enters the overtime via PA30 and then selects the 'Cost assignment' button to record the appropriate cost center. I would appreciate any information/guidance you can provide.  Thank you.

    Hi Kathleen,
    We are trying to do the same thing so I understand exactly what you are asking.  We made the sender cost center field an input field via the IMG - Cross-Applications Components> Time Sheet> Time Recording> Choose fields> - select data entry section and look for sender cost centre - field name CATSD-SKOSTL - ensure "input" is selected.
    Eventhough we have been able to enter an alternative cost center with an attendance (i.e., different from the employee's cost center saved on IT0001), it is not being transferrred to HR (does not appear on attendance infotype) therefore payroll does not pick-up the cost center with the attendance hours and it is not posted to FI.  Payroll continues to use the employee's home cost center.
    Have you been able to get any further with this issue?
    You can contact me directly if you like - 1-613-599-8600 - ext 243.
    Catherine Maunder
    Calian
    340 Legget Drive, Suite 101
    Ottawa, ON, K2K 1Y6

  • How implemenataion process going for a project in an orgn?

    hi friends
    i am deva
    how implemenataion process going for a project in an orgn?

    Dear Deava,
    During an implementation project you follow 5 phase.
    1.Project preparation: In this you will know your team members and you will have  kick meeting. You will decide the time frame for the project also.
    2.Blue print: In this stage you will map the business scenarion.The client will give the requirement(AS-IS) and you will map in sap(TO-BE). If there is any development you need to do the GAP analysis.
    3.Realization/Testing:In this stage you will configure in the development server and test the configuration you have made in quality server.
    4.Final preparation: In this stage your configuration is done . You will get the sign off from project manager.
    5.Go live & Support: In this stage you will upload all your developments in the production server.Then you will golive and stay in the client place for sometime for support and solving few queries.
    The above 5 stages are followed in any project.
    If your happy with the answer award point for me
    Regards,
    R.Francis Noel Manoj

  • Conflict exists with another time entry

    Hi, a user tries to submit a vacation leave for April 1 2009 in ESS and gets the following error:
    Conflict exists with another time entry from 16.12.2008 to 19.12.2008
    I checked her infotype 2001 records and the there are no time entry for April 1 2009
    How come the error message is saying the conflict is with a date in 2008 when she is entering a vacation request for 2009.
    Any suggestions how to resolve this?
    Thanks.

    there is an absence from 12/19/2008 to 12/26/2008 but it was processed successfully so there shouldn't be any conflict there but the system seems to be thinking there is.
    Another thing - the absence for 12/19 to 12/26 is not a vacation but sickness with certificate.  The user is trying to do a vacation time for April 14 and system is saying it conflicts with 12/16 to 12/19 dates (which there weren't any dates in infotype 2001).

  • Time Entry ADI Uploads

    I have been searching for detailed information on how to use ADI uploads to mass load time entries for testing purposes and have not found anything useful.
    We use the timekeeper screen to manage time and I need a way to mass upload test entries. Does anyone have a good document that describes this or could you provide me the steps on how to go about executing this?
    Thanks!

    you would have to call Deposit APIS to mass upload time.
    223987.1 - Oracle OTL HXC TimeStore Deposit API An Oracle White Paper

  • Project Managers to know when a task has been updated for the last time

    Hi,
    I would like know if there is any timestamp feature in Project Server 2007, so that it can be possible for Project Managers to know when a task has been updated for the last time.
    Thanks in advance

    Hi,
    If you are using the My Tasks to drive the task updates then you can use the 'Applied Requests and Errors' available under 'Go To' in the Task Updates area. Here the PM can find when requests have been approved and how many updates he/she received for a
    particular task (by clicking the task name) etc.
    Hope this helps
    Paul

  • My daughter has created an imovie for a school project, last time she did this and downloaded it onto her memory stick the teach could not play it on their windows pc, how do we convert it or change it so the teacher can play.  thank you

    my daughter has created an imovie for a school project, last time she did this and downloaded it onto her memory stick the teach could not play it on their windows pc, how do we convert it or change it so the teacher can play.  thank you

    Meg\'s Dad wrote:
    …  I assume this format is what is needed to play on the class "Smart Board" also? …
    here in ol' Europe, school boards use chalk and are not smart …
    h264.mp4 is actually the most common 'standard' (4000 video 'standards' aaaaand counting)
    mp4 is indeed universal (Mac, Windows, Linux), and since YouTube, the h264 codec has a good installed base .....
    you can bump into probs only when it comes to sheer amount of data:
    for instance cheap 'digital frames' are sortof over-whelmed, if you try to playback 720/30p in high quality.
    I'm not familiar with 21st cent devices as SmartBoards ... again, it could happen, you have to reduce resolution/fps/bit-rate to avoid clutter&stutter in the video.
    I'm using such encoded files successfully on Playstation3, WD HD TV or flatscreenTVs with integrated usb-connection (via stick), etc
    imho, it should work welll .............. < fingers-crossed >

  • Custom Fast formula for Time Entry Rule in OTL

    Hi,
    i have created custom validation for time entry rules. I need to validate where Project and task fields are null or not? If Yes, it has to fire the custom message that i have mentioned in function. Please check the below code and help me whether i am on right path:
    CREATE OR REPLACE FUNCTION NON_pto_against_projects (
    p_time_category_id NUMBER,
    p_person_id NUMBER
    RETURN VARCHAR2
    IS
    --Variables used for retrieving timecard id and ovn
    l_db_pre_period_start DATE;
    l_db_pre_period_stop DATE;
    l_time_building_block_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_object_version_number hxc_time_building_blocks.object_version_number%TYPE;
    --Variables used for loading timecard tables
    l_time_building_blocks hxc_self_service_time_deposit.timecard_info;
    l_time_app_attributes hxc_self_service_time_deposit.app_attributes_info;
    l_attributes hxc_self_service_time_deposit.building_block_attribute_info;
    --Variables used for getting exploded time details
    v_blocks_tab hxc_block_table_type;
    v_attr_tab hxc_attribute_table_type;
    l_messages_tab hxc_message_table_type;
    l_detail_blocks hxc_self_service_time_deposit.timecard_info;
    l_detail_messages hxc_self_service_time_deposit.message_table;
    CURSOR csr_category_elements (p_category_id NUMBER)
    IS
    SELECT 'ELEMENT - ' || TO_CHAR (value_id) element_type_string
    FROM hxc_time_category_comps_v
    WHERE time_category_id = p_category_id;
    l_cat_elements_string VARCHAR2 (2000);
    l_temp VARCHAR2 (1000); --Trace message
    l_success_flag CHAR (1); --Return values
    BEGIN
    --Initialize variables
    l_success_flag := 'S';
    l_time_building_blocks := hxc_self_service_time_deposit.get_building_blocks;
    l_attributes := hxc_self_service_time_deposit.get_block_attributes;
    v_blocks_tab :=
    hxc_deposit_wrapper_utilities.blocks_to_array (l_time_building_blocks);
    v_attr_tab :=
    hxc_deposit_wrapper_utilities.attributes_to_array (l_attributes);
    IF v_blocks_tab.FIRST IS NOT NULL
    THEN
    Take each ELEMENT type attribute, and search whether PROJECTS type attribute exists for the SAME BLOCK-START
    FOR index1 IN v_attr_tab.FIRST .. v_attr_tab.LAST
    LOOP
    IF v_attr_tab (index1).attribute_category = 'ELEMENT - %'
    THEN --Element attr
    FOR element_rec IN csr_category_elements (p_time_category_id)
    LOOP
    If Element Attribute matches any of the NON-TOP elements in the Time Category-START
    IF v_attr_tab (index1).attribute_category =
    element_rec.element_type_string
    THEN
    Check PROJECTS Attributes project and task belonging to ELEMENT attribute's owner block-START
    l_success_flag := 'E';
    FOR index2 IN v_attr_tab.FIRST .. v_attr_tab.LAST
    LOOP
    IF v_attr_tab (index2).attribute_category LIKE
    'PROJECT - %'
    AND v_attr_tab (index2).building_block_id =
    v_attr_tab (index1).building_block_id
    AND v_attr_tab (index2).attribute1 IS NOT NULL
    AND v_attr_tab (index2).attribute2 IS NOT NULL
    THEN
    l_success_flag := 'S';
    EXIT;
    END IF;
    END LOOP;
    IF l_success_flag = 'E'
    THEN
    RETURN 'E';
    END IF;
    Check PROJECTS Attributes project and task belonging to ELEMENT attribute's owner block-END
    END IF;
    If Element Attribute matches any of the NON-TOP elements in the Time Category-END
    END LOOP;
    END IF; --Element attr
    END LOOP;
    Take each ELEMENT type attribute, and search whether PROJECTS type attribute exists for the SAME BLOCK-END
    END IF;
    RETURN l_success_flag;
    EXCEPTION
    WHEN OTHERS
    THEN
    RAISE;
    END NON_pto_against_projects;

    INPUTS ARE resource_id (number)
    , submission_date (text)these inputs are passed in PLSQL Code and some of them in formula context
    2. While we define a new context for a time entry rule. How is the data that we enter in the time entry rule passed to the fast formula?See the time Rule entry screen and you will find the parameters window there.

  • My itunes won't update. It's looking for 10.6.0.40. Last time it tried to update, I downloaded the msi to my desktop and I deleted it within the last six months. Now I can't uninstall or update.

    The last time my iTunes couldn't update. I used support from Itunes and downloaded it my desktop. My mistake. Because without thinking, I deleted it within the last six months from my desktop, without thinking I'd need it later. For the past month I've needed to update my Itunes and it can't find the msi. Now, my Ipad, my kids' ipod touches and my iphone can't update. Especially the ipod touches, iphone and work ipad have already updated to the OS6. And, now they won't work with this outdated iTunes. Help.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Back up iPhoto 08' for the first time (different than last time I did it)

    The last time I backed up my photo library was before I got iPhoto 08'. I know I should have done it a long time ago and backed things up at least once a week but I kinda got busy. Since my last backup I have also upgraded to Leopard, which yes I did back up my hard drive when I did that, but I also had the advantage of having an IT person personally helping me.
    Today when I went to back up my library things were different. Rather than the old "iPhoto Library" folder that use to be in the pictures section, I just see a single file named "iPhoto Library" and when I click it, it launches iPhoto.
    So my question is how do I back up my library now, and what ever happened to the "Original" and "Modified" folders? What I would really like to do is save my current library on an external with everything intact. Events, Albums, the order I added them in, etc. I want to clear iPhoto out completely and then re-import my current library.
    I should probably mention that on the external hard drive right now is a back up of my old library from before my upgrade to Leopard and it still has the old setup of the iphoto folder and then inside that is the "Original" and "Modified" folders. How should I handle this, just delete it?

    With iPhoto 7 (iLife 08) the old iPhoto Library Folder is now a Package File. This is simply a folder that looks like a file in the Finder. The change was made to the format of the iPhoto library because many users were inadvertently corrupting their library by browsing through it with other software or making changes in it themselves.
    Want to see inside? Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look familiar? Standard Warning: Don't change anything in the iPhoto Library Folder via the Finder or any other application. iPhoto depends on the structure as well as the contents of this folder. Moving things, renaming things or otherwise making changes will prevent iPhoto from working and could even cause you to damage or lose your photos.
    What I would really like to do is save my current library on an external with everything intact. Events, Albums, the order I added them in
    Simply copy the iPhoto Library from the Pictures Folder to the External. That's it.
    I want to clear iPhoto out completely and then re-import my current library.
    I'm afraid that doesn't make a lot of sense to me. If you back up a library then trash it, then restore the selfsame library, how does that constitute a “clear out”?
    I would delete nothing until I had the Maintenance project finished.
    As an Fyi
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 and later*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and later* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and later:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Regards
    TD

Maybe you are looking for

  • HP Pro 3500 Microtower PC drivers for Windows XP 32bit

    Hello, May I kindly ask if it would be possible to assist me in terms of locating Windows XP Home Edition (32 bit) drivers for the  HP Pro 3500 Microtower PC (product number F4Q49ES )? <script type="text/javascript" language="JavaScript">// var theme

  • Transport Issue - ERROR: stopping on error 12 during MOVE NAMETABS

    Hi Gurus, Good day! Can you someone help me with my transport error. ERROR: stopping on error 12 during MOVE NAMETABS Appreciate your help. Cheers, Virgilio

  • Connecting 6234 to 2006 Mercedes ML Bluetooth syst...

    I'm having difficulty. The car seams to recognise the phone but wont authorize connection. Any advice would be welcome.

  • Passwordless KWallet

    When using KDE, if I access a remote directory through sftp for the first time, kwallet asks for a password to the opened, then I am prompted for the username and password to the SSH server.  The username and password to the SSH server are automatica

  • Attributecollection feature doesn't work properly in cfinput tag.

    Attributecollection feature doesn't work properly in cfinput tag. Id specified is not used but name property instead. Steps to reproduce bug: 1. Use code: <cfform> <cfset st = StructNew()> <cfset st.name = "ab"> <cfset st.id = "a_b"> <cfinput attribu