Fonction SAP BAPI_CASEDIAGNOSIS_CREATEMULT - IS-H BAPI CaseDiagnosis.CreateMultiple - Create Diagnoses for Case

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT BAPINALL-CLIENT C 3 Client
INSTITUTION BAPI2098DATA-INSTITUTION C 4 Institution
PATCASEID BAPI2098DATA-PATCASEID C 10 Case Number
TESTRUN BAPINALL-TESTRUN C 1 SPACE X Test Mode (No Changes in Database)

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
INPUT_DIAGNOSIS BAPI2098DATA 884 Table Containing Diagnosis Data to be Created
OUTPUT_DIAGNOSIS BAPI2098DATA 884 X Table Containing Generated Diagnosis Data
RETURN BAPIRET2 548 X Return Messages

Functionality
INCLUDE NBAPI_ISH
It creates diagnosis for an actual case. The records to be created areincluded in the input table INPUT_DIAGNOSIS passed to themethod.

Notes
INCLUDE NBAPI_DIAPARAMS
The following is checked in respect to the diagnoses to be created:
INCLUDE NBAPI_DIACHECKS
The fields maintained by IS-H*MED are transferred without beingchecked.
INCLUDE NBAPI_DIASET

Further information
To make the changes you require the authorization N_NDIA_ORG.
INCLUDE NBAPI_WORST_RETURNED_MSGTY
INCLUDE NBAPI_CLIENT
INCLUDE NBAPI_INSTITUTION
INCLUDE NBAPI_PATCASEID
INCLUDE NBAPI_TESTRUN

Description
In this table you specify the data of the case-related diagnoses to becreated.
The fields CLIENT, INSTITUTION and PATCASEID ofthe entries in this table are transferred without a check from theinput parameters of the same name when the diagnoses are created.Should a sequential number for the diagnosis (lfdnr) also be passed tothe method, it is ignored.
For each diagnosis, an existing movement number of the case (fieldMOVEMNT_SEQNO) must be specified to which the diagnosis can beassigned. If required, the movement number can be changed when thediagnosis is created, since the BAPI determines the movementdesignating arrival in the department for the specified movement, andassigns the diagnosis to this movement.
All of the fields of the respective diagnosis record are transferredfor creating the diagnosis. All IS-H fields are checked for consistencyand validity, whereas the IS-H*MED fields are transferred without sucha check.

Description
This table contains the diagnosis records as they were created in thedatabase.
It does not contain those diagnoses of the input table that could notbe created on account of incorrect data. The data created can differfrom that input, if field contents were empty or inconsistent.

Description
INCLUDE BAPI_RET

Value range
The following error messages can occur:
INCLUDE DIA_ERRORS