on 06-17-2009 7:33 AM
Hi folks,
I am getting null pointer exception when I am trying to access leave request in working time module in ess. The stack trace shows as below
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.sap.xss.hr.lea.form.edit.VcFormEdit.setVisibleFields(VcFormEdit.java:477)
at com.sap.xss.hr.lea.form.edit.VcFormEdit.onBeforeOutput(VcFormEdit.java:330)
at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEdit.onBeforeOutput(InternalVcFormEdit.java:1092)
at com.sap.xss.hr.lea.form.edit.VcFormEditInterface.onBeforeOutput(VcFormEditInterface.java:135)
at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface.onBeforeOutput(InternalVcFormEditInterface.java:192)
Pl let me know why I am facing this error.
Thanks,
Priyanka
Hi vivek,
Thanks for your prompt reply.
I am not sure whether leave configuration is done for this since this was being done by my onsite counter parts. Can you please give me any help link on the configuration steps for leave module.
Thanks
Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please find the following setting for configuration .
Goto SPRO then follow following path
Personnel Management - > Employee Self-Service -> Service-Specific Settings -> Working Time -> Leave Request -> Processing Processes
Create Rule Groups
1st you need to create the role group ( following is E.g )
Role group : 00000001
Name of Role group : SAP Standard
Define Processing Processes for Each Rule Group (following is E.g)
Role group : 00000001
Name of Role group : SAP Standard
Start Date : 01.01.1800
End Date : 31.12.9999
Specify Processing Processes for Types of Leave ( for E.g )
(click up on new entry )
Role group : 00000001
Name of Role group : SAP Standard
PSG : 01
A/AType : 0420
Type Text : Seminar/course/training
Start Date : 01.01.1800
End Date : 31.12.9999
then once you make entri here you need to click up on details ( select that row then Ctrl + Shift + F2 )
then it will open change view of Processing Processes for Types of Leave ( here this screen for absene type 0420 )
in this screen
-
Start date in the Past
Put radio button on "Processing Permited to Rec. limit".
-
start date is the current date
Put radio button on "Processing is perminted"
-
Start date in the Future
put radio button "unrecstrikt processs is perminted"
-
tick mark at Display field next ....
tick makk to request may ..........
-
system response
tick mark "request has to be aproved'
like this you can make the SPRO setting for other leave othere than 0420 ..in the "Specify Processing Processes for Types of Leave"
Hi ,
please find the following solution .it will definitely work .
If you leave configuration is done.
There was an incorrect data in your system. To do these please follow following process.
delete this request using
PTARQ> Delete documents (RPTARQDBDEl)
Please read the report documentation before
deleting the request but it should be safe as it is
a development system.
Please delete this with the above information or delete all
the records for the approver.
After this,, there will be some incorrect workitem in approver inbox.
You need to clear that also by Tcode - SWWL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.