Missing Entries from T156T

I have the following error message:
When I try to maintain this table, I can not add entries in change mode - any suggestions?
Check table 156T: entry E 261 _ _ _ V   does not exist
Message no. M7001
Diagnosis
In table 156T the entry E 261 _ _ _ V   is missing.
Procedure
Make sure your entries are correct.
If table  has not been maintained correctly, please inform your systems administrator.

You may have to maintain the missing entries it through SM31.
Refer to note 435734 as well.

Similar Messages

  • Logic to find missing entries

    Hello all...i'm new to abap programming and i had a small doubt regarding a logic.
    The logic is to obtain missing entries from 2 internal tables by comparing them.
    for ex tab1 may contain some entries not present in tab2 and vice-versa.
    i want to accomplish this by using only two loops i.e. nested loops. is it possible? pls let me know!
    Regards,
    Rahul
    Message was edited by:
            Rahul Khanna

    the following code will just provide you with logic,
    imagine the two tables to be itab1 and itab2
    and itab3 will have the mismatched values,
    see carefully the steps used for code optimization,
    the loop is processed only once
    REPORT  ZTRIP_TEST.
    data: itab1 like table of lfa1 with header line,
    itab2 like table of lfa1 with header line,
    itab3 like table of lfa1 with header line. "Table to hold mismatch values
    data: line1 type i,
    line2 type i.
    describe table itab1 lines line1.
    describe table itab2 lines line2.
    sort: itab1,itab2.
    if line1 ge line2.
      loop at itab1.
        read table itab2 with key lifnr = itab1-lifnr binary search.
        if sy-subrc ne 0.
          append itab1 to itab3.
        else.
          delete itab2 where lifnr eq itab1-lifnr.
        endif.
      endloop.
      append lines of itab2 to itab3.
    else.
      loop at itab2.
        read table itab1 with key lifnr = itab2-lifnr binary search.
        if sy-subrc ne 0.
          append itab2 to itab3.
        else.
          delete itab1 where lifnr = itab2-lifnr.
        endif.
      endloop.
      append lines of itab1 to itab3.
    endif.
    *Now itab3 will contain mismatched enteries
    Reward points if useful, get back in case of query...
    Cheers!!!
    Message was edited by:
            Tripat Pal Singh

  • Missing calendar entries from phone over Blackberry bridge

    I have two phones bridged to the playbook. Initially I had issues seeing SMS over the bridge with a 9850. After deleting the tablet from the phone and the phone from the tablet, performing a hard reset and re-adding the devices the issue was fixed. I then got the playbook bridge to a 9930. All apps work with the exception of the calendar. I am not able to see some of my entries on the calendar displayed on the playbook even when they appear on the 9930. After deleting the tablet from the phone and the phone from the tablet, performing a hard reset on both devices and re-adding the devices the issue was not fixed. Ideas? Thank you!!!
    Solved!
    Go to Solution.

    Hey inieto09,
    The BlackBerry PlayBook may not be configured to display the Calendar Service associated with the missing entries, please try the following:
    1. From the BlackBerry PlayBook, Click the BlackBerry Bridge icon.
    2. Click on the Calendar icon.
    3. Enter the BlackBerry Smartphone password if prompted.
    4. Tap on the Calendar Services icon. (this is the third icon from the bottom left)
    5. Ensure that the desired calendar(s) is checked
    6. Click Done.
    Let me know if this helps.
    Thanks.
    -HB
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Delete entries from the table

    Hi folks,
    I have delete program to delete entries from a custom table and has only one feld in it.
    tables: ZABC
    selection-screen begin of block B1 with frame title text-110.
    select-options: P_KOSTL for ZABC-KOSTL.
    selection-screen end of block B1.
    delete from ZABC where KOSTL in P_KOSTL.
    Upon executing I am entering certain cost center ids on the selection screen to delete them from the table.It did not work.
    what is it I am missing?
    Thanks,
    SK

    Hi,
    Try this sample code..Replace ZABC with your table..
    TABLES: ZABC.
    selection-screen begin of block B1 with frame title text-110.
    select-options: P_KOSTL for ZABC-KOSTL.
    selection-screen end of block B1.
    START-OF-SELECTION.
    * Delete the records from the table.
    DELETE FROM ZABC where KOSTL IN P_KOSTL[ ].  " [] for the select-options.
    IF sy-subrc <> 0.
      ROLLBACK WORK.
    ELSE.
      COMMIT WORK.
    ENDIF.
    Thanks,
    Naren

  • Error in creating New Entry from the Client in NW Mobile 7.1

    Hi All,
    I have created a mobile application for Laptops in NW Mobile 7.1.
    I have a requirement to create an entry from the client, i.e., I need to create a PR in the client. The model bindind, the backend adapters, bapi wrappers are in place.
    I have used the standard create BAPI for PR and wrapped it in a BAPI wrapper. I just have to give the PR details and save the entry in the client. The BAPI wrapper has the logic for generating the new PR number.
    My problem here is, when I try to create a new PR, give the details and save, the entry is not getting updated in the backend and the sync state is '201'.
    I checked the "Message Monitoring" in the NW Mobile Administrator for the particular SWCV.
    For this create PR transaction, the particulars are as below
    Message State: Error - Stop Flow
    Message Type: Transaction
    Error: "Error occurred while fetching synckeys from table ZDOE01700000SL"
    "ZDOE01700000SL" is the Sync key look up table for PR(my data object).
    Please let me know where I have gone wrong and guide me in rectifying this problem.
    Thanks and Regards,
    Sunil

    Hi Sunil,
    From my understanding, looks like you are not filling synckey when you are creating a PR in your client. Synckey is a unique key on the DOE using which you can uniquely identify any node.
    There are two scenario's atleast as I know, where this error would have come.
    Case 1. If you are modifying something on client, which has been send by DOE, then you are not supposed to change synckey because it is a primary key. Now if we assume that you are not modifying synckey but when you are sending an update, check if by any chance the synckey is not going to DOE which is one case, and the second one is, after DOE has end that record to client, someone has cleaned up all the tables on DOE for that dataobject or someone has deleted that entry on the backend because of which the entry has been deleted on DOE. In either case, you are modifying something on client which is actually not present on DOE because of which when the DOE tries to look up based on synckey it doesn't find the needed record.
    Case 2. If you are creating something on client, then you are supposed to create a synckey which is a 32 bit character GUID. I think in your case, you are missing the synckey when you are sending it to DOE. Check if there is any API for doing that or you have manually create a GUID and send it.
    Hope it works out.
    Best Regards,
    Siva.
    PS: Reward with points if you find the post useful.

  • Error while importing the Entries from Payroll

    Dear Guru's
    For the First time we are Import the Entries from Payroll , Request End with the Warning message
    when i check the Out Put file lot of Errors
    eriod Error Codes
    EP01 This date is not in any open or future enterable period.
    EP03 This date is not within any period in an open encumbrance year.
    EP04 This date is not a business day.
    DOHA COA Journal Import Execution Report Date: 21-APR-12 10:16
    Concurrent Request ID: 424967 Page: 11
    ========================================================== Error Key ===========================================================
    Period Error Codes
    EP05 There are no business days in this period.
    Unbalanced Journal Error Codes
    WU01 Warning: This journal entry is unbalanced. It is accepted because suspense posting is allowed in this ledger.
    EU02 This journal entry is unbalanced and suspense posting is not allowed in this ledger.
    EU03 This encumbrance journal entry is unbalanced and the Reserve for Encumbrance account is not defined.
    Flexfield Error Codes
    EF01 This Accounting Flexfield is inactive for this accounting date.
    EF02 Detail posting not allowed for this Accounting Flexfield.
    EF03 Disabled Accounting Flexfield.
    EF04 This is an invalid Accounting Flexfield. Check your cross-validation rules and segment values.
    EF05 There is no Accounting Flexfield with this Code Combination ID.
    EF06 The alternate account is invalid.
    WF01 An alternate account was used instead of the original account.
    WF02 A suspense account was used instead of the original account.
    Foreign Currency Error Codes
    EC01 A conversion rate must be entered when using the User conversion rate type.
    EC02 There is no conversion date supplied.
    EC03 A conversion rate type or an accounted amount must be supplied when entering foreign currency journal lines.
    EC06 There is no conversion rate for this currency, conversion type, and conversion date.
    EC08 Invalid currency code.
    EC09 No currencies are enabled.
    EC10 Encumbrance journals cannot be created in a foreign currency.
    EC11 Invalid conversion rate type.
    EC12 The entered amount must equal the accounted amount in a ledger or STAT currency journal line.
    EC13 Amount is too large.
    ECW1 Warning: Converted amounts could not be validated because the conversion rate type is not specified.
    Budget Error Codes
    EB01 A budget version is required for budget lines.
    EB02 Journals cannot be created for a frozen budget.
    EB03 The budget year is not open.
    EB04 This budget does not exist for this ledger.
    EB05 The encumbrance_type_id column must be null for budget journals.
    EB06 A period name is required for budget journals.
    EB07 This period name is not valid. Check calendar for valid periods.
    EB08 Average journals cannot be created for budgets.
    EB09 Originating company information cannot be specified for budgets.
    Encumbrance Error Codes
    EE01 An encumbrance type is required for encumbrance lines.
    EE02 Invalid or disabled encumbrance type.
    EE03 Encumbrance journals cannot be created in the STAT currency.
    DOHA COA Journal Import Execution Report Date: 21-APR-12 10:16
    Concurrent Request ID: 424967 Page: 12
    ========================================================== Error Key ===========================================================
    Encumbrance Error Codes
    EE04 The BUDGET_VERSION_ID column must be null for encumbrance lines.
    EE05 Average journals cannot be created for encumbrances.
    EE06 Originating company information cannot be specified for encumbrances.
    Reversal Error Codes
    ER01 A reversal period name must be provided.
    ER02 This reversal period name is invalid. Check your calendar for valid periods.
    ER03 A reversal date must be provided
    ER04 This reversal date is not in a valid period.
    ER05 This reversal date is not in your database date format.
    ER06 Your reversal date must be the same as or after your effective date.
    ER07 This reversal date is not a business day.
    ER08 There are no business days in your reversal period.
    ER09 Default reversal information could not be determined.
    Descriptive Flexfield Error Codes
    ED01 The context and attribute values do not form a valid descriptive flexfield for Journals - Journal Entry Lines.
    ED02 The context and attribute values do not form a valid descriptive flexfield for Journals - Captured Information.
    ED03 The context and attribute values do not form a valid descriptive flexfield for Value Added Tax.
    Miscellaneous Error Codes
    EM01 Invalid journal entry category.
    EM02 There are no journal entry categories defined.
    EM04 The value in the ACTUAL_FLAG must be "A" (actuals), "B" (budgets), or "E" (encumbrances).
    EM05 The encumbrance_type_id column must be null for actual journals.
    EM06 The budget_version_id column must be null for actual journals.
    EM07 A statistical amount belongs in the entered_dr(cr) column when entering a STAT currency journal line.
    EM09 There is no Transaction Code defined.
    EM10 Invalid Transaction Code.
    EM12 An Oracle error occurred when generating sequential numbering.
    EM13 The assigned sequence is inactive.
    EM14 There is a sequential numbering setup error resulting from a missing grant or synonym.
    EM17 Sequential numbering is always used and there is no assignment for this ledger and journal entry category.
    EM18 Manual document sequences cannot be used with Journal Import.
    EM19 Value Added Tax data is only valid in conjunction with actual journals.
    EM24 Average journals can only be imported into consolidation ledgers.
    EM25 Invalid average journal flag. Valid values are "Y", "N", and null.
    EM26 Invalid originating company.
    EM27 Originating company information can only be specified when intercompany balancing is enabled.
    EM29 You do not have access to this ledger and account combination.
    EM30 This balancing segment value is not valid for this ledger.
    EM31 This management segment value is not valid for this ledger.
    ** Batches listed under "Unbalanced Batches**" have not been imported.
    Edited by: 912775 on Apr 21, 2012 1:00 AM

    Hi Bharat17an,
    Please provide the detail information when create the MySQL connection in your PowerPivot model. Here is a good article regarding "how to Use MySQL and Microsoft PowerPivot Together" for your reference, please see:
    http://www.datamensional.com/2011/09/how-to-use-mysql-and-microsoft-powerpivot-together-2/
    If this issue still persists, please help to collection windows event log information. It maybe helpful for us to troubleshoot this issue.
    Regards,
    Elvis Long
    TechNet Community Support

  • HP Officejet Pro 8500 A 910 - Missing entry: RunDLLEntry

    Each time I boot up my computer, I get the following error message on the Desktop:
    Error in C:\Program Files\HP\HP Officejet Pro 8500 A 910\bin\HPStatusBL.dll Missing entry: RunDLLEntry
    I can't find this file. I uninstalled the printer and reinstalled it - and still get the message.
    How do I fix it?

    Hi Sunriver10,
    I see you are getting the Error "C:\Program Files\HP\HP Officejet Pro 8500 A 910\bin\HPStatusBL.dll Missing entry: RunDLLEntry" when you boot up your computer.
    I will be happy to help you.
    Hold down the Windows Logo key () on the keyboard and the 'R' to open the run box, type %temp%.
    Delete all files and folders from the temp folder. Choose skip if any pop ups appear saying any of the files could not be deleted.
    Uninstall the software again - Uninstalling the Printer Software.
    When the uninstall has completed restart the computer.
    Follow these steps to reset the registry settings and options for Windows Installer.
    Hold down the Windows Logo key on the keyboard and the 'R' to open the run box
    In the Openbox, type msiexec /unregister, and then click OK.
    Hold down the Windows Logo key on the keyboard and the 'R' to open the run box.
    In the Open box, type msiexec /regserver, and then click OK.
    If you have any difficulty with this step, please use this link to perform it another way.
    Restarting Windows Installer.
    Run Disk cleanup from Accessories\ System Tool <How to Delete files using Disk Cleanup
    Download and install the latest version of Adobe flash player http://www.adobe.com/support/flashplayer/downloads.html
    Restart the computer.
    Do a msconfig and turn off any start up programs and Antivirus Software before running the Wizard.
    Turn then on again after. How to use MSCONFIG.
    Download and run the HP Printer Install Wizard for Windows.
    The HP Printer Install Wizard for Window was created to help Windows 7, Windows 8, and Windows 8.1 users download and install the latest and most appropriate HP software solution for their HP Printer.
    Please let me know if this does resolve the issue.
    Thank you for posting on the HP Forums.
    Have a great day.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • How to recover missing data from PCL4 cluster

    Hello experts,
    Is there any way to recover missing data from PCL4 cluster ?
    We recently found that some data related to W2 production run for past years was missing in the PCL4 cluster. Tables T5UXX & T5UXY has entries with the filing dates but certain data is missing in the cluster related to those table entries.
    Would there be any specific reason for such a data loss ?
    Has anyone come across this issue earlier and found resolution on the same ?
    Any feedback is appreciated.
    Thanks,
    Dipesh.

    When you delete PCL4 entries for production runs, the corresponding     
    control information in tables T5UXX and T5UXY also will be deleted. A    
    control number may be used for more than one Form number (in Tax         
    Reporter control tables). Therefore, if a control number that is         
    assigned to the Form number to be deleted was also assigned to other     
    form numbers, then this control number information from T5UXY will not   
    be deleted. These details will be displayed in the program results.      
    However, if all Form numbers that were assigned to this particular       
    control number were deleted, then the control information in table T5UXY 
    for the control number will be deleted automatically as the last        
    dependent Form number is deleted."
    Following we have two questions:                                         
    o Was PCL4 deleted?                                                      
    o Did the W2 generate without errors?                                    
    Basically if the PCL4 data is corrupted, then we have 2 options to      
    rebuild the PCL4 Cluster:                                                
    1. Delete the existing PCL4 & rerun the production run with the same     
       As of date.                                                           
    2. Overwrite the production results without deleting PCL4 data but with  
       different As of Date.                                                                               
    If the Employee data is not changed after your                           
    actual production run then overwriting the results will not cause any    
    difference in the PCL4 data.                                             
    Secondly, if you dont want PDF spools or magmedia layouts to be          
    generated during overwriting of production run, then kindly uncheck      
    the following on the PU19 screen, so that only PCL4 data is rebuild :    
    1. Uncheck Employee Copy                                                 
    2. Uncheck Authority Copy                                                
    3. Uncheck Magnetic table"                                               
    Edited by: Johan Peersman on Mar 25, 2010 4:14 PM
    Edited by: Johan Peersman on Mar 25, 2010 4:15 PM

  • T77HAP_EX has a missing entry AA ORG_OBJECTIVES

    Hi Experts,
    I am implementing SAP Pre-defined Performance template.
    I have run the IMG entry u201CConfigure Performance Management Processu201D but when I run this I get the message u201CAn unexpected technical error has occurredu201D. Selecting the help text it mentions to run report RHHAP_CUSTOMIZING_CHECK.
    When I run report RHHAP_CUSTOMIZING_CHECK it identifies two errors
    1) table T77HAP - missing blank entry
    2) table V_T77HAP_EX - missing entry AA ORG_OBJECTIVES
    I went into these tables and added the necessary entries. I re-ran the IMG step u201CDefine Templates for Performance Managementu201D but still getting the error u201CAn unexpected technical error has occurredu201D but the report RHHAP_CUSTOMIZING_CHECK does not show any errors.
    Please can someone explain what could be missing or if they had this issue before and were able to solve this.
    Many thanks
    Oliver

    Hi Maurice,
    Thanks for your reply. Sorry not got back to you but only back at work today from my last post and sorry in advance for the amount of text below but wanted to give you the full information on the errors I have encountered in the IMG for pre-defined performance template.
    Now when I run the IMG step "Define Templates for Performance Management" and I hit the u201CEnd configurationu201D button, I am getting the following errors:
    Previous status '2' is not permitted for pushbutton 'OBJECTIVE'
    Error      Previous status '2' is not permitted for pushbutton 'OBJECTIVE
    Error      Element Appraisal Template 'Performance Management' contains errors. Cannot change status
    And warning messages
    You have maintained a description that is not displayed
    Warning      You have maintained a description that is not displayed
    So I went back into the template that I generated which sits beneath the Appraisal template structure as followsu2026.Personnel Appraisals>New Category>Performance Management
    And I then found where the word OBJECTIVE was against the dropdown for the Status flow for the template under heading In Planning>Schedule Planning>PUSHBUTTON and changed this to read u201CSend to Planning Approvalu201D u2013 is this the correct setting?
    When I now do template consistency check I get several yellow triangles for the elements e.g.  u201CReference Element: Criteria Group New Goalu201D and u201CReference Element: Criteria Group Aligned withu201D
    QUESTIONS
    1)     Do you think I have made the correct change for the status and removed the OBJECTIVE?
    2)     Do I need to do anything with the descriptions which are yellow triangle as described above?
    Now When I go into the second step for IMG> Configure Performance Management Process (which is the timeline and description) I get the technical error u2013 so at the start of this IMG step
    I then run the program RHHAP_CUSTOMIZING_CHECK which then tells me to that table T77HAP has missing entry u201CSpaceu201D and table T77HAP_EX has missing entry AA ORG_OBJECTIVES.
    So I can not progress with creating the timelines unless these are fixedu2026..
    How have you solved this or please can you offer any suggestions on this?
    Many thanks
    Oliver

  • Replication : missing entry not replicated

    Hello,
    If I modify the value of an attribut, the change is applied on the other LDAP server so the replication is working fine.
    For a reason that I do not known an entry is missing on one of my LDAP server.
    How can I recreate this missing entry ?
    The replication seems to not work is this case.
    Or have I to do a initialisation from the LDAP where the entry is present ?

    Re-initialization (online or offline) will make sure that all entries are identical on both servers and will be kept in sync in the future.
    Is the entry really missing or is it just that you do not see it when performing a search ?
    One way to check is to export the data (with replication meta-data, and from the server which appears to have the entry missing) to LDIF. And look into the LDIF file if the entry is present or not, if it is a normal entry or a deleted entry.
    If the entry is present and normal, it could be an index issue and rebuilding the index should be enough.
    If the entry is present but as a deleted entry, this would require more investigation.
    If the entry is not present at all, then reinitialization is the only proper way to solve this issue.
    regards,
    Ludovic

  • Find missing entries

    Hi,
    I have a table that contains several names like along with some other information.
    alpha1
    alpha2
    beta2
    gamma1
    gamma2
    I wanted to know about some of these entries, so I did a select like this.
    select * from t
    where t.name in ( 'alpha1', alpha2', 'beta1', beta2', 'gamma1', gamma2')
    Now if you look at the data above you will see that beta1 is missing, so obviously the above query does not fetch information about beta1.
    Is there a way to find the missing entries like this through SQL.
    I have a restriction here. I have a readonly access to the database. I log in as schema2 and look at data in schema1. Moreover since this is a production database, I would not like to create any temporary tables in schema2 either. So, any solution has to use only select statements and no DML/DDL.
    Thanks in advance,
    Rajesh

    Hi All!
    2 kuljeet pal singh
    SQL> select * from a2
    SQL> /
    NAME
    alpha
    beta
    delta
    epsilon
    (Missing gamma)
    What show your procedure?
    2 Rajesh
    The temporary table i think is the best solution.
    SELECT * FROM TEMP_TAB_NAME;
    NAME
    alpha
    beta
    gamma
    delta
    epsilon
    SELECT * FROM TEMP_TAB_NAME a
    WHERE NOT EXISTS (SELECT 1 FROM PROD_TABLE_NAME B
    WHERE B.COL_NAME = A.NAME);
    You can use following SQL*Plus script:
    set echo off
    set ver off
    set fee off
    set serveroutput on
    declare
    type tp is varray (30) of varchar2(30);
    tp_tab tp := tp('alpha', 'beta', 'gamma', 'delta');
    var varchar2(30);
    cnt number;
    num number;
    begin
    cnt := tp_tab.count;
    for i in 1..cnt loop
    var := tp_tab(i);
    select count(*)
    into num
    from PROD_TABLE_NAME
    where COL_NAME = var;
    if num = 0
    then
    dbms_output.put_line('Missing '||var);
    end if;
    end loop;
    end;

  • RUNDLL error in P 17.dll missing entry:P17 hel

    Does anyone have a solution to the error message that appears?at bootup, ?"Rundll error in P7.dll missing entry: P7, helper" ? After reformating my computer and reinstalling the Audigy LS software from the CD that came with the card, this is the message I get. If I uninstall all the software and drivers per solution ID 72 and download and install the latest drivers and applications, the error message does not appear. BUT, I lose the graphic equalizer. When I do a Google search, a hacker web site appears. Yet, when I run a Trend antivirus scan from their website and an AVG virus scan, no infection is found. When I run AdAware SE, no adware or spyware is found. A search on this forum or the knowledge base turns up no results for this error message. The sound card, software and computer seem to run fine otherwise. Any ideas anyone? Thank you in advance for your suggestions.

    After uninstalling and reinstalling drivers, I had that same issue. Googling led me to believe it was spyware, so I installed several spyware removal tools which didn't solve the problem. I then downloaded several registry cleaners which didn't help either. I eventually did this...click Start, then Run. In the open box, type "msconfig" (w/o the quotes) and click OK. Click the Startup tab. Scroll down and look for the item "Rundll32 P7" and uncheck the box next to it. Upon reboot, you shouldn't receive that error message anymore. The first time you reboot, you will prolly receive a Windows dialog saying you're now running in Selecti've Startup, but there's an option not to show that message anymore. I don't think the whole P7 thing caused any probs on my machine, but it was annoying to get that message every startup.

  • Insert old missing data from one table to another(databaase trigger)

    Hello,
    i want to do two things
    1)I want to insert old missing data from one table to another through a database trigger but it can't be executed that way i don't know what should i do in case of replacing old data in table_1 into table_2
    2)what should i use :NEW. OR :OLD. instead.
    3) what should i do if i have records exising between the two dates
    i want to surpress the existing records.
    the following code is what i have but no effect occured.
    CREATE OR REPLACE TRIGGER ATTENDANCEE_FOLLOWS
    AFTER INSERT ON ACCESSLOG
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    V_COUNT       NUMBER(2);
    V_TIME_OUT    DATE;
    V_DATE_IN     DATE;
    V_DATE_OUT    DATE;
    V_TIME_IN     DATE;
    V_ATT_FLAG    VARCHAR2(3);
    V_EMP_ID      NUMBER(11);
    CURSOR EMP_FOLLOWS IS
    SELECT   EMPLOYEEID , LOGDATE , LOGTIME , INOUT
    FROM     ACCESSLOG
    WHERE    LOGDATE
    BETWEEN  TO_DATE('18/12/2008','dd/mm/rrrr') 
    AND      TO_DATE('19/12/2008','dd/mm/rrrr');
    BEGIN
    FOR EMP IN EMP_FOLLOWS LOOP
    SELECT COUNT(*)
    INTO  V_COUNT
    FROM  EMP_ATTENDANCEE
    WHERE EMP_ID    =  EMP.EMPLOYEEID
    AND    DATE_IN   =  EMP.LOGDATE
    AND    ATT_FLAG = 'I';
    IF V_COUNT = 0  THEN
    INSERT INTO EMP_ATTENDANCEE (EMP_ID, DATE_IN ,DATE_OUT
                                ,TIME_IN ,TIME_OUT,ATT_FLAG)
         VALUES (TO_NUMBER(TO_CHAR(:NEW.employeeid,99999)),
                 TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'),       -- DATE_IN
                 NULL,
                 TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'),      -- TIME_IN
                 NULL ,'I');
    ELSIF   V_COUNT > 0 THEN
    UPDATE  EMP_ATTENDANCEE
        SET DATE_OUT       =  TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'), -- DATE_OUT,
            TIME_OUT       =   TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'), -- TIME_OUT
            ATT_FLAG       =   'O'
            WHERE EMP_ID   =   TO_NUMBER(TO_CHAR(:NEW.employeeid,99999))
            AND   DATE_IN <=  (SELECT MAX (DATE_IN )
                               FROM EMP_ATTENDANCEE
                               WHERE EMP_ID = TO_NUMBER(TO_CHAR(:NEW.employeeid,99999))
                               AND   DATE_OUT IS NULL
                               AND   TIME_OUT IS NULL )
    AND   DATE_OUT  IS NULL
    AND   TIME_OUT IS NULL  ;
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN RAISE;
    END ATTENDANCEE_FOLLOWS ;
                            Regards,
    Abdetu..

    INSERT INTO SALES_MASTER
       ( NO
       , Name
       , PINCODE )
       SELECT SALESMANNO
            , SALESMANNAME
            , PINCODE
         FROM SALESMAN_MASTER;Regards,
    Christian Balz

  • In looking at my calendar for January, I found all the entries from last year. I thought I would delete the while month and start over, but it deleted all calendars from icloud.  Can I get them restored and how.  Stoormy

    In looking at my calendar for next year I found all the entries from last year were there as well as a few more  I intended to delete January and just start over but everything was deleted including from icloud,  Any way I can get those restored.
    Thanks  Glenn

    Maybe here:
    iCloud: Troubleshooting creating backups

  • Getting All Entries from a cache

    Hi Folks,
         Just a small interesting observation. In an attempt to get back all the data from my partitioned cache I tried the following approaches:
         //EntrySet
         NamedCache cache = NamedCache.getCache("MyCache");
         Iterator<Entry<MyKeyObj, MyObj>> iter = cache.entrySet().iterator();
         //iterator over objects and get values
         //KeySet & getAll
         NamedCache cache = NamedCache.getCache("MyCache");
         Map results = cache.getAll(cache.keySet());
         Iterator<Entry<MyKeyObj, MyObj>> iter = results.iterator();
         //iterate over objects and get values
         Retrieving ~47k objects from 4 nodes takes 21 seconds using the entryset approach and 10 seconds for the keyset/getal approach.
         does that sound right to you? That implies that the entryset iterator is lazy loaded using get(key) for each entry.
         Regards,
         Max

    Hi Gene,
         I actually posted the question, because we are currently performance-tuning our application, and there are scenarios where (due to having a large amount of badly organized legacy code with the bottom layers ported to Coherence) there are lots of invocations getting all the entries from some caches, sometimes even hundreds of times during the processing of a HTTP request.
         In some cases (typically with caches having a low cache-size) we found, that the entrySet-AlwaysFilter solution was way faster than the keyset-getall solution, which was about as fast as the solution iterating over the cache (new HashMap(cache)).
         I just wanted to ask if there are some rules of thumb on how long is it efficient to use the AlwaysFilter on distributed caches, and where it starts to be better to use the keyset-getall approach (from a naive test-case keyset-getall seemed to be better upwards from a couple-of-thousand entries).
         Also, as we are considering to move some of the caches (static data mostly, with usually less than 1000 entries, sometimes even as few as a dozen entries in a named cache, and in very few cases as many as 40000 entries) to a replicated topology, that is why I asked about the effect of using replicated caches...
         I expect the entrySet-AlwaysFilter to be slower than the iterating solution, since it effectively does the same, and also has some additional filter evaluation to be done.
         The keySet-getall will be something similar to the iterating solution, I guess.
         What is to be known about the implementation of the values() method?
         Can it be worth using in some cases? Does it give us an instant snapshot in case of replicated caches? Is it faster than the entrySet(void) in case of replicated caches?
         Thanks and best regards,
         Robert

Maybe you are looking for

  • Midi controlled sounds

    My midi controlled sounds cut off when controller keyboard note is lifted creating a click as the "sample is stopped" any Ideas ? this is domianent on piano patches

  • My email signature keeps changing?

    Hello all, I have a question regarding mail on OSX10.9. I am using Mail 7.2, and when I input a signature, it looks fine and it was working fine. However, yesterday it stopped being alligned and now it keeps moving around. I have tried creating a new

  • Extracting data from clobs

    Hi, I want to get the first line from a comments field. The data type is set to clob. I use the below section to get the data from the first line Replace(dbms_lob.substr(comments,instr(comments,chr(10),1),1), Chr(10), '' ) from The issue I have is it

  • How to run the Oracle migration tool in DOS?

    Hi, Can we use migration tool to configuration of record types from staging environment to production environment. If yes, could you please let me know how to use this tool. Thanks in adavance. Regards, Manish

  • Language settings in Apple

    Hi, My itunes store account is linked to Swedish Store.Now i am in India and i want to download OSX lion to my mac book pro. So if i do that from Mac app store, will i get a Swedish version of OSX lion or English version? If i get a Swedish version ,