Create a course appraisal template
Hello, We are trying to leverage page documents_todo.htm from service 'HAP_DOCUMENT' for LSO course appraisals. It's working except we don't want learners to create their own appraisals - we want the page prepopulated with valid appraisals based on course attendance and completion. I've been looking at other messages on SDN and it looks like we want to do the following:
1. Get list of Appraisers for the course
-Use BADI HRHAP00_TMPL_608
-Add implementation to an enhancement area in transaction OOHAP_BASIC (I'm not sure which one, though as neither HA or D1 worked for me.)
-Add the implementation to our category for our lso appraisal
-Add it to our template for "further template behavior"
2. Create the documents (phap_prepare doesn't seem to work - I think because the appraisee is not a P?)
- Use FM HRHAP_TEMPLATE_GET_DETAIL
- Save the document HRHAP_DOCUMENT_SAVE
- Unlock it HRHAP_DOCUMENT_DEQUEUE (why would we do this?)
Then my hope is it would appear on the page.
Does anyone have any thoughts? Am I totally off base?
Thanks so much for your help.