on 05-06-2014 12:37 PM
Hi Experts,
we are using portal 7.3 version,Our requirement is addition
of a new field “Leave Details” in the LTA screen with dropdown values from Infotype
2001 subtype ITEL. From the current calendar year in ESS.The new field should
be available only for the claim type LTA claim or claim against advance.
please find the below screen shot and details.
Current View
Component: HRESS_CLMS_WD_EMCR
Personalization: 4370750342A6297CC184E2B07FE6D13E
Window: W_CLM_DYN_UI
View: V_CLMS_DETAIL
Application Component: PY-XX-RS
Kindly help me how to add this field and in which method can i implement code.
Thank you in advance
Regards,
Vanitha
Hi,
In addition of above.
Please use FM HRPBSINNEWCLAIMS_UTILS_SFM_AC to write logic for fetching leave details and assign default values.
Assume C20T1 as customer field. Then
Case IFD_CSFLD.
WHEN 'C20T1'.
Provide all the leave request in field with select query.
Hope this will help.
Ketul Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shankar reddy,
Ketul Patel :- Thanks for your reply
The standard leave overview application is already in portal display. All previous leave details are there for employess in leave overview while applying for leaves,but our requirement is if user has taken >= 5 days leave in a claender year can be displayed in selection option with dorpdown menu while claim type " LTA claim". from infotype 2001 subtype ITEL.
is there any way to display those record in text field?
please help me on this issue
Regards,
Vanitha
as per your scenario below are the points which I understood. correct me if any...
-> Employee has taken Leave type ITEL in a year multiple times
-> Employee will apply for LTC claim, which he has taken >=5 days of ITEL leave type
-> System should allow employee to claim only the record which contain >=5 days of ITEL leave
Is this your business requirement ?
Hi Shankar Reddy,
Business requirement is the new field should display the list entry in Infotype 2001 for the calendar year as selection option for employee. they would like to know ITEL subtype claim,
Example.employee no: EE#9941
As per screen shot you may see for EE#9941 there are 2 Leave requests.
So in the leave details the selection drop down menu option or any other way should be display 2 lines.
Regards,
Vanitha
I understand the requirement, even though if you display the list from 2001 and you need to allow the employee to request only for >=5 days records not for all the records.
So, to full fill the business requirement here I am suggesting to use the Journey Begin and End date fields in your application as mandatory.
When ever employee raise the request he will mention the ITEL start and End Dates in Journey begin and End dates fields for the records which he has >=5 days
If suppose employee try to create request for <5 days record then you can validate and display the message by implementing the BADI HRPBSIN_VALIDATE_REQUES
Hi Shankar reddy,
Thank you for your suggestion.
if user click on the mode of travel field, it will display following screen.
in the same case if user click on" leave details" field,it should be display following screen shot.
is it possible to display two record or above full screen shot?
please help on this.
Regards,
Vanitha
Mode of Travel case it's only one key value i.e BUS, TRAIN, FLIGHT and it's description and when you select any one it will return the key value to that field i.e BUS/TRAIN/FLIGHT.
But here in Leave details what key field information you will return during selection of that line item ?
This is the reason I suggested any how you have the Journey Start & End date fields which you can use as key fields to validate the record in IT2001 for that subtype ITEL.
Journey Start & End date is nothing but ITEL Start and End date only ? or something else ?
In this case you can just add two date fields as ITEL Start and ITEL End date and make it as Mandatory fields.
When ever employee tries to create request he will check the dates from Leave Requests Overview application for the subtype ITEL and apply for those dates.
And this 2 fields ITEL Start and ITEL End date values can be validated by implementing the BADI HRPBSIN_VALIDATE_REQUES
In this BADI you just have fetch the record from IT2001 and if record exist then calculate the no.of days between these ITEL Start and End dates
if it's >=5 then allow to create other wise display error message.
Hi Shankar,
We have the same requirement and I set the external debugger for BADI "HRPBSIN_VALIDATE_REQUEST", for interface "IF_AC_FILL_REQUEST_DATA"however it is not calling the debugger. Could you help in this because at run time i want to check ITEL Start and ITEL End date in the given BADI.
Regards,
Shiromani Soni
You have to change the configurations for this claim type LTA at header level.
Read more information at Advanced Claims Configuration - Employee Self-Services (ESS) - SAP Library
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, it will display dynamically based on your configurations in table V_T77WWW_CLHLDC for this claim type.
Check configurations for this LTA claim configurations in table V_T77WWW_CLHLDC.
You can add one field in this table for this LTA claim type and it will display automatically in application.
this is configuration table you can do it in t-code SM30
-> Go to t-code SM30
-> Mention the table name V_T77WWW_CLHLDC
-> Click on Maintain button
-> In displayed dialog box mention the
Country grouping - 40
Reimbursement Type - <Reimbursement type select from F4 list>
Request Type - CL
Click on Continue.
-> Here you can see existing fields which are displaying in application level.
-> Click on New Entries
-> And create entry as per your requirement.
maintain the table V_T77WWW_CLHLDCO for this field drop down values.
For this table selection parameters provide as below
Country Grouping 40
Reimbursement Types <Select the Reimbursement type from F4 list>
Request Type CL
Header Line Customer Field C20T1
Click on Continue
Here maintain the subtype values and save.
how come you can display the start date, end date, Abbre, Att/Abs. type text in single drop down values.
what is the exact scenario and why you want display this leave details in that screen. Explain little bit more clear of scenario process.
Since we already having standard Leave Overview application which shows all leave details.
Hi Shankar reddy,
The standard leave overview application is already in portal display. All previous leave details are there for employess in leave overview while applying for leaves,but our requirement is if user has taken >= 5 days leave in a claender year can be displayed in selection option with dorpdown menu while claim type " LTA claim". from infotype 2001 subtype ITEL.
is there any way to display those record in text field?
please help me.
Regards,
Vanitha
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
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.