ESS - RPTARQPOST (Approved Leave)
Hello,
I was wondering if anyone has ever worked on the ABAP program RPTARQPOST which posts approved
leave via infotypes 2001.
Currently, people apply for leave thorough our ESS system. RPTARQPOST is then run and the infotype
leave records are created. Everything is ok when applying for a full days leave.
The problem is when someone requests a half days leave. This is being inserted into the infotype as a full
day and not a half day. Also, no start and end times are recorded. They are being inserted as 00:00:00.
I am ready to try amend the ABAP code but was wondering if this is something that could be sorted via
workflow or a config issue?? ( I don't have any workflow experience)
Many thanks
Andy
Hi,
Check leave type.....
For that leave type the entry in hours should be permissible , this is done with the help of spro setings
Thanks and Regards
Similar Messages
-
ESS/MSS: Approve Leave Request in UWL - not working
Hi to all,
we are using web dynpro ESS/ MSS (SAPESS07_12/ SAPMSS07_4) in portal NW04s for mySAP ERP2005 and are using UWL in order to approve leave requests. If employees are creating leave requests, everything works fine. After that the manager opens the leave request in UWL, the web dynpro application is openening succesfully and after some clicks he reaches the buttons to approve or reject the leave request. But by pushing one of them the following messages occures :
<b>Workitem 000000000000 Cannot be read</b>
After pushing the button again, another message comes up:
<b>No Customizing for status typ ARQ, Status approved...</b>
By the way, the same errors also come up when the employee wants to delete his leave request which is not approved.
Any ideas, what can be the reason?
Regards,
FrankHi Ashutosh,
I have found the reason. The user <b>WF - Batch</b> in sap erp, which is using the RFC Destination for workflow, was locked. Well, it is a a little bit strange for a cummunication user that he becomes locked. Unlocked him, now all works.
Thanks for your support.
Regards,
Frank -
ESS Auto Approval Leave Request
Goodday all,
I'. trying to create a WF which will have a step tp auto approve a leave request after 5 days of submission to the approver. I have made a copy of the standard WF12300011 and have included 'modeled deadline monitoring' step just before 'request approved?' step. This is where i'm stuck, once teh deadline is obsolete, i will need to create a new step to automatically change the REQ.STATUS to 'Posted' OR 'Approved'. How do i do this step? or is there a better way to do things? Thanks in advance
RegardsTry Like this
1. As you said that you hvae a copy of the standard workflow so when the Modeled Deadline monitoring is reached any ways a outcome will be included in the WF template , so what you can do is in that outcome you include a Activity which uses the method of conatiner element REQ which will have the current request instance
REQ type is cl_pt_req_wf_attribs so in this class you hvae a method with name APPROVE so use this mehtod in the Activity that you will create in the modeled deadline monitoring outcome. this will approve the request and when ever the report RPTARQPOST is executeed the approved request will be posted into the respective infotypes.
If you hvae any more queries plz let me know, because i also had the same issue and i fixed that in the above mentioned way. -
Unable to approve leave request in ESS
Hi
While trying to approve leave in ESS/MSSm getting the following error
After clicking the link in SAP inbox / Universal Work List in MSS an error is encountered.
In R3 we have analysed the error in ST22 transaction which says--
The current application triggered a termination with a short dump.
There is no data for infotype 0105,personnel no. 0 E .
Kindly suggest what to do..???hi,
check the Infotype 105 subtype 0001 in Transaction PA30 for the Personnel no.
Regards,
Boobalan. -
ESS Team Calender not showing approved Leaves.
Hi Friends,
In ESS Team Calender the user is not able to view the approved leaves which was visible untill it was not approved.
what is the ideal functionality ? I want the approved leaves also to be visible.
Please guide.
Regards,in the table V_PTARQ_TCONSTR, ensure color display is checked for the rule group.
check the notes
1620547
1587357
1165170
1485657
Is this note implemented?
CL_PT_ARQ_REQS_LIST->SEL_REQS_ATTSABS_FOR_OWNER you can check here if this is possible
Edited by: Siddharth Rajora on Oct 13, 2011 4:24 PM -
Error while approving Leave request from UWL
Hi Experts,
We are getting following error while manager clicks on Universal Worklist to approve Leave Request. On system we have assigned ess id to employee no. 43 in IT 105-0001 but it gives error message about employee no. 167 which has nothing to do with this leave request.
Please go through following ST22 error log..
Short text of the error message:
"No data exists in this period for infotype 0105 and employee 00000167."
Trigger Location of Runtime Error
Program SAPLPT_ARQ_REQUEST_U
Include LPT_ARQ_REQUEST_UIAF
Row 186
Module type (FORM)
Module Name DUMP_IF_ERRORS
Source Code Extract
Line SourceCde
156 ENDCASE.
157
158 IF lock_indicator = 'X'. "ANK Note962342
159 status_ui = c_req_sent.
160 status_ui_text = 'gesendet'(s04).
161 endif. "ANK Note962342
162
163 ENDFORM. " set_request_status_ui_text
164
165 &----
166 *& Form dump_if_errors
167 &----
168 * text
169 ----
170 * -->MESSAGES text
171 ----
172 FORM dump_if_errors
173 USING
174 messages TYPE ptarq_uia_messages_tab.
175
176 FIELD-SYMBOLS:
177 <message> TYPE bapiret2.
178
179 LOOP AT messages ASSIGNING <message>.
180 IF <message>-type EQ c_message_error.
181
182 *Note 1168656 begin
183 * MESSAGE x999(53) WITH
184 * <message>-message
185 * <message>-type. "#EC *
>>>>> MESSAGE <message>-message type 'X'.
187 *Note 1168656 end
188 ELSEIF <message>-type EQ c_message_abend.
189 *Note 1168656 begin
190 * MESSAGE a999(53) WITH
191 * <message>-message
192 * <message>-type. "#EC *
193 MESSAGE <message>-message type 'A'.
194 *Note 1168656 end
195
196 ENDIF.
197 ENDLOOP.
198
199
200 ENDFORM. " check_errors
201
202 *&----
203 *& Form prepare_customizing_attibs
204 *&----
205 * text
Would really appreciate kind guidance to resolve the same.
Thanks.
AashishHi Ashish,
Short text of the error message:
"No data exists in this period for infotype 0105 and employee 00000167
This clearly suggests that the employee data is not up to date.
Go to Tcode : PC00_M40_CLSTR
here 40 is the country coding or the Molga value for India. Like wise which ever country you work for, enter the country code there instead of 40.
Enter the pernr as 00000167 and you would find till which date the payroll for 167 has been run successfully.It has to be in green color.
If the payroll is not run till the period in which you are getting the error ( which obvisouly is what the error means) try running the payroll by going to the Tcode : PC00_M40_CALC or you can ask your HR team to run this payroll for you and you are good to go.
Good Luck!
Sandeep Tudumu -
500 internal error while approving leave request
Hi All,
One of my user when trying to approve leave request, he is getting the following error. it was working previously but suddenly thsi error has come
500 internal server error
Application error occurred during request processing
Details: com.sap.tc.webdynpro.services.sal.core.Dispatcher exception: The requested deployable object 'sap.com/ess~lea' and application 'leaverequestapprove' are not deployed
Can anyone advise on this error please!!!
Thanks!
SwarnaprakashDear Swarnaprakash,
Hope you are doing good.
Do make sure that all ESS related applications/services are running.
Please try to restart the applications this way:
1. start the telnet admin tool
telnet <hostname> 5<instnum>08
2. logon using the J2EE Admnistrator user
3. lsc (to list the available servernodes)
4. jump <servernode> (usually jump 0)
5. add deploy
6. start_app -all
Please have a look at the below for more information:
[http://wiki.sdn.sap.com/wiki/display/TechTSG/(JSTSG)(Telnet)DeployController+Commands]
and
[http://help.sap.com/saphelp_nwpi711/helpdata/en/45/0ad8e787652d6ae10000000a11466f/frameset.htm]
If the issue still persists, please check if all the SDAs have been deployed for ESS (SCA->SAP ESS and Business packages)
Thank you and have a nice day :).
Kind Regards,
Hemanth -
Change the format in advanced serach of approver-Leave Request
Hi,
Can we modify the option in advance search window that we get in the Leave Request - approver field.
(ESS- Working time- Leave Request- below we have the differnt required entries to be made.)
Regrds,
NazeerHi Vamshi,
You can change the type of leave shown in the dropdown-box, as well as the sort order of these types.
Go to the IMG, choose Personnel Management - Employee Self-Service - Service-Spesific Settings - Working Time - Leave Request - Processing Processes - Specify Processing Processes for Types of Leave.
Here you can set up the types of leave you require. In the detail view of these types you can specify the sort number, which is the sort order of the dropdown-box.
Regards,
Ellen -
UWL Filter causing error while approving Leave Request
Hi Guys,
We recently applied MSS SP17 and we changed our UWL filter BADI to SWK1 Function group - SWK_LOCAL_INBOX_GET.
The filter works fine, but when we try to approve leave request, it somehow calls this piece of code again and does not allow (DUMPS) BADI to set the filter saying - this field is not modifiable.
Has anybody seen this before. Can anybody let me know how to resolve the issue?
Regards,
SCWe added a code that if leave request calls this code...skip it.
-
Critical error while approving leave
Hi
In portal while approving leave i am getting the follwoing error .
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.
The running application consciously caused an abort with short dump., error key: RFC_ERROR_SYSTEM_FAILURE
This error is comming only for few employees not for every one.
Can anybody please let me know the solution for this .
Thanks and Regards.Hi,
First of all, check the short dump in transaction ST22, you probably find there much more details of the problem.
secondly, make sure that these users have enough authorisations (do a trace) in backend. They might be missing some RFC call related authoritsation.
Regards,
Karri -
Issue in Deletion of approved leave request using ws12300111
We are using Std workflow 12300111 and its working fine for new leave request and change leave request but when raise request for deletion of approved leave request the workitem created and info type updated automatically without seeking approval from manager. When you check the workflow log the agent determination happend and updated the info type 2001. This issue is in production system , At the same time if we tested the same scenario in QAS its working fine, ie its asking approval from Manager.
Pl help on this issue.
Regards,
MuthuThis is correct and intended functionality, NO WF IS triggered.
Let me explain, There is no WF triggered when APPROVED (NOT POSTED)
absence is deleted. This is standard, You can trigger a mail
which You had already done so. But there will be no WF triggered.
So if you notice
when the leave request is in status POSTED, it calls the workflow,
but if the leave request is not POSTED yet, it is doesnt call the
workflow.
There is no standard Workflow triggered when the Approved leave request
has been deleted by the employee!
This step should be configured by the customers as when to trigger a
mail to the Admin or Supervisor, when deletion or cancellation happens.
The workflow template is a simple template, You can modify
to suit their needs. -
Multiple Approval Leave Request in Fiori
Hello,
Do we have multiple approval Leave request in Fiori and how do we enable it.
In EHP7 portal we have multiple approval and Fiori app should be in synch with the same. However, I could not find any option to enable the multi-level approval for leave request in Fiori.
Regards,
DivyaHi Divya,
Are you talking about, multiple levels of approval in approve leave requests app in Fiori.
This totally depends on the workflow template you are using. If the workflow you use in your portal handles multiple approval, your approve leave request should allow the same too. Make sure you are getting the workitems in your sap inbox.
Let us know if this is not what you are asking for.
Regards,
Tejas -
Create and Approve leave's either using BAPI or IDoc
Hello Experts,
My requirment is to create a leave from my JSP in to SAP(Employee Login), then there will be a approval process where in my manger will approve the leave from his JSP(Manager login).
Approach 1: If I use BAPI for this approach what are the BAPI's that I can use? I have found the below BAPI's out of which 1&2's documentation say " Using these APIs can create inconsistencies in time data.Instead, use the corresponding API Methods "ManageDelete," "ManageCreation," and "ManageChange" for the Business Object BUS7007"
1. BAPI_ABSENCE_APPROVE
2. BAPI_ABSENCE_CREATE
3. BAPI_PTMGRATTABS_MNGCREATION
Approach 2: If I use IDoc what are the Idoc types and process codes for Create and Approve leave's.
Please help...
Thanks in Advance,
Suma
Edited by: Suma B on Sep 16, 2008 4:16 PMHi,
Can you please give me the details of the workflow, I will try to get info from that to levarage.
Thanks,
Suma -
Approval Leave request for Wave2
hello guys:
For approval Leave Request for Wave 1, we need to define an Approval Scenario on the gateway side. Just want to know for Wave 2, where should we define the workflow task id ? should we define it on the ERP side ?
thanks
tonyHi Tony,
The Workflow id definition remains same as wave 1.
On the gateway system.
regards,
Meghna -
CATS: BAPI to read submitted leaves/ approved leaves/rejected leaves?
i am using Bapi BAPI_CATIMESHEETMGR_INSERT to create records, is there a way to read data of all submitted leaves/ approved leaves/rejected leaves?
if i want to achieve above how can i do it, with out custom abap.. any RFCs/BAPIS for the same?
BAPI_CATIMESHEETRECORD_GETLIST gives back only the released data records.
But i am looking for a Bapi using which i can read rejected records that go for approval to manager and gets rejected and same with approved ones.
also is there a way to read Saved records but not released? kinda like looking at drafts?
also is there a Bapi using which i can do CATS Transfer (similar to tcode CATA)?
wanna do transfer to Hr.
Pls advice.
Edited by: Hruser on Jun 26, 2008 4:40 PMAs far as i know there is no standard bapi available as you indicate but you could always modify one ;).
For Transfer you need to use rptextpt or cat6 there are standard
reports available
Maybe you are looking for
-
My Mac suddenly started getting a pop up message saying "There was a problem conecting to the server. URLs with the type "file" are not supported." My internet is working fine,no problem connecting. I just keep getting this message which I click off
-
If pictures are deleted and not backed up can they be retreived from phone
can you retreive photos from and I phone 5 if they been deleted and not backed to a computer?
-
Here's the background. I am a graphic artist just hired at an organization that uses PC with Windows XP for their computer platforms. Three other graphic artists are in my workgroup as well using the same setup. All of us have numerous years experien
-
Hi All, i am using the BPEL AqAdapter for take messages from an Oracle Queue. The BPEL flow work well without problem, but i receive continually the following ORA-25228 error (timeout or end-of-fetch during message deque from ..... ) that seems to be
-
Can I upgrade to mountain lion 10.8?
Hi, I need to know if my macbook can be updated from leopard 10.5.8 to mountain lion 10.8 ? without installing previous versions (snow leopard and lion) I hope not to have to buy those versions !! About this mac: Model Name: MacBook Model Ident