Performance issues during element deletion via BAPIs & APIs
[BAPI BAPI_RECORD_DELETEE] [Case] [delete] [document] [performance] [record]
Related:
- Search performance problem in the SAP Records managementSymptom When the customer performs a search on an element...
Symptom
The deletion of documents using the BAPI ‘BAPI_RECORD_DELETEELEMENTS’ takes a long time when there are too many objects linked to the record and deletion of objects is done using service provider-specific identifiers.
Other terms
Performance, record, case, document, delete, BAPI BAPI_RECORD_DELETEELEMENTS, time, API, element_delete_by_poid
Reason and Prerequisites
Program Error
Solution
Kindly apply the note to get the correction.
Note that, after the correction has been implemented, the performance will increase only while deleting objects which occur towards the beginning of the record hierarchy . The time taken to delete them will increase in proportion to the position of the object towards the end of the record.