R12 SSHR - Leave of Absence page error

HI,
I am filling the leave details like "From" & "To" date, selecting leave type etc. When I click "Next" button, I am getting an error message like "A compiled version of the formula 324 cannot be found.. Check that it exists and compiled..."
I just copied the formula from "TEMPLATE ABSENCE DURATION" into "BG_ABSENCE_DURATION" (created new formula name with "Quickpaint" type)
How to overcome this error?
Thanks in advance.

Dear All,
This is the formula I am using for Absence. In form It is working fine. But in SSHR it is throwing the error. Please check and help me in resolving this issue.
FORMULA NAME: TEMPLATE_ABSENCE_DURATION
FORMULA TYPE: Quickpaint
DESCRIPTION: Calculates the Employee's Absence
Duration in days or hours. The profile
'HR: Absence Duration Auto Overwrite'
determines if an existing duration value
can change automatically or not.
INPUTS:
- days_or_hours: the units of the absence
- date_start: the absence start date
- date_end: the absence end date
- time_start: the absence start time
- time_end: the absence end time
DBI Required:
- asg_start_time : the assignment start time
- asg_end_time: the assignment end time
- asg_pos_start_time: the positon start time
- asg_pos_end_time: the position end time
Change History
01 Sep 99 jmoyano Created
10 Oct 01 dcasemor end_day was being set to
asg_start_time. Also allowed
hours to be defaulted if no
UOM is set and hours have been
entered.
alias emp_hire_date as hire_date
default for per_sex is 'X'
/* Main Body of Formula */
INPUTS ARE days_or_hours(text),
date_start (date),
date_end (date),
time_start (text),
time_end (text),absence_attendance_type_id
/* default values */
default for per_emp_number is ' '
default for MARRIAGE_LEAVE_CUM_BALANCE is 0
default for PER_SEX_CODE is 'X'
default for hire_date is '01-jan-1951'(date)
DEFAULT FOR days_or_hours IS 'D'
DEFAULT FOR time_start IS '09:00'
DEFAULT FOR time_end IS '17:00'
DEFAULT FOR date_start IS '0001/01/01 00:00:00' (DATE)
DEFAULT FOR date_end IS '4712/12/31 00:00:00' (DATE)
/* database items */
DEFAULT FOR asg_start_time IS '09:00'
DEFAULT FOR asg_end_time IS '17:00'
DEFAULT FOR asg_pos_start_time IS '09:00'
DEFAULT FOR asg_pos_end_time IS '17:00'
v_business_group_id=81
/* local variables */
error_or_warning = ' '
invalid_msg = ' '
duration = '0'
number_of_days = 0
first_day_hours = 0
last_day_hours = 0
/* Defaults Section */
/* default values for working day, these are only used if no
working conditions can be found */
begin_day = '09:00'
end_day = '17:00'
IF ((date_start WAS DEFAULTED) or (date_end WAS DEFAULTED)) then
duration = '0'
else
number_of_days = days_between(date_end,date_start)
/* absence in hours */
IF days_or_hours = 'H'
OR (days_or_hours WAS DEFAULTED
AND time_start WAS NOT DEFAULTED
AND time_end WAS NOT DEFAULTED) THEN
/* look for the assignment values*/
If ((asg_start_time WAS NOT DEFAULTED) and
(asg_end_time WAS NOT DEFAULTED)) then
begin_day = asg_start_time
end_day = asg_end_time
else
/* look for the position values */
if ((asg_pos_start_time WAS NOT DEFAULTED) and
(asg_pos_end_time WAS NOT DEFAULTED)) then
begin_day = asg_pos_start_time
end_day = asg_pos_end_time
/* compute hours per day */
hours_per_day = ((to_num(substr(end_day,1,2))*60 +
to_num(substr(end_day,4,2))) -
(to_num(substr(begin_day,1,2))*60 +
to_num(substr(begin_day,4,2)))) / 60
/* absence takes place during the same day */
IF number_of_days = 0 THEN
duration = to_char(((to_num(substr(time_end,1,2))*60 +
to_num(substr(time_end,4,2))) -
(to_num(substr(time_start,1,2))*60 +
to_num(substr(time_start,4,2)))) / 60)
/* more than one day */
ELSE
/* Changes for bug3093970 starts here */
first_day_hours =((to_num(substr(end_day,1,2))*60 +
to_num(substr(end_day,4,2))) -
(to_num(substr(time_start,1,2))*60 +
to_num(substr(time_start,4,2))) ) / 60
     last_day_hours = ((to_num(substr(time_end,1,2))*60 +
to_num(substr(time_end,4,2))) -
(to_num(substr(begin_day,1,2))*60 +
to_num(substr(begin_day,4,2))))/60
     if first_day_hours <=0
     OR first_day_hours > hours_per_day
     OR last_day_hours <= 0
     OR last_day_hours > hours_per_day THEN
/* Leave timings are out off standard timings*/
/* So use 24 hours rule */
     first_day_hours = (24*60 -
     (to_num(substr(time_start,1,2))*60 +
to_num(substr(time_start,4,2))))/60
last_day_hours = (to_num(substr(time_end,1,2))*60 +
to_num(substr(time_end,4,2)))/60
duration = to_char(first_day_hours+last_day_hours)
duration = to_char(to_num(duration) +
(DAYS_BETWEEN(date_end,date_start) - 1)* hours_per_day)
/* Changes for bug3093970 ends here */
/* absence in days */
ELSE
duration = to_char(DAYS_BETWEEN(date_end,date_start) + 1)
/* use of error messages:
if to_num(duration) = 0 then
duration = 'FAILED'
invalid_msg = 'HR_ABSENCE_CANNOT_BE_ZERO'
v_duration=to_number(duration)
length_of_service=(days_between(date_start,hire_date)+1)/365
v_leave_type=XXAQ_LEAVE_TYPE(v_business_group_id,absence_attendance_type_id)
if v_leave_type='HAJJ LEAVE' then
if length_of_service<=aq_los_for_hajj_leave then
duration = 'FAILED'
invalid_msg = 'Length of Service Should be more than '||to_char(aq_los_for_hajj_leave)|| ' years'
else
if v_duration+XXAQLEAVEAVAILED(per_emp_number,
v_leave_type)>aq_hajj_leave_entitlement then
duration = 'FAILED'
invalid_msg = 'Maximum Entitlement Should Be '||to_char(aq_hajj_leave_entitlement)
/*Marriage Leave*/
if v_leave_type='MARRIAGE LEAVE' then
if v_duration+XXAQLEAVEAVAILED(per_emp_number,
v_leave_type)>aq_marriage_leave_entitlement then
duration = 'FAILED'
invalid_msg = 'Maximum Entitlement Should Be '||to_char(aq_marriage_leave_entitlement)
/*Paternity Leave*/
if v_leave_type='PATERNITY LEAVE' then
if v_duration+XXAQLEAVEAVAILED(per_emp_number,
v_leave_type)>aq_paternity_leave_entitlement then
duration = 'FAILED'
invalid_msg = 'Maximum Entitlement Should Be '||to_char(aq_paternity_leave_entitlement)
/*Maternity Leave*/
if v_leave_type='MATERNITY LEAVE' then
if PER_SEX<>'Female' then
duration = 'FAILED'
invalid_msg = 'Only Female Employees are Eligible for Maternity Leave'
/*unpaid leave hours begin*/
/*if v_leave_type='UNPAID LEAVE HOURS' then
if v_duration>8 then
duration = 'FAILED'
invalid_msg = TO_CHAR(v_duration)||'Duration Should not Exceed 8 Hours for This Leave Type'
/*unpaid leave hours end*/
return duration, invalid_msg
Regards,
Jithin

Similar Messages

  • SSHR: Leave of Absence API

    Hello All,
    I want to add Leave of Absence for an employee using API which should generate Approval notification. Can anyone please guide me to get the API to add Leave of Absence.
    - Priyanka

    Hi ,
    Could someone please help me out here?
    regards,
    Ved

  • Oracle SSHR (Absence Management) Error - ORA-01436: CONNECT BY LOOP

    The following error message is displayed in Absence Review Page while creating a Leave of Absence for some employees, while working propoerly (withpout any error) for other employees,
    "An Invalid Setup has been detected for the current Transaction Type in Approvals Management. Please contact your System Administrator."
    Please note that I checked the Supervisory chain through the follwoing query and it shows data properly without any endless loop,
    SELECT levels, ppf.full_name, ppf.Employee_number
    FROM per_all_people_f ppf,
    (SELECT level levels, paf.person_id
    FROM per_all_assignments_f paf START WITH paf.person_id = &person_id
    AND paf.primary_flag = 'Y'
    AND SYSDATE BETWEEN paf.effective_start_date
    AND paf.effective_end_date CONNECT BY PRIOR paf.supervisor_id = paf.person_id
    AND paf.primary_flag = 'Y'
    AND SYSDATE BETWEEN paf.effective_start_date
    AND paf.effective_end_date ORDER BY LEVEL) paf
    WHERE ppf.person_id = paf.person_id
    AND SYSDATE BETWEEN ppf.effective_start_date
    AND ppf.effective_end_date
    ORDER BY levels
    further it may please be noted that we have currently set a singly level for approval (testing purposes).
    Any help to resolve this issue shall be highly appriciable.
    Regards,
    Nahidullah Khan

    Please also see the following docs.
    Invalid Setup Has Been Detected For The Current Transaction Type In Approvals Management [ID 1313961.1]
    An Invalid Setup has been detected for the current Transaction Type in Approvals Management. [ID 602920.1]
    An Invalid Setup Has Been Detected For The Current Transaction Type In Approvals Management. ORA-06502: PL/SQL: numeric or value error: Character string buffer too small [ID 1458422.1
    An Invalid setup has been detected for the current transaction type [ID 1300417.1]
    Connect By Loop Problem in Supervisor Hierarchy [ID 579750.1]
    Initiating A Transaction That Goes For Approval Fails With ORA-06502 [ID 795063.1]
    Thanks,
    Hussein

  • Application Error has occurred in your process Leave of Absence performed

    Hello,
    We have a leave process in SSHR Module.When we create a leave and send it for an approval then it is approved without an error. But when we update the leave and send it again for an approval then We are getting below error.
    Application Error has occurred in your process Leave of Absence performed
    The changes were not applied because ORA-01403: no data found ORA-01403: no data found
    We have removed all user hooks related to leave.Still error is coming. We are using 12.1.3 version.
    Thanks in Advance,
    Regards,
    monika

    Hi Monika,
    One more thing i want to tell that when i am checking the transaction from workflow Admin then its showing an error in below activity.
    "Notify HR About Commit System Error"
    Below error stack has been found in workflow ADMIN
    Workflow Errors:
    Failed Activity Notify HR About Commit System Error
    Activity Type Notice
    Error Name WFNTF_ROLE
    Error Message 3205: '[email protected]' is not a valid role or user name.
    Error Stack Wf_Notification.Send([email protected], HRSSA, HR_EMBED_DEPT_SYSAPPLERR_MSG, WF_ENGINE.CB) Wf_Engine_Util.Notification_Send(HRSSA, 8155, 1296851, HRSSA:HR_EMBED_DEPT_SYSAPPLERR_MSG) Wf_Engine_Util.Notification(HRSSA, 8155, 1296851, RUN)
    please see this
    The Exception ' The changes were not applied because A person type with a system person type EMP must be specified' is Raised While Appoving Changes to Employee Personal Details. [ID 1545950.1]
    Application Error Notification Is Recieved By Requestor After LOA Approval [ID 855141.1]
    ;) AppsmAsti :)
    sharing is caring

  • Workflow Process - Leave of Absence in R12

    Hey guys,
    I am trying to find out the workflow process name for the Leave of Absence process using the FND FUNCTION Name.
    Previously in 11i you were able to find out the process name (pProcessName=HR_LOA_JSP_PRC) using the parameters field in the function definition screen.
    pProcessName=HR_LOA_JSP_PRC&pItemType=HRSSA&pCalledFrom=HR_LOA_SS&pPersonID=&pFromMenu=Y
    But the parameters field in 12i has a reference to a Generic process name.
    Any Idea how to find the process name? I had heard that the architecture had changed? so anyone has any idea or doc or metalink note on this?
    new 12i function
    OAFunc=HR_LOA_SS&pAMETranType=SSHRMS&pAMEAppId=800&pProcessName=HR_GENERIC_APPROVAL_PRC&pItemType=HRSSA&pCalledFrom=HR_LOA_SS&pApprovalReqd=YD&pNtfSubMsg=HR_ABS_NTF_SUB_MSG&pConcAction=N
    ---------------------------------------------

    There seems to some kind of change of concept with respect to some of the workflows.
    Found the below text from the workflow developer guide.
    Self Service Generic Approval Process (HR_GENERIC_APPROVAL_PRC) - This approval process supplied by Oracle Self-Service Human Resources is used across HRMS products such as Oracle iRecruitment, Oracle Training administration, Oracle Talent Management (Appraisal), and others, as well as by Oracle Self-Service Human Resource. The Self Service Generic Approval Process provides extensive capability including the features delivered through the Notification Process for Approvers and Notifiers. This generic approval process can be invoked directly from BC4J Java code by passing mandatory attributes for AME callback. Also it provides callbacks for dynamic notification message subject generation with product specific-callbacks.
    ----------------------------------

  • I need to change logic behind Calculate Duration button in Leave of Absence

    Hello,
    I need to change logic behind Calculate Duration button in Leave of Absence creation page.
    How I can do that?
    Please suggest.
    Regards,
    mofizur

    This will be a OAF customization, you have extend this oracle.apps.per.selfservice.absence.webui.AbsenceCO Controller.
    in processFormRequest you have catch event to Calculate Duration Button.
    You need to write custom your requrirement Logic for event to Calculate Duration.
    Thanks, Avaneesh

  • HT2693 what can i do when vendor contact support page can't send my info/msg due to page error and i have paid for an app that no longer works after purchase

    What can i do when i purchase an app then after purchase the app fails to work. I deleted the app rebooted ipa then reinstated app. It still fails to work. I went to vendor support but when i go to send the info to them it comes up with unable to send msg due to page error. I am not happy. My child loved the app now it wont even open. Any help???

    Try talking to iTunes support
    http://www.apple.com/support/itunes/contact/

  • ALV top of page error

    Hi All,
    I have the same issue as mentioned in the thread
    ALV - Top of Page Error
    Please let me know the solution
    Thanks
    Bala Duvvuri
    Moderator message: please describe the problem in your own thread, do not have people clicking on links first.
    Edited by: Thomas Zloch on Mar 22, 2011 9:59 AM

    Solved by self

  • I have an iphone 4 and after updating it to the ios5 software, it will not allow me to activate nor allow me to leave the setup page. i cannot even restore it. does anyone know what to do?

    i have an iphone 4 and after updating it to the ios5 software, it will not allow me to activate nor allow me to leave the setup page. i plugged it into itunes and it is stuck there too... i cannot even restore it. does anyone know what to do?

    I have had this same issue but thankfully fixed it. Follow he steps below:
    Sync your iPhone with you iTunes therefore your info is backed up. Unplug your phone.
    Go to Settings > Reset > Erase All Content and Settings
    Once your phone has reset and come back on answer the question until it asks if you want to back up from itunes Click this then plug your phone in.
    After everything has sync'd back to your phone everything should work fine.
    Hope this helps.

  • How to read the comment field of the Leave of absence Workflow.

    Hi,
    I have attached a custom Workflow template  to the
    Standard class "CL_HRASR00_WF_PROCESS_OBJECT" and  event "TRIGGERED" for my Personal leave of absence approval.
    During the Workflow step, once the approval goes to the final approval step and it is there in the Benifit Administrator's inbox (Portal) for approval, the Benift Admin is having an option of Withdrawing the process(Withdraw Process button). After filling the comments field, once he clicks this withdraw button the standard class "CL_HRASR00_WF_PROCESS_OBJECT" event "WITHDRAWN" gets triggered and it calls a separate workflow.
    I need to capture this comment in the new Workflow but not able to do the same.
    Can anyone let me know how can I do this. The event container does have any parameter to pass this value to the workflow container. And since the Step_Object GUID also changes I am unable to read it in the second workflow.
    Looking for some real help as this has become critical for the project.
    Thanks is andvace.

    Hi All,
    Thanks for your reply Trevor, but I guess you misunderstood my question. What I am not looking for is not the absence data. Basically I need to capture the comments put in by the Benifit administrator in the Leave of absence application form (Personal or Maternity/child care ), incase when he goes for withdrawing the Application submitted by the Employee.
    To elaborate it functionality step by step...
    1. An employee logs on to portal and submits a LOA application with a few mandatory field ( Commencing date,Returning Date, Reason).
      This kicks of a Workflow say WF1 attached to
    ABAP Class- CL_HRASR00_WF_PROCESS_OBJECT,  Event- TRIGGERED.
    2. Then after executing a few tasks to retrive data it goes to the Manager for approval. Once the manager appoves it goes to the Benifit Administrator.
    3. The Benifit Administrator can approve the application or has an option of withdrawing it.
    4. In case the Benifit Administrator goes for Withdrawal, after putting some comments in the form, it triggers the Event-WITHDRAWN of ABAP Class-CL_HRASR00_WF_PROCESS_OBJECT.
    5. This event in turn starts a new Workflow WF2.
    6. In this Workflow WF2 I need to pull in the comments put in by the Benifit Admin.
    How can I pull this comment?

  • In ESS-Leave Request -A critical error has occured.

    In ESS when tried to enter the Leave which is under Leave request the below error occured:
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    CREATE OBJECT: The class  was not found., error key: RFC_ERROR_SYSTEM_FAILURE  
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: CREATE OBJECT: The class  was not found., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
         at com.sap.xss.hr.lea.blockcale.FcBlockCale.getBcData(FcBlockCale.java:232)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalFcBlockCale.getBcData(InternalFcBlockCale.java:250)
         at com.sap.xss.hr.lea.blockcale.FcBlockCaleInterface.getBcData(FcBlockCaleInterface.java:135)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalFcBlockCaleInterface.getBcData(InternalFcBlockCaleInterface.java:224)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalFcBlockCaleInterface$External.getBcData(InternalFcBlockCaleInterface.java:276)
         at com.sap.xss.hr.lea.blockcale.VcBlockCale.onInit(VcBlockCale.java:261)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalVcBlockCale.onInit(InternalVcBlockCale.java:275)
         at com.sap.xss.hr.lea.blockcale.VcBlockCaleInterface.onInit(VcBlockCaleInterface.java:163)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalVcBlockCaleInterface.onInit(InternalVcBlockCaleInterface.java:144)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalVcBlockCaleInterface$External.onInit(InternalVcBlockCaleInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1246)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:354)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:547)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:591)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:822)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: CREATE OBJECT: The class  was not found., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
         at com.sap.xss.hr.lea.model.LeaveRequestAdaptiveModel.pt_Arq_Eecale_Get(LeaveRequestAdaptiveModel.java:434)
         at com.sap.xss.hr.lea.model.Pt_Arq_Eecale_Get_Input.doExecute(Pt_Arq_Eecale_Get_Input.java:137)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
         ... 60 more

    I found out the solution and solved this issue.
    Deleted the leave request which was created with error i.e: from the custom table zxx_vacr noted down the id initiater ( which had error) and in the Test Environment for Leave request (PTARQ) gave the PERNR and deleted the documents ( gave the id iniater in the document status ).
    To check the error work flow go to SWIA and check for that Workflow (Leave) raised by the PERNR at that duration ( check in IT2001 for the duration) and give it here.
    After deleting it check in the portal for the leave request.

  • No Start Page Error

    No Start Page
    Could not display this Web Site as no Start Page has been configured. To configure a default starting page, set one of your Web Pages to be the Start Page. Please contact your Administrator for more information."
    Not sure why this is happening. dallaseasterrun.com

    Hi Paul,
    It appears you've managed to address this issue - I'm not encountering a "No Start Page" error when navigating to your site.
    Cheers.

  • Intermittent Indirect REference to login page error

    Hello,
    I am building a small web app in a mixed (java/microsoft) environment. We have no budget for a purchased single sign on solution, so I built one with the following architecture:
    ASP page with integrated windows security, this simply returns to the url passed in as'URL' the clients current logon name.
    This ASP page is called by the IntranetSSOServlet, which then builds and submit the vanilla logon page. This servlet is my logon page, it simply posts it's URL to the ASP page, and if a return is posted from ASP, the logon page is bult and submitted. The IntranetSSOServlet also sets a session variable called user to the current user's windows login.
    I have two secure files, these are .jsp passthrough pages (since accessing the servlet directly did not appear to trip the security requirement and call the logon request from the server, so no users were ever in any roles). These are simple pages with a javascript redirect to the two servlets, and the jsp is only used because the servlets do not seem to trip the security requirement in the App server.
    On my machine this works with no issues, single sign on is a success and all is well, on the machine next to mine it works fine also. However, on several client machines, I keep getting an invalie direct reference to login page.
    My question is this:
    Does anyone see any major issues with the architecture which are causing this?
    It appears that the browser on some clients is attempting to go 'Back'. Is this a standard function of any software packages (spyware, internet tracking software, etc.?)
    I am building with Netbeans 5.0, running Embedded Tomcat 5.5.9 and the pages are all accessed via windows XP/IE 6
    Again, whats weird is that this works fine on several workstations, but throws the invalid direct reference to login on others...
    I am quite confused.
    Code to follow:
    IntranetSSOServlet
    if(request.getParameter("user") != null)
    HttpSession session = request.getSession(true);
    session.setAttribute("user",request.getParameter("user"));
    //If SSO submission has returned a validated user name
    //out.println(request.getParameter("user"));
    //post this name and the default password to the logon
    //This servlet will become the logon page, which will handle the redirects easier
    out.println("<form METHOD=\"POST\" name = \"form\" action=\"../Intranet-WebModule/j_security_check\">");
    //Generate a div to hide all of the input fields
    out.println("<div style=\"display:;\">");
    out.println("<input type=\"text\" name=\"j_username\" value=\""+request.getParameter("user")+"\"/>");
    out.println("<input type=\"password\" name=\"j_password\" value=\"sas\"/></div>");
    out.println("<input type=\"submit\" value=\"Submit\"/></div>");
    request.getSession().setAttribute("user",request.getParameter("user"));
    //out.println("<input type=\"submit\"></form>");
    out.println("</form><script language=\"javascript\">//form.submit();</script>");
    else
    //call the SSO submission page
    out.write("<script language=\"javascript\">location.replace(\"http://HOSTNAME/SSO/SSO.asp?URL="+lookupIntranetGlobalsBean().getJSPSiteRoot()+"IntranetSSOServlet\");</script>");
    out.close();
    This Servlet simply returns from the ASP a string (the user's logon) and then creates the post page, which posts a single dummy password to the app server
    JSP passthrough page (secured resource)
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%--
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    </head>
    <body>
    <script language="javascript">
    location.replace('http://HOSTNAME:8080/Intranet-WebModule/HRTools/newEmployeeAccountServlet');
    </script>
    </body>
    </html>

    Another try besides
         <login-config>
            <auth-method>FORM</auth-method>
            <realm-name>userDatabase</realm-name>
            <form-login-config>
                <form-login-page>/pages_public/login.jsp</form-login-page>
                <form-error-page>/pages_public/loginError.jsp</form-error-page>
            </form-login-config>
        </login-config>is that I try to handle the error code in the web.xml with
    <error-page>
         <error-code>400</error-code>
         <location>/error.jsp</location>
      </error-page>It works when I say location = index.jsp, but it doesn't work when I try to redirect to error.jsp.
    But when I redirect to index.jsp I just reload the login page, but then the user gets no information what has happened, therefore I need the error,jsp.
    I have no idea why. If anybody has a hint or know why it is this way, please let me know!!
    Thanks.

  • Tab Page Errors out after migration to new instance

    Hi All,
    Tab Pages are running well in test instance but when I migrate it to dev instance then
    On click of a particular tab that page errors out.
    ERROR STACK
    ## Detail 0 ##
    java.lang.NullPointerException
         at exl.oracle.apps.per.eexit.webui.EmployeeUpdateCO.processRequest(EmployeeUpdateCO.java:228)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanConta
    [2096]:UNEXPECTED:[fnd.framework.webui.OAPageErrorHandler]:inerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
         at exl.oracle.apps.per.eexit.webui.EmployeeUpdateCO.processRequest(EmployeeUpdateCO.java:228)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    In PR in EmployeeUpdateCO
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String requestParams = pageContext.getParameter("partyNumber");
    if ("AlreadyDeleted".equals(requestParams))
    System.out.println("Above through already deleted Employee Exception");
    OAViewObject disVO = (OAViewObject)am.findViewObject("DisabledPVO1");
    if(disVO !=null)
    disVO.first();
    disVO.getCurrentRow().setAttribute("XXDisabled", Boolean.TRUE);
    //throw new OAException("This Employee has already been deleted. Please click on Home Link to come out from this page.", OAException.ERROR) ;
    //EXL_EEXIT_ALREADY_DEL//on 20.10.09
    throw new OAException("EXL","EXL_EEXIT_ALREADY_DEL");
    String employeeNumber = pageContext.getParameter("partyNumber");
    if (employeeNumber !=null)
    OAViewObject disVO = (OAViewObject)am.findViewObject("DisabledPVO1");
    if(disVO !=null)
    disVO.first();
    disVO.getCurrentRow().setAttribute("XXDisabled", Boolean.TRUE);
    //throw new OAException("Employee Resignation has been reversed sucessfully", OAException.CONFIRMATION);
    throw new OAException("EXL","EXL_EEXIT_RESIGN_REV");
    else
    System.out.println("In the else condition of EmployeeCO");
    System.out.println("Before disabling Reinitiate Button");
    OAViewObject disvotest = (OAViewObject)am.findViewObject("testVO1");//(XXJADisabledPVO1);
    System.out.println("Value of testVO1"+disvotest);
    if(disvotest != null)
    disvotest.first();
    //System.out.println("before falsing");
    disvotest.getCurrentRow().setAttribute("testnew", Boolean.TRUE);//erroring out here....
    //System.out.println("after falsing");
    System.out.println("After disabling Reinitiate Button");
    if (!pageContext.isFormSubmission())
    am.invokeMethod("initQuery", null);
    am.invokeMethod("InitUpdateLov", null);
    am.invokeMethod("renderJAPage");
    am.invokeMethod("renderSupPage");
    System.out.println("Calling New Method");
    am.invokeMethod("XXrenderSupPage");
    am.invokeMethod("disabledRadioButton");
    am.invokeMethod("disabledNoticeRadioButton");
    String UserId = pageContext.getEmployeeId()+"";
    String AUserId = pageContext.getUserId()+"";
    System.out.println("Anil EmployeeID is "+UserId);
    System.out.println("Anil EmployeeID1 is "+AUserId);
    Serializable[] personid = {UserId};
    // Commented on 27 May
    String userId = (String)am.invokeMethod("getEmployeeNumber", personid);
    String userName= pageContext.getUserName();
    System.out.println("USER NAMe is "+userName);
    System.out.println("userId in CO is "+userId);
    Serializable[] params = {userId};
    System.out.println("calling LOV in UpdateCO");
    am.invokeMethod("XXhandleMyLovUpdateEvent", params);
    System.out.println("Method Called in UpdateCO");
    // end here 09 june
    //end here code of Radio Button
    //==> //OAViewObject vo = (OAViewObject)am.findViewObject("EmployeeEOVO1");
    //am.invokeMethod("test");
    OAViewObject vo = (OAViewObject)am.findViewObject("EmpUpdateEOVO1");
    System.out.println("ROw COUNT IN EMPLOYEEUPDATE CO IS "+vo.getFetchedRowCount());
    if (vo != null && vo.getFetchedRowCount()>0)
    System.out.println("InsidePR of RADIO BUTTON");
    // vo.reset(); //New line added
    // vo.next(); //new line added
    OARow row = (OARow)vo.getCurrentRow();
    String email = row.getAttribute("NoticePayBuyoutFlag")+"";
    String email1 = row.getAttribute("JoiningBonusFlag")+"";
    String email2 = row.getAttribute("RelocationBonusFlag")+"";
    String email3 = row.getAttribute("ServiceAgreementFlag")+"";
    String email4 = row.getAttribute("NoticePayAdjustedPl")+"";
    String email5 = row.getAttribute("NoticePayWithoutAdjustedPl")+"";
    System.out.println("RADIO BUTTON VALUE IS "+email);
    System.out.println("RADIO BUTTON VALUE IS "+email1);
    System.out.println("RADIO BUTTON VALUE IS "+email2);
    System.out.println("RADIO BUTTON VALUE IS "+email3);
    System.out.println("RADIO BUTTON VALUE IS "+email4);
    System.out.println("RADIO BUTTON VALUE IS "+email5);
    row.setAttribute("NoticePayBuyoutFlag","NW");
    row.setAttribute("JoiningBonusFlag","NW");
    row.setAttribute("RelocationBonusFlag","NW");
    row.setAttribute("ServiceAgreementFlag","NW");
    row.setAttribute("NoticePayAdjustedPl","NW");
    row.setAttribute("NoticePayWithoutAdjustedPl","NW");
    Thanks,
    Sombit...

    OAViewObject disvotest = (OAViewObject)am.findViewObject("testVO1");
    System.out.println("Value of testVO1"+disvotest);
    if(disvotest != null)
    if(disvotest.getFetchedRowCount()>0)
    disvotest.first();
    disvotest.getCurrentRow().setAttribute("testnew", Boolean.TRUE);
    Also double check VO should have this VO Attribute.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I had a free trial of Lightroom 5 and tried to purchase it, but page errors blocked me from being able to do this. I then got a free trial of Adobe CC.  At first I saw my old photos, then the whole thing went down, and now I have a new Lightroom 5 trial,

    I had a free trial of Lightroom 5 and tried to purchase it, but page errors blocked me from being able to do this. I then got a free trial of Adobe CC.  At first I saw my old photos, then the whole thing went down, and now I have a new Lightroom 5 trial, and none of my edited photos.  Can I retrieve all these photos from my first trial?

    Yes, you have to find the catalog file from the CC trial (use your operating system to search for it, the file name ends with .LRCAT), and then once you find it, open the LR5 trial and open the catalog you just found using File->Open Catalog

Maybe you are looking for

  • Unable to install File Upload Utility in AIX system

    Hello, I installed the Forms File Upload Utility, through CGI, following the steps described in the html document provided with the utility. That is: - i copied the files UploadClient.jar.sig and UploadServer.jar to the directory /ias102/6iserver/for

  • UCCE Total time spent in queue

    Hi all, My customer wants to gather the time all abandoned or answered calls spent in queue from calltype reports. Ex.  one call spent 1 minute in queue and then was answered by an agent and  another call spent 1 minute in queue end then abandoned Fo

  • Invisible watermark - to be built INSIDE the images, how?

    Lightroom friends and all others, I use Adobe Lightroom 2.3, Adobe Design Premium CS4 operating with latest Macintosh system architecture version, OSX 10.5.6, using MBP 17" laptop and MacPro. I tried to Google on the topic, but most seems to show inv

  • EF class bandwidth for VoIP not fully utilised

    We have a customer who has subscribed to 1M of EF ( Expedite forwarding) class bandwidth ( in a 2M link)for transporting voice, AF1 class 392K for Voice signalling. The codec used is G.729b.The problem faced by the customer is they are not able to fu

  • Calling an EXE from Forms 4.5

    How do i call a windows Exe from forms. Whats the exact syntax to do that? Code sample would help. Thanks!