on 03-03-2009 7:16 PM
Hi to every one!
I need to filter the appraises I'm showing at "In planification" status, when I press on the link that shows me the employees I need to be shown some ones and some others no.
My question is, can I do this by using a Badi o how?
Thanks.
Nico.-
Hi,
The BSP application works basically by pulling all the appraisal documents where the userid-mapped appraiser is assigned as the final approver/part appraiser in the appraisal document.
If you need to filter out the documents, then you would end up changing the class CL_BSP_HAP_DOCUMENT_UI and method DOCUMENT_GET_LIST_TODO.
Try for an implicit enhancement to this class method to filter out the appraisal docuemnts. May be you can call another Zmethod inside DOCUMENT_GET_LIST_TODO which you can add to the class to filter your data.
Hope this helps you.
Regards,
Subbu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Subbu,
What I'm trying to do is not to filter the documents that are show in the document_todo.htm but to filter the employees that are shown at the header level when I press on the link next to the input parameter "appraise".
When I press this link a list with all the employees of the company shows up, but I need to restrict this search.
I hope I had explain myself better this time.
Thanks,
Nico.-
Hi,
Yes. Now i am more clear on your requirement.
Ok. Here is the deal. There is a page fragment "document_header_appraisee.htm" in the BSP application HAP_DOCUMENT. I hope you would have either customized this BSP or cloned into a Z BSP now.
In this page fragment, you get the code "application->doc_h-t_selected_appraisee" in line 78.
This is where the employees are returned back.
So what i would be doing is enhance the application class CL_BSP_HAP_DOCUMENT_UI->HEADER_EVENT_APPRAISEE with the enhancement framework to filter out the employees and in my prev post i suggested to create a z moethod to filter.
Use the implicit enhancement option for the same. There is one spot just before the ENDMETHOD.
Hope this helps you.
Regards,
Subbu
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.