Modification of error flagging on time entry screen

Hi,
When an employee has more than one line and error on Time Entry Screen . Is there any possibility to get the line that contains the error only can be flagged .
Please help me.
Thanks.

This is a generic error and mostly happens due to some missing or invalid objects. Check with your DBA.
--Shiv                                                                                                                                                                                                                                   

Similar Messages

  • Hiding custom column in Weekly view of the Time Entry in ESS

    We have added a custom field to time entry (CAT2). This field is displaying in both (weekly and daily) view of the time entry screen in ESS. Our requirement is too display the field only in daily view.
    Is there a way to hide the custom column in the weekly view of the time sheet in ESS?
    Thank you,
    Rohit

    well it would require modification to the iview , it wont be a easy quickfix cause you lauch the iview it is built using CAC2 field customisation
    you can explore Personalisation for the daily view hope it can work!

  • Only G/L accounts can be entered on the fast entry screen

    We are currently upgrading our SAP environment from version 4.70 to ECC 6.0.  Our users are testing their Parked Document fast entry screen entries created through F-65 and when they attempt to "view" their entry on the Fast Entry screen, after entering their data, they receive the message "Only G/L accounts can be entered on the fast entry screen" (message FP032). The system will not let them post the entry. The account field in the original fast entry screen was limited to 6 numeric digits, which is the length of our GL accounts  and also the length of the account number used in the field when entering their posting.
    I created a new fast entry screen layout for parked documents that opens up the field length to 15 characters and all works great.  But I would still like to know why the original fast entry screen posted the error on the fast entry screen for an account number with the correct amount of digits.
    Thanks,
    Mary Lauber

    Dear mary
    Run program RFFAKP01 via transaction SE38. Enter program SAPLF040 / application PRPOS. Click on Execute.
    This will regenerate the fast entry screen including your customized templates. And also, please check with O7E4/O7E5 to see if everything is set correctly.
    If it helps please reward with points.
    Best Regards
    kesav

  • Configuring Cost Code along with Payroll elements in Timekeeper time entry

    Hi,
    I am trying to configure cost code as a separate entry along with payroll elements in timekeeper time entry screen.
    Can any one help me in completing the task.
    Regards
    BK

    I have configured the time keeper time entry scree of my own.

  • Handling error in data entry screen

    Dear experts,
    I developed a module pool program which is an entry screen capturing some fields such as matnr,lifnr.
    Incase there is a failure to store data on to mseg table  using BAPI for movement, i have set a
    custom message by using the command as given below :
    message id 'ZMB' type 'E' number '002' with  errmsg-message.
    But when this statement executes ,everything turns grey and user is not able to edit the wrong entry done.
    How should i resolve this in way user cannot specify wrong entry and at the same time be able to correct his mistakes.

    Hi,
    To solve this problem, you have to use the concept of:-
    CHAIN.
      FIELD : <field_name1>,
              <field_name2>,
              <field_name3>,
              <...and so on>.
        MODULE <module_name>.
    ENDCHAIN.
    Now when any error message is encountered then the group of fields between the chain-endchain block, are enabled to user (not greyed out). User can now change the enteries in the field.
    Use the module <module_name> to write the code initially written in your module.
    Revert in case of any queries.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • MBP "System Profile" error when try read "Logs" and long time blue screen

    MBP "System Profile" error when try to read "Logs" and it takes long time blue screen at startup.
    This happened all time when I open the "System Profiler" application and then select the option "Log", then the system crashed again over and over. The system was reinstalled clean but the error occurs again, without any third party application installed.
    Here is the error:
    Sun Jun 22 20:13:47 2008
    panic(cpu 0 caller 0x001A8CD4): Kernel trap at 0x007efc12, type 14=page fault, registers:
    CR0: 0x80010033, CR2: 0x00000000, CR3: 0x013ab000, CR4: 0x00000660
    EAX: 0x00000000, EBX: 0x045ce1e0, ECX: 0x05782c64, EDX: 0x00010001
    CR2: 0x00000000, EBP: 0x344d3ca8, ESI: 0x046ad5c0, EDI: 0x046a8040
    EFL: 0x00010206, EIP: 0x007efc12, CS: 0x00000008, DS: 0x00010010
    Error code: 0x00000000
    Backtrace, Format - Frame : Return Address (4 potential args on stack)
    0x344d3ab8 : 0x12b0fa (0x459294 0x344d3aec 0x133243 0x0)
    0x344d3b08 : 0x1a8cd4 (0x4627fc 0x7efc12 0xe 0x461fac)
    0x344d3be8 : 0x19ede5 (0x344d3c00 0x206 0x344d3ca8 0x7efc12)
    0x344d3bf8 : 0x7efc12 (0xe 0x48 0x10 0x3e0010)
    0x344d3ca8 : 0x3ef261 (0x45ce1e0 0x46a2c40 0x49a7a4 0x0)
    0x344d3ce8 : 0x40abe6 (0x46a8040 0x46a2c40 0x344d3d28 0x3eeac0)
    0x344d3d08 : 0x40e4fb (0x46aec00 0x46a2c40 0x46aec04 0x46aec00)
    0x344d3d28 : 0x43ab14 (0x46aec00 0x46a2c40 0x600000 0x19c8d1)
    0x344d3d78 : 0x18801e (0x46aec00 0x4a5e5ac 0x4a5e5c0 0x11d975)
    0x344d3db8 : 0x12d17e (0x450adac 0x4a5e590 0x0 0x0)
    0x344d3df8 : 0x126257 (0x450ad00 0x0 0x18 0x344d3ee4)
    0x344d3f08 : 0x1973dd (0x344d3f44 0x0 0x0 0x0)
    0x344d3fc8 : 0x19f3b3 (0x479fee0 0x0 0x10 0x0)
    No mapping exists for frame pointer
    Backtrace terminated-invalid frame pointer 0xbffff1c8
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.IOFireWireIP(1.7.1)@0x7ea000->0x7f2fff
    dependency: com.apple.iokit.IOFireWireFamily(3.4.4)@0x6ed000
    dependency: com.apple.iokit.IONetworkingFamily(1.6.0)@0x5d1000
    BSD process name corresponding to current thread: ioreg
    Mac OS version:
    9D34
    Kernel version:
    Darwin Kernel Version 9.3.0: Fri May 23 00:49:16 PDT 2008; root:xnu-1228.5.18~1/RELEASE_I386
    System model name: MacBookPro3,1 (Mac-F4238BC8)
    This is the System Config:
    Model: MacBookPro3,1, BootROM MBP31.0070.B07, 2 processors, Intel Core 2 Duo, 2.4 GHz, 2 GB
    Graphics: GeForce 8600M GT, GeForce 8600M GT, spdisplayspciedevice, 256 MB
    Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
    Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
    AirPort: spairportwireless_card_type_airportextreme (0x168C, 0x87), 1.3.5
    Bluetooth: Version 2.1.0f17, 2 service, 1 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    PCI Card: pci168c,24, sppci_othernetwork, PCI Slot 5
    Serial ATA Device: FUJITSU MHW2160BHPL, 149.05 GB
    Parallel ATA Device: HL-DT-ST DVDRW GSA-S10N
    USB Device: Built-in iSight, Apple Inc., high_speed, 500 mA
    USB Device: Bluetooth USB Host Controller, Apple, Inc., full_speed, 500 mA
    USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, full_speed, 500 mA
    USB Device: IR Receiver, Apple Computer, Inc., low_speed, 500 mA

    Hello @larrycarol99,
    I understand that after upgrading your computer when you plug in an ethernet cord you get a hardware malfunction error. I am providing you with a Microsoft Support document: Hardware Malfunction Results in System Error Message that explains what causes that error and provides steps on fixing it. I am also including a link to the Compaq Presario 5300US Desktop PC Drivers page, which unfortunately does not have any drivers for your computer running Windows Vista.
    I hope this helps. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • How can I change Time data with List Entry Screen ?

    Hi expert.
    I transfer Time Data (Infotype 2003) via CAT6.
    When I go to transaction PA61 and click List Entry icon.
    Record is display and cannot change data.
    If I wanna change data.I must to click Choose Icon one by one record.
    How can I change data with List Entry Screen?
    ps. If record create via PA61. I can change data with List Entry Screen.
    I can't change with record that create via CAT6.
    Best Regards.

    have u tried to change your time entry through CAT2 tcode, ithink if u have created profile for time entry then it should allow you to change and you can use esc otherwise, its generally the standard profile given by SAP. but is 4 one user
    hope this helps
    guds

  • Entry screen for Time constraint class

    Hi All,
    What should be the "Entry screen and Time constraint class" in Determine Entry screen number for Time constraint class.
    Please do help me.
    Regards
    Jagadeesh Reddy

    Hai..
    It depends on the requirement...
    The following screens are currently available:
    Absences:  - 2000  Absences (general)   - 2001  Quota deduction
      - Attendances:   - 2050 Quota deduction   - 2051 No quota deduction
    And abt Time constraint ..
    A: The old record is delimited.
    E: It is not possible to create a new record.
    W: It is possible to create a new record, but the old record
         remains unchanged.
    N: As for indicator W, but no display.
    Time Constraint Class is basically how u want the system to treat when u try to create a new record during a period where a record already exists..
    Ram Manohar

  • IOS 7 time/clock missing on pin entry screen

    Using iOS 6 I could just slightly pry open the magnetic screen cover to peek at the current time as it was always displayed at the top and center of the pin entry screen.
    Now with iOS 7 I have to completely open the cover and tap cancel on the pin screen just to see the current time.  I could also completely enter the pin or click the sleep button on the side twice slowly.  But these are rather awkward actions to have to take just for a quick peek at the current time.
    Anyone know how to configure iOS 7 to always show the current time, even on the pin entry screen ???
    I am using an iPad Mini with the Passcode Lock setting configured to Immediately.

    I think the only way you could get this functionality back would be to either disable the passcode lock on your iPad Settings>General>Passcode Lock or to turn off the wake function when you open the magnetic screen cover Settings>General>Lock/Unlock
    Regards,
    Steve

  • Error: 0271: Real Time Clock Error - Check Date and Time settings.

    Hello all,
    I have lenovo T430s laptop that is configured with Bitlocker encruptions and TPM PIN entry. I don't think that has anything to do with the error msg I am getting but here it is. Error: 0271: Real Time Clock Error - Check Date and Time settings.
    Press Esc to continue or F1 to enter setup. I am unable to get into BIOS or even the login screen for Windows 7.
    Any advice would be appreciated.

    Thanks to everyone for the help.  Just want to close this out.  I had a IBM/Lenovo technician here today and he replaced the CMOS battery.  Upon the change, the computer is fine being reconnected to the dock (the three times I tried it).  So it has been resolved with the battery.  Surprised by the incompatibility claim because I am not having issues now.  Wondering if it's just a USB 2.0 vs. 3.0 thing (and Lenovo trying to sell more peripherals, of course).
    Thanks!

  • Time entries booked against network & activity are not transferring to PS

    Hi every one,
    We have scheduled a job to transfer time entries which were booked against network & activity on daily basis,  but for some reason the time entries are not getting posted against the network (Only for certain network, see attachment), though it is not showing any error message when i saw the spool log for the job in SM37. When i ran CAT5 in test mode it is showing time entries which needs to be booked against the network and activity.
    Can some one help me out to transfer the time entries via the job??
    I have attached the screenshot from CAT5 transaction.

    Hi Ram,
    Variant will determine the selection of personnel numbers and other parameter defined on CAT5 selection screen. If manually posting is happening on network then it means network are fine.
    What I can suggest is, you can create a new variant and then run it thought SM36 and check in SM37.
    Go in CAT5 transaction, and untick test run, log and dates transfer can be ticked. Then save. Then variant attributes screen will open save the variant with a name and description .lets assume you saved the variant with name TEST. If you wish you can on save the variant on certain number of network or personnel number, it depends on you to keep it blank or run variant for limited number of records.
    Now go in SM36 and click on STEP, in the ABAP program TAB enter "RCATSTPS", then select the variant using search help and you will find the variant defined above i.e. TEST.Check and save from bottom of the window. Come back once. Then click on START CONDITION, Date/Time - define a date and time for the variant "TEST" to run as a JOB.
    Check in SM37 you will find the schedule JOB run time and date. After the JOB is finished you check report CJI3 for actual posting of network.
    This will work fine, if in case you need few more fields to be defined in variant then I will suggest to create a variant via CATA instead of CAT5, their you will get more options to post time.
    Regards,
    Sandeep

  • ESS - Time - Collision with another Time Entry

    Dear Sir,
    We have an Attendance Maintained (2002) for emp X today.
    When we apply for leave on same day (Absence - 2001) through PA30 System over writes the entry.
    (Not a problem)
    While we apply for leave throught ESS we are getting the error "Collision with another Time Entry" .
    Please let us know what all changes are to be done so that the system can accept the absence on same day on which attendance is there.
    Thanks & Regards
    Param

    Hi,
    1st check the Time constrain for the infoype with help of the HR functional consultant, try to make entry by Tcode PA30 if itu2019s a successfully done.
    Check the configuration by "PTARQ" Customizing options.
    Check the T-code "PTARQ" in that select "Post Document " in the Post Document selection screen 1st click upon the "Test Run" and then execute see the data is proper or not, Once you clear with the DATA is correct then again Run same report without clicking upon " Test Run" once you done with the posting then check the same by T-code "PA30u201D.
    Let me know the details

  • I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the "Recommendation Report" screen, I clicked "Non-Included Trans." and saw that one of the vendors (Vendor Code: WILCO) has the followi

    Hello,
    I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the “Recommendation Report” screen, I clicked “Non-Included Trans.” and saw that one of the vendors (Vendor Code: WILCO) has the following error:
    “The document amount is greater than the max. amount allowed in the payment methods linked to the BP”
    Upon checking, the “PCF-W” Payment Method linked to WILCO does not have any restrictions, nor does WILCO have any credit/commitment limit set. I have also appropriately defined the Dummy Business Partner Bank (under Payment Terms) as well as checked the “Included” box for PCF-W on the Payment Run-Payment Methods screen.
    Could anyone please help me on this?
    Salamat,
    Cat

    PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
    If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!!

  • Error message: "Unable to load screen : root. ChangeLocation.ChangeLocationStart"

    I paid for & downloaded zagat to go app from handmark & it fails to run on my bb tour. Here is the error message I keep getting on my bb tour - "Unable to load screen :  root. ChangeLocation.ChangeLocationStart".   I've tried everything, including uninstalling and reinstalling the zagat app and I keep getting the very same error message: "Unable to load screen : root. ChangeLocation.ChangeLocationStart".
    btw, I have plenty of free space on my device.  HELP!!!
    I tried Handmark support several times, to no avail.  Thanks very much.  mike

    I'm having the same problem.  Have tried uninstalling, reloading, nothing.  Also read something about do not select Verizon as a carrier, but to use bizB, however on the 7. (new version) I'm trying to install bizB is not an option.  Help please!

  • Error while creating Time Card Using API

    Hello
    I have a requirement to run OTL Interface once day to create/update Time Card in OTL for those datea created on sysdate-1 in Service Module (data will get feeded from Service Module). For example this interface will run on sysdate to create time cards for those data created in the service module on sysdate-1.
    I have some sample data and code I am using but it is erroring out with different errors..Can anybody help me on this
    My Interface should run as expected below and my time card range will be Monday 24-Dec-2012 to Sunday 30-Dec-2012
    Interface Run Date Time Entry to process
    25-Dec-2012 24-Dec-2012 Data
    26-Dec-2012 25-Dec-2012 Data
    CREATE OR REPLACE PROCEDURE main_process (o_errbuf OUT VARCHAR2,
    o_ret_code OUT NUMBER,
    l_chr_from_date IN VARCHAR2,
    l_chr_to_date IN VARCHAR2)
    IS
    l_chr_skip VARCHAR2 (1);
    l_chr_task_exists VARCHAR2 (100);
    l_chr_error_msg VARCHAR2 (4000);
    l_num_tbb_id NUMBER;
    l_num_request_id NUMBER := fnd_global.conc_request_id;
    l_num_login_id NUMBER := fnd_global.login_id;
    l_num_user_id NUMBER := fnd_global.user_id;
    l_num_resp_id NUMBER := fnd_Profile.VALUE ('resp_ID');
    l_num_otl_appl_id CONSTANT NUMBER (3) := 809; -- This is the appl_id for OTL, do not change
    l_chr_proj_attr1 CONSTANT VARCHAR2 (7) := 'Task_Id';
    l_chr_proj_attr2 CONSTANT VARCHAR2 (10) := 'Project_Id';
    l_chr_proj_attr3 CONSTANT VARCHAR2 (16) := 'Expenditure_Type';
    l_chr_proj_attr4 CONSTANT VARCHAR2 (19) := 'Expenditure_Comment';
    l_chr_proj_attr5 CONSTANT VARCHAR2 (23) := 'SYSTEM_LINKAGE_FUNCTION';
    i_num_count NUMBER;
    i_num_rows_inserted NUMBER := NULL;
    l_chr_message fnd_new_messages.MESSAGE_TEXT%TYPE;
    l_chr_hdr_eligible VARCHAR2 (5);
    l_tbl_timecard_info hxc_self_service_time_deposit.timecard_info;
    l_tbl_attributes_info hxc_self_service_time_deposit.app_attributes_info;
    l_tbl_messages hxc_self_service_time_deposit.message_table;
    l_new_timecard_id NUMBER;
    l_new_timecard_ovn NUMBER;
    l_num_time_building_block_id hxc_time_building_blocks.time_building_block_id%TYPE;
    I NUMBER; --PENDING REMOVE
    l_message VARCHAR2 (2000); --PENDING REMOVE
    l_time_building_block_id NUMBER; --PENDING REMOVE
    CURSOR process_line
    IS
    SELECT ROWID ROW_ID, a.*
    FROM xxpowl.xxpowl_hxt_otl_intf a
    WHERE 1 = 1 --a.request_id = l_num_request_id
    AND a.status_flag = 'NEW' -- 'VALID'
    AND a.error_desc IS NULL
    AND a.service_activity_type IS NOT NULL;
    BEGIN
    FND_FILE.PUT_LINE (
    fnd_file.LOG,
    'Entered From Date:'
    || (TO_DATE ( (l_chr_from_date), 'YYYY/MM/DD HH24:MI:SS')));
    FND_FILE.PUT_LINE (
    fnd_file.LOG,
    'Entered To Date:'
    || (TO_DATE ( (l_chr_to_date), 'YYYY/MM/DD HH24:MI:SS')));
    FND_GLOBAL.APPS_INITIALIZE (user_id => l_num_user_id,
    resp_id => l_num_resp_id,
    resp_appl_id => l_num_otl_appl_id);
    BEGIN
    FND_FILE.PUT_LINE (
    fnd_file.LOG,
    'Inserting the data in the custom table XXPOWL_HXT_OTL_INTF');
    INSERT INTO xxpowl.XXPOWL_HXT_OTL_INTF (SR_NUMBER,
    PROJECT_TASK_OWNER,
    PROJECT_TASK_OWNER_PERSON_ID,
    PROJECT_ID,
    PROJECT_TASK_ID,
    ASSIGNEE,
    ASSIGNEE_ID,
    ASSIGNEE_PERSON_ID,
    ASSIGNEE_SUPERVISOR_PERSON_ID,
    TASK_NUMBER,
    PARENT_TASK_NUMBER,
    DEBRIEF_NUMBER,
    DEBRIEF_HEADER_ID,
    DEBRIEF_DATE,
    TASK_ASSIGNMENT_ID,
    DEBRIEF_OBJECT_VERSION_NUMBER,
    DEBRIEF_PER_COMPLETE,
    DEBRIEF_LINE_ID,
    DEBRIEF_PROCESS,
    SERVICE_ACTIVITY,
    SERVICE_ACTIVITY_TYPE,
    INVENTORY_ITEM_ID,
    ITEM,
    BUSINESS_PROCESS_ID,
    DEBRIEF_TRANSACTION_TYPE_ID,
    DEBRIEF_UOM_CODE,
    DEBRIEF_HOURS,
    CONV_DEBRIEF_IN_HOURS,
    DEBRIEF_START_TIME,
    DEBRIEF_END_TIME,
    DEBRIEF_SERVICE_DATE,
    NOTES,
    OTL_ELIGIBLE_FLAG,
    NOTIF_SENT_FLAG,
    NOTIF_ELIGIBLE_FLAG,
    ERROR_DESC,
    STATUS_FLAG,
    INITIAL_NOTIF_SENT_DATE,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    LAST_UPDATE_LOGIN,
    REQUEST_ID,
    INITIAL_REQUEST_ID)
    (SELECT b.incident_number sr_number,
    h.resource_name project_task_owner,
    h.source_id project_task_owner_person_id,
    b.external_attribute_1 project_id,
    b.external_attribute_2 project_task_id,
    jtf_task_utl.get_owner (d.resource_type_code, d.resource_id)
    assignee,
    d.resource_id assignee_id,
    jrre.source_id assignee_person_id,
    paa.supervisor_id assignee_supervisor_person_id,
    c.task_number task_number,
    (SELECT task_number
    FROM jtf_tasks_b z
    WHERE c.parent_task_id = z.task_id)
    parent_task_number,
    a.debrief_number,
    a.debrief_header_id debrief_header_id,
    a.debrief_date debrief_date,
    a.task_assignment_id task_assignment_id,
    a.object_version_number debrief_object_version_number,
    a.attribute1 debrief_per_complete,
    e.debrief_line_id debrief_line_id,
    cbp.name debrief_process,
    cttv.name service_activity,
    DECODE (cttv.attribute1,
    'Y', 'Service-Billable',
    'N', 'Service-Non Billable')
    service_activity_type,
    e.inventory_item_id inventory_item_id, --f.segment1 item,
    (SELECT segment1
    FROM mtl_system_items_b f
    WHERE e.inventory_item_id = f.inventory_item_id
    AND f.organization_id = b.inv_organization_id)
    item, --241 --Mater Org
    e.business_process_id business_process_id,
    e.transaction_type_id debrief_transaction_type_id,
    e.uom_code debrief_uom_code,
    e.quantity debrief_hours,
    (g.conversion_rate * e.quantity) conv_debrief_in_hours,
    e.labor_start_date debrief_start_time,
    e.labor_end_date debrief_end_time,
    e.service_date debrief_service_date,
    (SELECT note_tl.notes
    FROM JTF_NOTES_B NOTE, JTF_NOTES_TL NOTE_TL
    WHERE NOTE.JTF_NOTE_ID = NOTE_TL.JTF_NOTE_ID
    AND NOTE_TL.LANGUAGE = USERENV ('LANG')
    AND NOTE.SOURCE_OBJECT_ID = a.DEBRIEF_HEADER_ID
    AND note.jtf_note_id =
    (SELECT MAX (note1.jtf_note_id)
    FROM JTF_NOTES_B note1
    WHERE NOTE1.SOURCE_OBJECT_ID =
    a.DEBRIEF_HEADER_ID))
    notes,
    'Y',
    'N',
    'X',
    NULL,
    'NEW',
    NULL,
    SYSDATE,
    l_num_user_id,
    SYSDATE,
    l_num_user_id,
    l_num_login_id,
    l_num_request_id,
    l_num_request_id
    FROM csf_debrief_headers a,
    cs_incidents_all_b b,
    jtf_tasks_b c,
    jtf_task_assignments d,
    csf_debrief_lines e, --mtl_system_items_b f,
    mtl_uom_conversions g,
    jtf_rs_resource_extns_vl h,
    cs_business_processes cbp,
    cs_transaction_types_vl cttv --, cs_sr_task_debrief_notes_v notes
    jtf_rs_resource_extns_vl jrre,
    per_all_assignments_f paa
    WHERE a.task_assignment_id = d.task_assignment_id
    AND d.task_id = c.task_id
    AND c.source_object_id = b.incident_id
    AND c.source_object_type_code = 'SR'
    AND a.debrief_header_id = e.debrief_header_id
    AND e.uom_code = g.uom_code
    AND g.uom_class = 'Time'
    AND b.incident_owner_id = h.resource_id(+)
    AND e.business_process_id = cbp.business_process_id
    AND e.transaction_type_id = cttv.transaction_type_id
    AND d.resource_id = jrre.resource_id
    AND jrre.source_id = paa.person_id --= 181
    AND TRUNC (SYSDATE) BETWEEN paa.effective_start_date
    AND paa.effective_end_date
    AND TRUNC (e.last_update_date) BETWEEN TO_DATE (
    (l_chr_from_date),
    'YYYY/MM/DD HH24:MI:SS')
    AND TO_DATE (
    (NVL (
    l_chr_to_date,
    l_chr_from_date)),
    'YYYY/MM/DD HH24:MI:SS')
    AND NOT EXISTS
    (SELECT 1
    FROM xxpowl.XXPOWL_HXT_OTL_INTF old
    WHERE old.debrief_header_id =
    e.debrief_header_id
    AND old.task_number = c.task_number
    AND TRUNC (old.DEBRIEF_SERVICE_DATE) =
    TRUNC (e.SERVICE_DATE)
    AND old.DEBRIEF_TRANSACTION_TYPE_ID =
    e.TRANSACTION_TYPE_ID
    AND old.request_id <> l_num_request_id
    AND old.DEBRIEF_UOM_CODE = e.uom_code
    AND old.DEBRIEF_HOURS = e.quantity));
    i_num_rows_inserted := SQL%ROWCOUNT;
    fnd_file.put_line (fnd_file.LOG,
    'No of rows Inserted:' || i_num_rows_inserted);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || 'Error while Inserting debrief lines data into custom table.Error: '
    || SQLERRM
    || '. Exiting the interface without processing further';
    fnd_file.put_line (fnd_file.LOG, l_chr_error_msg);
    ROLLBACK;
    RETURN;
    END;
    FOR process_line_rec IN process_line
    LOOP
    l_chr_error_msg := NULL;
    l_tbl_timecard_info.delete;
    l_tbl_attributes_info.delete;
    l_tbl_messages.delete;
    l_new_timecard_id := NULL;
    l_new_timecard_ovn := NULL;
    l_num_time_building_block_id := NULL;
    l_chr_message := NULL;
    i_num_count := 0;
    l_num_tbb_id := NULL;
    BEGIN
    hxc_timestore_deposit.create_time_entry (
    p_measure => process_line_rec.conv_debrief_in_hours,
    p_day => TO_DATE ( (process_line_rec.debrief_service_date),
    'DD/MM/RRRR'),
    p_resource_id => process_line_rec.assignee_person_id,
    p_comment_text => process_line_rec.notes
    || '....Remove this notes in the code logic....Request Id:'
    || l_num_request_id, --pending lokesh
    p_app_blocks => l_tbl_timecard_info,
    p_app_attributes => l_tbl_attributes_info,
    p_time_building_block_id => l_num_time_building_block_id);
    fnd_file.put_line (
    fnd_file.LOG,
    'Step#1 completed, TIME_BUILDING_BLOCK_ID:'
    || l_num_time_building_block_id);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#1 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    -- Classify Time
    -- Attribute1
    hxc_timestore_deposit.create_attribute (
    p_building_block_id => l_num_time_building_block_id,
    p_attribute_name => 'Task_Id',
    p_attribute_value => process_line_rec.project_task_id,
    p_app_attributes => l_tbl_attributes_info);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#2 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    -- Attribute2
    hxc_timestore_deposit.create_attribute (
    p_building_block_id => l_num_time_building_block_id,
    p_attribute_name => 'Project_Id',
    p_attribute_value => process_line_rec.project_id,
    p_app_attributes => l_tbl_attributes_info);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#3 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    -- Attribute3
    hxc_timestore_deposit.create_attribute (
    p_building_block_id => l_num_time_building_block_id,
    p_attribute_name => 'Expenditure_Type',
    p_attribute_value => 'Service-Billable',
    -- p_attribute_value=> 'Service-Non Billable',
    p_app_attributes => l_tbl_attributes_info);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#4 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    -- Attribute4
    hxc_timestore_deposit.create_attribute (
    p_building_block_id => l_num_time_building_block_id,
    p_attribute_name => 'Expenditure_Comment',
    p_attribute_value => 'Expenditure Comment created by API',
    p_app_attributes => l_tbl_attributes_info);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#5 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    -- Attribute5
    hxc_timestore_deposit.create_attribute (
    p_building_block_id => l_num_time_building_block_id,
    p_attribute_name => 'SYSTEM_LINKAGE_FUNCTION',
    p_attribute_value => 'ST',
    p_app_attributes => l_tbl_attributes_info);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#6 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    hxc_timestore_deposit.execute_deposit_process (
    p_validate => FALSE,
    p_app_blocks => l_tbl_timecard_info,
    p_app_attributes => l_tbl_attributes_info,
    p_messages => l_tbl_messages,
    p_mode => 'SAVE', -- p_mode-> 'SUBMIT', 'SAVE', 'MIGRATION', 'FORCE_SAVE' or 'FORCE_SUBMIT'
    p_deposit_process => 'OTL Deposit Process',
    p_timecard_id => l_new_timecard_id,
    p_timecard_ovn => l_new_timecard_ovn);
    COMMIT;
    hxc_timestore_deposit.log_messages (p_messages => l_tbl_messages);
    IF (l_tbl_messages.COUNT <> 0)
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#7 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM
    || '.API Error messages are:';
    i_num_count := l_tbl_messages.FIRST;
    LOOP
    EXIT WHEN (NOT l_tbl_messages.EXISTS (i_num_count));
    l_chr_message :=
    fnd_message.get_string (
    appin => l_tbl_messages (i_num_count).application_short_name,
    namein => l_tbl_messages (i_num_count).message_name);
    fnd_file.put_line (
    fnd_file.LOG,
    (l_tbl_messages (i_num_count).message_name));
    l_chr_error_msg := l_chr_error_msg || l_chr_message || '.';
    i_num_count := l_tbl_messages.NEXT (i_num_count);
    END LOOP;
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line (
    fnd_file.LOG,
    '**** Error.....Inside Exception Block in execute_deposit_process');
    BEGIN
    hxc_timestore_deposit.log_messages (
    p_messages => l_tbl_messages);
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line (
    fnd_file.LOG,
    '*****Error....Inside Exception Block in hxc_timestore_deposit.log_messages.Error:'
    || SQLERRM);
    END;
    l_chr_error_msg :=
    l_chr_error_msg
    || 'Error in INSERT API CALL at Step#7 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM
    || '.API Error messages are:';
    IF (l_tbl_messages.COUNT <> 0)
    THEN
    i_num_count := l_tbl_messages.FIRST;
    LOOP
    EXIT WHEN (NOT l_tbl_messages.EXISTS (i_num_count));
    l_chr_message :=
    fnd_message.get_string (
    appin => l_tbl_messages (i_num_count).application_short_name,
    namein => l_tbl_messages (i_num_count).message_name);
    l_chr_error_msg := l_chr_error_msg || l_chr_message || '.';
    i_num_count := l_tbl_messages.NEXT (i_num_count);
    END LOOP;
    END IF;
    END;
    COMMIT;
    IF l_chr_error_msg IS NOT NULL OR l_new_timecard_id IS NULL
    THEN
    fnd_file.put_line (fnd_file.LOG,
    '***** Error *****' || l_chr_error_msg);
    o_ret_code := 1;
    END IF;
    BEGIN
    fnd_file.put_line (
    fnd_file.LOG,
    'Updating the status of the record in custom table for debrief_line_id:'
    || process_line_rec.debrief_line_id);
    UPDATE xxpowl.XXPOWL_HXT_OTL_INTF
    SET status_flag =
    DECODE (
    l_chr_error_msg,
    NULL, DECODE (
    l_new_timecard_id,
    NULL, 'FAILED',
    DECODE (SIGN (l_new_timecard_id),
    '1', 'SUCESS',
    'FAILED')),
    'FAILED'),
    time_building_block_id = l_new_timecard_id,
    last_update_date = SYSDATE,
    request_id = l_num_request_id,
    last_updated_by = l_num_user_id,
    error_desc = l_chr_error_msg
    WHERE ROWID = process_line_rec.row_id;
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error while updating the status to SUCCESS.Error: '
    || SQLERRM;
    END;
    END LOOP; --process_line
    EXCEPTION
    WHEN OTHERS
    THEN
    FND_FILE.PUT_LINE (
    fnd_file.LOG,
    'Unknown/Unhandlled Exception Error......' || SQLERRM);
    o_ret_code := 2;
    END main_process;
    SHOW ERR;
    Error Messages:
    1. Error in INSERT API CALL at Step#7 for the debrief line id: 41011.Error:ORA-00001: unique constraint (HXC.HXC_ROLLBACK_TIMECARDS_PK) violated.
    2. Error in INSERT API CALL at Step#7 for the debrief line id: 41011.Error:ORA-00001: unique constraint (HXC.HXC_LATEST_DETAILS_FK) violated
    Thanks a lot for the help!

    Hello
    We will get this error message when we run this from application other than "Time and Labor Engine". So try to run this concurrent program (if you registered as a conc. program) from Time and Labor Engine application.
    --Lokesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for