2007 Jan 16 7:46 AM
Hi all,
When I open a performance management document on the web, I lock this document with 'HRHAP_DOCUMENT_ENQUEUE', but I can't unlock this document (when I close this document). I'm using 'HRHAP_DOCUMENT_DEQUEUE' to do this, but it doesn't work.
Can anybody help me with this problem?
Thanks a lot!
Kris
Hi all,
When I open a performance management document on the web, I lock this document with 'HRHAP_DOCUMENT_ENQUEUE', but I can't unlock this document (when I close this document). I'm using 'HRHAP_DOCUMENT_DEQUEUE' to do this, but it doesn't work.
Can anybody help me with this problem?
Thanks a lot!
Kris
2007 Jan 18 4:43 AM
Hello Kris,
I assume you are creating an own UI for the appraisals. Are you using the support class (CL_BSP_HAP_DOCUMENT_UI) for this?
Why are you enqueueing the document yourself? I assume that you are using document_get_detail to create or change/display the documents. This will, when necessary, set the enqueue.
Just setting an enqueue can cause troubles as we have two different enqueues possible. Also, your dequeue probably doesn't work because of two enqueues (yours and the application) and just one dequeue.
I highly recommend NOT to enqueue by yourself but let the application handle this. If you are not using the class then use function module HRHAP_TEMPLATE_GET_DETAIL for creation and HRHAP_DOCUMENT_GET_DETAIL for display/change of appraisal documents. They handle the enqueues as well them selfs.
Regards and Groetjes,
Maurice
2007 Jan 18 7:17 AM
Hi,
I'm using document_get_detail to display the documents.
But I didn't know that this sets the enqueue.
So thanks a lot for your reply!
Regards,
Kris
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |