Ansicht
Dokumentation

BAPI_MEDSRV_CHANGEMULT_PATIENT - IS-H*MED: BAPI Medical Service Change Multiple - Change Medical Services

BAPI_MEDSRV_CHANGEMULT_PATIENT - IS-H*MED: BAPI Medical Service Change Multiple - Change Medical Services

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI method is part of the Clinical System component.

It is used to change an existing medical service for a patient who is already entered in the system. Using this method you can change the responsible employee. However, as a result, the system will create a new entry in the service status - employee assignment of the last service status. You cannot change the status of a service.

Example

Notes

You must enter the client, the institution and the patient number of the service you wish to change, as import parameters.

The MEDICALSERVICE_INPUT table (containing medical service data) can be transferred to the BAPU in order to change a service.

For each of its fields (except key fields and fields which cannot be changed), the above table also has an X field with the same name but ending with an "X". These X fields must be filled with an "X" if the system should write the corresponding attribute to the database. The system will not write attributes, with X fields which do not contain an "X", to the database.

This guarantees that the system will not overwrite existing fields in

the database or delete their contents.

During this method, the system will first check existing tables for errors and consistency. If the system finds an error in a record, it will log this internally and will not change the service in the database.

The parameter TESTRUN is optional. If it contains an "X", the module will run in test mode. The test mode is used to check transferred data. The system will return to the user any errors determined during this check in the RETURN table. In test mode, when the system checks the data consistency, the system will not write to the database.

You can find the return values which are possible and their meanings in the parameter documentation of the RETURN table.

You will require the following authorizations to execute this method:

  1. 1. On Patient level: N_NLEM_PATNR;
  2. 2. On Service level: N_NLEI_LNRLS;

The system will try to process, i.e. update, every transferred MEDICALSERVICE_INPUT record. If you transfer several services, which you wish to change, via the interface, and problems occur whilst the system is processing these services, the system will update all services except the one where the problem occurred.

Further information





Parameters

CLIENT
INSTITUTION
MEDICALSERVICE_INPUT
MEDICALSERVICE_OUTPUT
PATIENTID
RETURN
STATUS_OUTPUT
TESTRUN
WORST_RETURNED_MSGTY

Exceptions

Function Group

1410

Fill RESBD Structure from EBP Component Structure   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 3887 Date: 20240523 Time: 165716     sap01-206 ( 66 ms )