Customizing Leave Request in NWDS
Hi All,
I am trying to customize the standard webdynpro application of Leave Request. So, I downloaded that particular file (*.wda ) file from the J2ee instance server and copied that to desktop . Renamed to zip extension and unzipped the contents.
After extracting the file i got two folders viz.,META-INF and PORTAL-INF.
I would like to know
1. Is it only that two folders that I need to get or are there any other files/folders ?
2. I want to add two Radio buttons in that Leave Request form, Is that valid? If so, How can I do that ?
( I have imported that folder(sap.comesslea) to the NWDS and I see *.xml files under the main node of PORTAL-INF.. what to do next)
Appreciate your inputs,
Regards,
NR
Hi NR,
I dont have any documentation about the same. But you need to know WD for JAVA and corresponding backend aRFC's to make any changes to ESS Applications. Also you would need to understand the FPM Framework for the same.
Check out this blog. /people/harald.reiter2/blog/2006/09/06/sdn-day-session-in-las-vegas-custom-development-of-web-dynpro-ess-applications-using-floor-plan-manager
Also download the file from this link https://www.sdn.sap.com/irj/sdn/softwaredownload?download=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/teched-2006-sdn-day/sdnday_ess_hr.zip
This blog gives you a basic idea of about ESS applications and how you can create your own ESS applications.
Hope this helps.
Regards,
Shubham
Similar Messages
-
Error: You are not a receiver of the work item in Leave Request Deletion
Hi All,
We are using customized leave request workflow which is the copy of standard leave request workflow.
All tasks are assigned as general tasks and assigned in SWFVISU.
But the employees are unable to delete the leave request with Sent status.
Scenario:
Employee applies leave.
Now when the employee tries to delete / cancel the leave request before approval (Status is SENT), the employee is getting the error
"You are not a receiver of the work item".
This issue is happening for only the leaves which are in "SENT" status and though the employee is able to delete the "REJECTED" leave requests. The employee is also able to change / modify the leave requests without an issue.
We are on EHP 7 with SP level 22 and running this on Portal 740.
I have gone through the threads related to this issue but did not get any success.
Please let me know if I am missing something that can resolve the issue .
Regards,
AnuragHi Sid,
As I mentioned above, we are on EHP 7 with SP 22 and hence the above note 1066288 does not apply in our case.
Moreover, we're using WDA based application and the above note seems to be the one for XSS based on WDJ.
Regards,
Anurag -
Add a custom button in Ess Leave Request
Hi Gurus,
I have requirement, add a custom button in a Standard ESS leave request (Webdynpro Java). When i click the the button it has to call popview(custom view). I am new to webdynpro Java, If possible explain me with step by step preocedures(if possible with screen shots).
Thanks,
Mohammed.
Moderator message: this is the wrong forum, please have a look in the "Web Dynpro Java" forum, but always search for available information before posting.
Edited by: Thomas Zloch on Jun 17, 2011 9:54 AMHi Gurus,
I have requirement, add a custom button in a Standard ESS leave request (Webdynpro Java). When i click the the button it has to call popview(custom view). I am new to webdynpro Java, If possible explain me with step by step preocedures(if possible with screen shots).
Thanks,
Mohammed.
Moderator message: this is the wrong forum, please have a look in the "Web Dynpro Java" forum, but always search for available information before posting.
Edited by: Thomas Zloch on Jun 17, 2011 9:54 AM -
Leave request customer field as checkbox in ui5 leave request page
Hi,
we are trying to put an additional field (customer field) in leave request page.
we added this via customization.
and we want this to be appeared as checkbox, in the leave request page. for this for WDA page, there is option to change at WD fpm configuration, so it is appearing properly.
but same thing, when we access via ui5 application, via hr renewal page, it is showing as input field.
is there any way to make the customer field appear as a checkbox in HR renewal ui5 leave application page.
thanks,
Madhu_1980Here are the details for one of the additional fields
1. We have enabled Customer Field - 'CUSTOMER01' using PTRAQ ->Fields customizing.
2. We have then enhanced the feeder class CL_HRESS_PTARQ_LEAVREQ_GUIBBF method GET_DEFINITION - in post-exit we have assigned search help HTNM_PERNR to field 'CUSTOMER01'
3. So when we launch the web-dynpro it gives search help for the field 'CUSTOMER01'
I guess since the custom logic is on the feeder class which gets called only from the webdynpro it works on webdynpro and not on the UI, but can we implement the same kind of logic for the UI application as well, do we have any class similar to this feeder which sets the UI field properties.
Thanks much! -
WDA Leave Request -- Hide Customer Field in Confirmation Popup
Hello folks,
System Information:
NW AS 7.03 ABAP Stack 731 Level 11, ECC 606 (EHP 6) with SAP_HR 604 Level 73 and EA_HR 607 (HR-Renewal 1) Level 24
Background:
For Our WDA Leave Request application, our special department has requested to provide certain additional fields for particular Leave Types, all in all these are three check boxes and one Link-To-URL-UI. I have created these fields, or rather configured them via IMG Customizing Tables V_PT_FIELD_SEL / V_PT_FIELD_SEL_C, using the ten standard customer fields provided by SAP CUSTOMER01 - CUSTOMER10.
After making the subsequential customizing configurations, I have enhanced the WDA OVP-FPM CC "HRESS_CC_GUIBBF_LEAVREQ" to change the respective fields' UI-Type from "Inputfield" to "Checkboxgroup" and "LinkToAction". So far so good; it's nothing fancy and everything works out the way it should.
Problem:
Our special department has recently noted, that the Link-To-Action provided is also taken into account by the Confirmation Dialogue Popup-Box and correctly set read-only like any other field as well. However, the fact that this read-only-link is then also shown in the Popup-Box is confusing to some users and should therefore be hidden. My plan was to enhance the WDA OVP-FPM CC "HRESS_CC_GUIBBF_LEAVREQDIALOG" and simply set the field CUSTOMER01(that's the one field I use for the Link-To-Action-UI) invisible and that's exactly what I did. But look what the effect is:
You can see behind the lightbox in the Form, how the field is usually displayed in the Form-UIBB. What I "achieved" now, though, is, that only the lable is hidden in the Popup-Box through my enhancement in "HRESS_CC_GUIBBF_LEAVREQDIALOG" and the LinkText is still visible.
What I did so far / Question:
So... I went ahead and debugged the feeder class CL_HRESS_PTARQ_LEAVREQ_GUIBBF. I found out that in the Methods "FIELDS_SHOW_HIDE_CLEAR" and "FIELD_SETTING_BY_CUSTOMIZING" I would theoretically be able to manipulate the visibility, but:
This would mean I'd have to create overwrite-exits, which I would like to avoid, because maintenance is a pain.
Manipulating the process flow here probably has side effects on the field control of the overall application which must not happen. If I'm extremely unlucky it might even effect the data flow.
This brings me to my ultimate question: How do I make a field from this Confirmation Dialogue Popupbox cleanly disappear/invisible in a super-duper-elegant way without using a sledgehammer? Maybe there is a customizing-way I have overlooked so far? (please?)
Cheers, LukasHi Samuli/Yugandhar,
what you suggest is exactly what I did:
My plan was to enhance the WDA OVP-FPM CC "HRESS_CC_GUIBBF_LEAVREQDIALOG" and simply set the field CUSTOMER01(that's the one field I use for the Link-To-Action-UI) invisible and that's exactly what I did.
The only derivation from your suggestions is that I didn't make a deep copy but an enhancement instead, which Creates a delegation Object that automatically inherits from the standard CC. Technically a copy or an enhancement do exactly the same but maintenance is a lot smoother for enhancements, that's why.
Cheers, Lukas
P.S. @ Yugandhar, nice to see you are still around! Indeed I'm primarily occupied with the module FI-TV, that's why I'm only wandering around the ESS/MSS subforums now and then.
Message was edited by: Lukas Weigelt -
Custom button in Leave Request
Hi all!
I know how can i add custom fields.
How can i add my custom button (or check-box) on Leave Request Page (iView) ?
Can I change standart pages?
Thanks )as i mentioned you need to use java WD coding, there is no customisation available for this
so it will be a custom modification.
Also did you check what all field are available, sometimes there are checkboxes as well, Check it.
Please create a project ess~lea in the NetWeaver Developer Studio. Now
follow the steps below:-
1. In the Netweaver development studio, go to Development Configuration
perspective.
2. Click on ess/lea/cfg
etc -
How to use EP-ESS Leave Request using Custom Workflow
Hi Experts,
Can I use the EP-ESS Leave Request (ESS 1.0 for ERP05) with a custom workflow which is NOT a copy of the standard workflow 12300111?
Regards,
ShobhitPlease post this question on Business process forum.
U will have to follow the architecture of 12300111 template for ESS leave.
Even though it says u can use ur own wf!!
Cheers!!
Ashutosh -
ESS Leave Request - Customer fields default function not working
Hi,
a. SAP version being discussed
SAP ECC6.0
EP7.0
ESS/MSS
b. Here is the scenario
1. We are using ESS Leave Request application for employees to request leave. We are using the standard web dynpro java leave request application delivered by SAP.
2. Lately there has been a need to provide a customer field on the request form which will have a calculated value showing up when the employee opens the request
3.We used one customer field called customer01 as per configuration steps.
4. This field appears on the request form when it is opened.
5. Our need is to display a value in that field when the form is opened.
6. SAP/s documentation states that we can use BADI PT_ABS_ARQ to default a value to this field on the form. This value is calculated during runtime dynamically.
7. We have used the method IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP for this purpose
8. After activating and coding this implementation, the system does not default anything on the request form when it is opened up.
9. Once the employee hits the review button, this field gets its defaulted value but this is not what we want. We want the system to display this when the form is OPENED, that means at the prepare stage. For this field to appear after hitting the review button is meaningless as the employee needs to make a decision based on the value in this field before hitting the review button.
It almost seems like this BADI is called when the review button is hit and not when the form is opened up. We may be wrong and missing something obvious which one of you can immediately point out, Hence this post.
10. I did go thru the forum at great length and seen that there has been discusion surrounding the need to populate R3 from a value entered into this field. My problem is different wherein, I wish to populate this upfront as display information when the form is opened and then send it back to R3, once the employee submits the request.
Would be grateful if anybody on this forum could point me in the right direction.
Thank you,
RajeshPlease, can I take this question a little further.
Is it possible to add more fields to the leave request form on the ESS portal. For example, our customer wants additional fields like reason for leave, contact residential and telephone number during leave, Require leave entitlements (Yes/No).
Would appreciate if a reply can be given on if it is possible or not and what to be done if it is possible.
Cheers -
ESS Leave request customer fields customization
Hi all,
I'm wondering how can add or modify the Data Type of one customer fields. I mean on the ESS leave request I need a customer field check box, or list of value for example.
I try to append a structure to table PTREQ_CUSTOMER_STRUC, but this table cannot be enchanced....
So any ideas?Please, can I take this question a little further.
Is it possible to add more fields to the leave request form on the ESS portal. For example, our customer wants additional fields like reason for leave, contact residential and telephone number during leave, Require leave entitlements (Yes/No).
Would appreciate if a reply can be given on if it is possible or not and what to be done if it is possible.
Cheers -
ESS Leave request workflow : ws12300111 : Customizing
Dear experts,
I need to customoze ESS leave request workflow WS12300111.
Can you please tell me do I need to Copy this to a NEW workflow generating a new WF no or can I simply generate a new version for this only ? What is ideal ?
1. Can anyone tell me step by step process(config) in ESS leave application workflow?.(SWFVISU????)
2. Is workflow WS12300111, the only workflow that I need to look for leave application ?.
3. If it is WS12300111 I dont see any start event for this workflow. So how is it getting triggered?
4. For the approval task TS12300097, agent determination is done by expression &Agent_0001.Agents&. How does it interact with Org.Structure.
5. In my scenario, approver should be supervisor of the employee applying for leave. If it is pending with this approver for 5 days it should go to the next up level manager.
For identifying first level approver is &Agent_0001.Agents& enough.? For identifying 2nd level approval do I need to write a rule ?
Kindly help.Hi Sourav,
Try this step by step process(config) in ESS leave application workflow.
ESS Scenario
Workflow Process 20000081 u2013 Create Leave Request with HTML
Steps for triggering the workflow:
1) The employee logs with his user name in the ESS web page.
2) The employee creates a leave request with an optional note and sends it to the appropriate approver (usually his supervisor). The approveru2019s name is automatically displayed in the leave request form and the employee can replace him with another if such a change is needed.
3) The approver (us approver) logs on to sap system or to ESS
web pages and reads his mails in the SAP Business Workplace. The employeeu2019s leave request form appears in the workflow inbox with approve and reject options.
A) If the us approver approves the leave request, he pushes the
button approve from his mailbox (processing status A with
approve). A screen is appeared with a box (Table entry: 0001)
and the approver must push the button continue in order that
the workflow is continued. Then the form is sent to the
employeeu2019s mailbox in Sap. When the employee opens his mails, he receives a note in his inbox that u201Cthe absence from u2026. To u2026..has been approved byu2026.u201D.After that the absence is
automatically created in the sap system. Then the approver gets a mail (notification of completion & Return u2026u2026).
B) When the approver cancels a leave request, he pushes the
button reject and the processing status changes to u201CRu201D.
Then the same form appears
Realative OSS Notes:588262, 480103, 717560, 452841, 359197, 321439, 428394, 321439, 693368, 451998 (ITS), 197746 (ITS), 419297 (ITS)
ITS - ESS stand-alone solution for 4.7
This solution allows customers to schedule the 4.6C or 470
install / upgrade independently from the Enterprise Portal or
mySAP Workplace implementation and will be supported at least as long as SAP R/3 4.6C and R/3 Enterprise is supported.
This ESS stand-alone menu is intended solely to allow independent scheduling of the 4.6C or 470 upgrade and the Enterprise Portal / mySAP Workplace installation. To use this solution, you have to take the following steps:
1. If you do not already have R/3 4.6C, HR support package 8,
please import HR support packages to at least this level. From
HR support package 8 and above, the correct services are
implemented. For 470, the corresponding recommended HR SP is 16 (See note 621589)
2. Verify that the ITS you want to use does not contain a service or service-related files (HTML templates, MIME files) for the services PZLE, PZM3 or PZM3_start. If you find these files,
delete them.
3. Publish the services PZLE, PZM3 and PZM3_start from your R/3 4.6C system (or R/3 470 system whichever is the case) to your ITS using the SAP@Web Studio or the IACOR service.
4. Maintain the username-employeenumber assignment in your system by customizing Infotype 0105, Subtype 0001 of those employees, who should be able to use ESS.
5. Verify that your users have proper authorizations for
executing RFCs (that is, authorization object S_RFC) from the
function group EH08. If you run into problems, this is most
likely due to missing RFC authorizations to start the service
PZM3.
6. Your users should now be able to access ESS by starting the service PZM3. They can do this by entering a URL like
http://<ITS server>:<http port>/scripts/wgate/pzm3/!
(the ! at the end is essential).
7. ESS 4.70 Unicode System ITS 6.10 patch level 29 and above (With IE and Netscape). ITS 6.20, patch level 6 and above (With IE only).
The ESS development tested these ITS versions.
8. For Release 4.6C, ESS has the same browser requirements as the HTML (see also note 178788) and the mySAP Workplace 2.11 (if ESS is accessed through the mySAP Workplace 2.11).
Hope it helps.Do award points if found helpful.
Regards,
Gourav -
HELP: Customizing ESS Leave Request for multiple entries in one submission
Hi experts,
I appreciate help on this urgent problem. We're on ECC6 with EP7. My customization requirements are below:
1) Allow multiple leave entries to be submitted at one go. Standard ESS only allows one date range entry per submission. We've customized the Webdynpro Leave request form to allow multiple entries in table form.
Assuming there's 3 requests:
R1 ~ 01-Oct-2007
R2 ~ 03-Oct-2007
R3 ~ 05-Oct-2007
Whenever user clicks 'New Entry' button, Webdynpro will call bapi PT_ARQ_REQUEST_PREPARE to generate a new request ID.
When user clicks on 'Review' button, I will loop at the requests internal table and check each of the entries, which is an individual request, via BAPI PT_ARQ_REQUEST_CHECK. Am I doing correctly so far?
The checks return no error. Next comes the problem. When I click the 'Send' button, I will loop at the request IDs (in ascending order) into BAPI PT_ARQ_REQUEST_EXECUTE. I will get a dump, saying that the object cannot be found. Debugging shows that it cannot find the first request ID (R1) in the memory. I found that if I sort the request IDs in descending order, it will be able to find the last request (R3) and could process it. However, when it comes to the 2nd last request (R2), it will give me the same dump saying that object can't not found. Both R1 and R2 cannot be found whereas only R3 can be found.
In overview, the logic we adopted is like this:
1) PT_ARQ_REQUEST_PREPARE-CREATE (R1)
2) PT_ARQ_REQUEST_CHECK (R1) upon clicking 'New Entry' Button
3) PT_ARQ_REQUEST_PREPARE-CREATE (R2)
4) PT_ARQ_REQUEST_CHECK (R2) upon clicking 'New Entry' Button
5) PT_ARQ_REQUEST_PREPARE-CREATE (R3)
6) PT_ARQ_REQUEST_CHECK (R1, R2, R3) upon clicking 'Review' Button
7) Loop PT_ARQ_REQUEST_EXECUTE ( R3 - Returns OK, R2 - Returns object not found and terminates, R1 - not processed because execution terminated by R2).
Can anyone please advise me how I should go about changing the BAPIs? Or are the CLASSes/BADIs to be changed?
<b>Points will be rewarded for helping with this urgent requirement.</b> Thank you.
Regards,
DamienHi Kiran,
Thanks for replying. My guess initially was also that the requests are overwritten.
I heard of another company's implementation who did the same concept and was able to do it. Unfortunately, I'm unable to get any information from them.
Initially, my frontend programmer and I thought of adopting the 'dummy checks' methodology. i.e. Do dummy checks when clicking 'New entry' or 'Review' button. This is to ensure that the entries were entered correctly at front end. Only when the user clicks on the 'Send' button, my BAPIs take in a table of request entries and perform the Request_Prepare&Request_Check&Request_Execute one at a time.
This may be expensive as there will be double the processing needed. One set for dummy checks and one set for the actual backend processing.
Is there any way that I can create multiple requests in 'transcient' state so that it won't be overwritten and I can still find it when I call the BAPI PT_ARQ_PREPARE_EXECUTE? PT_ARQ_PREPARE_EXECUTE only takes in request IDs instead of request structures.
Thanks again, Kiran, for replying. Have a good weekend.
Regards,
Damien -
ESS: Leave Request - How to use a custom Leave Workflow?
Hi Experts,
I am implementing ESS 1.0 for mySAP ERP05. I have a custom workflow for Leave Request which I want to use for the ESS Leave Request. Can someone tell me what are the configuration steps required for this?
I have already performed the following activity:
SPRO --> Personnel Information --> ESS --> Service Specific Settings --> Working Time --> Leave Request --> Specify Processing Processes for Types of Leave
Here I have defined the WF ID of New Request as the custom Workflow ID.
Now when I trigger the Leave Request from EP-ESS, the message comes that the request was sent successfully.
But in the backend no workflow gets triggered. I even tried to write an implementation for the BADI PT_ABS_REQ to trigger the custom workflow event, but still no activity in the ECC workflow upon submitting thwe portal request.
Can some one please advise.
Thanks,
ShobhitOhh.. So the standard WF also doesnt get triggered??
Are you sure u have done SWU3 config??
If u have, Try using SWU_OBUF to refersh the workflow buffer.
Try swi1 to check what is happening with ur WF.
Try login to requesters login ... SBWP ... check the outbox. Is there a WF with Error here.
Cheers!!
Ashutosh -
ESS Leave Request - Custom validations
Hello all,
As I understand SAP does not perform any custom validations (which we might have coded within the PBAS0001 enhancement OR the HRPAD00INFTY business add in) when requesting a absence from ESS~LEA leave request iView from the portal.
Hence to validate the absence record, I attempted to insert the HR_INFOTYPE_OPERATION function module and run it in CHK operation mode to validate the data in the PT_GEN_REQ~START_WF business add in method.
If the validation fails I return RETURN_CODE as non-zero from the business addin. However I keep getting a dump as a result.
Can anyone advice if this has been tried successfully and any alternate if @ all?
Thanks in advance.
Regards,
AdityaYou can easily to do so with badi pt_abs_req or pt_gen_req
you can call exits in badi, read here the steps
http://wiki.sdn.sap.com/wiki/display/ERPHCM/ValidationsforESSLeaverequest
http://wiki.sdn.sap.com/wiki/display/ERPHCM/LeaveRequestVariousConfiguraton+Steps
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/108c31e7-b6a7-2d10-3692-c1a9f7a5c4dc?QuickLink=index&overridelayout=true -
Customizing standard ESS Leave Request Application
Hi,
We are using standard ESS Leave Request application in our project. I need to set a default value to " Type of Leave" to some value say "Vacation".
Anyone kindly let me know is it possible to set some default values in SAP standard applications and how can we do that.
Regards
PavanIs this a repeat?
Re: Customizing standard ESS Leave Request Application
Yash -
How to add new fields for ESS leave request
Hi friends,
Can u please help me with my issue.......
My issue is to add new fields in ess/leave request i.e...
The component needs to be Checked-out through Net Weaver Development Infrastructure, make the necessary enhancements, and finally Check-it-in back to NWDI.
Custom Function Modules are to be invoked apart from the standard ones that are already available in the Leave Request component ess~lea inorder to accommodate the extra absence-type logic.
can u please sujjest me where should i make changes in the given 14 components
means in which view i have to add these fields.................
Regards
RajeshHi Rajesh ,
Check whether u are able to find the ess dc's under inactive dc's in webdynpro
If ur not able to find it then Check the landscape configurator in CMS and also the transport studio and confirm that ess packages are imported fine
Ganesh ,
for creating a DTR client u need to open the DTR perspective right click and "create clients" before that go to windows ->preferences of the NWDS and check the development infrastructure URL is gven correctly ...try pinging it once...
Do check ur SLD is up or not!!!
Regards
Krishna
Message was edited by:
krishnagopal Mukundan
Maybe you are looking for
-
How can i use Progress bar in IR Report
Hi , I have created IR Report based on the View so, it's been taking 10-15 mins of time to execute the IR Report. Here user want to see the Progress bar while executing the IR Report. How can i use Progress bar in IR Report. Anybody have idea on Prog
-
Pipelined function with Union clause(Invalid Number(ORA-01722) error )
Hi, I have a pipelined function. I am fetching the data with the use of a REF cursor. The query has two part: query1 and query2 when I am opeing the cursor with query1 UNION query2,it is giving me Invalid Number(ORA-01722) error. but when I open the
-
I have an american bb 8900 any help please...
I have a bb 8900 from the states that I recently had unlocked here in the UK. The phone works fine except I cannot access my yahoo messenger, msn messenger or yahoo mail. I had previously setup my yahoo mail before I moved here but now I cannot get
-
How can I load up some pdfFiles from adobe Reader on my iPad into my Adobe Creative Cloud?
How can I load up some pdfFiles from adobe Reader on my iPad into my Adobe Creative Cloud?
-
Dear friends, client developed COPA report for MIS in which they given Comapany code in CHARACTERISTICS AND VARIABLES because of this report not fething the values for this I need to delete Company code from CHARACTERISTICS LIST,when I do this it wi