on 09-25-2009 4:58 PM
Hi, any ideas on how to supress benefits adjustment reasons on sap Portal. I want to see only annual enrollment, if for any other adjustment reason user should not see in portals, can only be performed by admins in the backend.
Es: Adjustment Reasons such as Newborn child or new hire should only be visible to admins in the backend but should not be shown to users in the sap portal?
Any ideas on config or a code change in NWDS??
Thanks
Murthy
>
> Any ideas on config or a code change in NWDS??
>> Thanks
> Murthy
Don't go for the java Change(NWDS). You can limit the Adj. Reasons with a simple (implicit enhancment) in the function module HR_BEN_ESS_RFC_ENRO_REASONS.
~Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Suresh,
I tried to create implicit implrementation, but when i tried to debug the code it is not going through the implict implimentation.., it is in active state only.., are there any more inputs you can give me??
What I tried to do is, copy the last two loop statements inside the enhancement at the end, then tried to delete the enrollment reason using sentence like delete * from enrollment_reasons where event not equal "ANNL" like that, butr the code not going into this part at all when I debug.., I dont have much idea of enhancement concept, i would appreciate if you can throw some light on this..,
Thanks
Murthy
Hi,
To view the code underneath the proxy class "CL_BENEFITS_AREAPAGE" which is present in the service key for Benefits Open enrollment.
This class contains three methods.
IF_XSS_SER_PROXY_SERVICE~GET_SERVICES
IF_XSS_SER_PROXY_SERVICE~GET_SERVICE_DATA
IF_XSS_SER_PROXY_SERVICE~SET_CONTEXT_PARAMETERS
GET_SERVICE_DATA method contains FM HRXSS_SER_READTABRE which has a importing parameter. For more details please goto SE24 transaction and check the proxy class.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vivek/David,
I went to the class-method and is it the place where i can change the code??
Read enrollment reasons
if l_servicekey eq 'EMPLOYEE_BENEFITPAY_OPEN_ENROLLMENT' OR
l_servicekey eq 'EMPLOYEE_BENEFITPAY_OPEN_ENROLLMENT05'.
read table enrollment_reasons into enrollment_reason
like after enrollment_reason can i write like where enrollment_reason-event eq ANNL??
any suggestions for me??
Thanks
Murthy
Edited by: Suryanarayana Mollivenkata on Oct 3, 2009 12:00 AM
Hi Murthy,
You need to modify CL_BENEFITS_AREAPAGE in ABAP (as ZCL_BENEFITS_AREAPAGE) and include it in V_T7XSSSERSRV-PROXYCLASS.
You do not need to use NWDS for this requirement. (Use proxy class as it mentioned above)
Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
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.