Fonction SAP BAPI_PATCASE_DEQUEUE - IS-H BAPI PatientCase.Dequeue - Dequeue Case

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
INSTITUTION BAPINALL-INSTITUTION C 4 Institution
PATCASEID BAPINALL-PATCASEID C 10 Case Number

Paramètre Reférence Type Long. Description
WORST_RETURNED_MSGTY BAPINALL-WORSTRETMSG C 1 Most Severe Message Type

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It unlocks a specific case after processing.
This is only required if you set a lock beforehand usingBAPI_PATCASE_ENQUEUE.

Example
You want to create a case using external number assignment. The correctcall sequence is as follows:
RESET N1
BAPI_PATCASE_ENQUEUE
BAPI_PATCASE_ADDINPATADMISS
BAPI_TRANSACTION_COMMIT (with parameter WAIT = ' ')
BAPI_PATCASE_DEQUEUE

Notes
INCLUDE BAPI_RET
INCLUDE NBAPI_WORST_RETURNED_MSGTY
INCLUDE NBAPI_INSTITUTION OBJECT DOKU ID TX
INCLUDE NBAPI_PATCASEID OBJECT DOKU ID TX

Description
Errors that occur are returned in this table.