Ansicht
Dokumentation
BAPI_MEDDOC_ENQUEUE - IS-H*MED: Lock Document
ABAP Short Reference rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functionality
This method locks a medical document for further editing.
A writing lock (exclusive lock) is set. This lock remains until it is canceled. You can use this to avoid simultaneous access to the document by other users. Other users will not be able to edit or read it until you cancel the lock. A lock is only required if you want to change a document.
If you use BAPI_MEDDOC_ENQUEUE to set a block, then you must use BAPI_MEDDOC_DEQUEUE after executing your actions to cancel the lock.
When creating a document, you do not need to lock it, since the document key is unknown.
Example
Notes
If the document number (DOCUMENTNUMBER) is blank, the system will not terminate the lock and no error message will appear.
Further information
Parameters
DOCUMENTNUMBERDOCUMENTPART
DOCUMENTTYPE
DOCUMENTVERSION
RETURN
WORST_RETURNED_MSGTY
Exceptions
Function Group
1400General Data in Customer Master CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 1643 Date: 20240523 Time: 162322 sap01-206 ( 28 ms )