Ansicht
Dokumentation

BAPI_MEDSRVCAT_DELETEITEM - IS-H*MED: BAPI MEDSrvCat.Delete - Deleting Service Master Data

BAPI_MEDSRVCAT_DELETEITEM - IS-H*MED: BAPI MEDSrvCat.Delete - Deleting Service Master Data

PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI method is part of the basic data in the Clinical System industry-specific component.

It is used to delete the medical and radiological data of an existing IS-H*MED service of a service catalog.

Example

Notes

For correct processing, the import parameters and input tables must be supplied with the medical data to be deleted. The individual tables can be optionally filled.

In the input tables you include the key attributes of the data records which should be deleted from the database.

The following tables with key attributes for deleting a service can be can be transferred to the BAPI:

Table Description Key Attributes

SRVDATA_TPP_INPUT Resource profile for services CLIENT, INSTITUTION, SRVCATID, SERVICEID, PLANOBJECT, TASK
SRVDATA_TPLOK_INPUT Radiology: Excluded localization CLIENT, INSTITUTION, SRVCATID, SERVICEID, LOCALIZATION
SRVDATA_TPTA_INPUT Radiology: Excluded transport type CLIENT, INSTITUTION, SRVCATID, SERVICEID, TRANSPORT_TYPE
SRVDATA_TPLAB_INPUT Radiology: Laboratory parameters CLIENT, INSTITUTION, SRVCATID, SERVICEID, LAB_SRVCATID, LAB_SERVICEID

The system will return the deleted table entries to the corresponding OUTPUT tables.

The TESTRUN parameter is optional. If it is set to 'X', the system will runt the BAPI in test mode. The test mode is used to check the transferred data. In test mode, which you can use to check the consistency of the data, the system will not write changes to the database.

When you call the method, the system will first check the table for errors and inconsistencies. If it finds an error in a record, this will be logged internally and the system will not delete the entry from the database. Any errors found during the check will be returned to the user in the RETURN table.

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

Further information

If you wish to delete attributes from the SRVDATA_TPK and SRVDATA_TPM tables, you must use the change BAPI ( BAPI_MEDSRVCAT_CHANGEITEM).





Parameters

CLIENT
INSTITUTION
RETURN
SERVICEID
SRVCATID
SRVDATA_TPLAB_INPUT
SRVDATA_TPLAB_OUTPUT
SRVDATA_TPLOK_INPUT
SRVDATA_TPLOK_OUTPUT
SRVDATA_TPP_INPUT
SRVDATA_TPP_OUTPUT
SRVDATA_TPTA_INPUT
SRVDATA_TPTA_OUTPUT
TESTRUN
WORST_RETURNED_MSGTY

Exceptions

Function Group

1405

Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 4934 Date: 20240523 Time: 180548     sap01-206 ( 54 ms )