While contract integration from Ariba CIG to ECC we are facing a short dump. The issue goes like this - The contract has total of 3 service lines out of which 2 are deleted. But when processing the contract into ECC the deleted line item's ESLH entries are considered for insertion, which is giving the short dump.
Contract with deleted lines:
Point where dump was triggered:
Even though the payload has only the first line item, while debugging it's observed that from BAPI_CONTRACT_GETDETAIL the 3 items are being fetched. Even though the LOEKZ is marked for second two items, it's being processed resulting in this dump.
Please pitch in your thoughts on how this issue and any resolutions. Any help is appreciated.