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

Parameter Reference Type Length Default Optional Text
INSTITUTION BAPINALL-INSTITUTION C 4 Institution
PATCASEID BAPINALL-PATCASEID C 10 Case Number

Parameter Reference Type Length Text
WORST_RETURNED_MSGTY BAPINALL-WORSTRETMSG C 1 Most Severe Message Type

Parameter Reference Length Optional Text
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.