Ansicht
Dokumentation

BAPI_MEDDOC_ENQUEUE - IS-H*MED: Lock Document

BAPI_MEDDOC_ENQUEUE - IS-H*MED: Lock Document

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

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

DOCUMENTNUMBER
DOCUMENTPART
DOCUMENTTYPE
DOCUMENTVERSION
RETURN
WORST_RETURNED_MSGTY

Exceptions

Function Group

1400

General 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 )