on 11-15-2010 4:58 PM
I have a requirement to develop a custom HCM processes and form and display the current supervisor's information (email, phone and personnel number). Where if the HR administrator select a process for an employee, all the information of the employee will be display include his/her supervisor's information. I have searched on the forum and didn't find any solution.
If someone has forward me the code i would be happy to use it.
Any help would be appreciated.
Thanks,
Jackie
Hi Solomon,
Thanks for replying to my message. We're struggling about passing the PERNR into Generic Services. How can we pass it? Do you have any code that we can use?
Any help will be appreciated.
Thanks,
Jackie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There should be plenty of information out there on creating a generic service, but here's one for free, Im sure you can adapt that with a bit of figuring out:
[Generic Service for drop down lists|http://wiki.sdn.sap.com/wiki/display/BPX/LoadingDropdownvalueinHCMFormsfromGenericServices]
PERNR will be one of the "special fields" added (along with others like FORM_SCENARIO_STAGE, EFFECTIVE_DATE etc) when you create your form scenario. One of the methods you may wish to look at to grab your current start object (PERNR) when you implement your BADI of basic generic service (not in front of SAP GUI right now but believe its HRASR00GEN_SERVICE_BASIC) is get_special_fields.
Good luck, they are a breeze, once you have done one you'll be flying.
JP.
You are going to have to make a generic service to pull all the info you need. What will happen is that you know the employee (PERNR) so you can read all the infotypes you need. However, you will need to pass that PERNR to your generic service to then find their supervisor and gather whatver info you need to send back to display. This will be a VERY basic generic service and a good way for you to learn and understand how they work. Good luck with it!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.