You can get the “Import of HANA Delivery Unit Activation” error while SPAM / SAINT or SUM operations on your HANA system, in this case you can check the below steps to solve the issue…
In our case, we got the error while importing the SAP_APPL Support Package (SAPKH61705) on the system ;
SAINT operation was cancelled during phase XPRA_EXECUTION
Checking the importing log ;
Detail of the METHOD_EXECUTION phase ;
Object MAT_PLANT_MRP_PREPARE (Procedure), package sap.erp.sappl.pph.v02.mrp.run, was processed with errors.
invalid name of function or procedure: no procedure with name sap.erp.sappl.pph.v02.read.finalize/FINALIZE_INDV_MRP foun
d: line 77 col 21 (at pos 4713) severity 3, retcode 71000328, location text 105:21, timestamp 2019-03-28 08:37:57.1530000
In this case, run the below sql commandon HANA studio to list inactive components on the system ;
SELECT DISTINCT(T2.”DELIVERY_UNIT”) FROM “_SYS_REPO”.”ACTIVE_OBJECT” AS T1 LEFT OUTER JOIN “_SYS_REPO”.”PACKAGE_CATALOG” AS T2 ON T1.”PACKAGE_ID” = T2.”PACKAGE_ID” WHERE T1.”PACKAGE_ID” like ‘sap.erp.%’ AND T1.”OBJECT_STATUS” = 1
After getting the list, go to transaction SE38/SA38 and execute the program “SNHI_NHDU_POST_PROCESS”
Assign the inactive object names which you got from the SQL script and execute with the selection “Activate Delivery Unit Content” (without selecting “Activate HTC)
You will get the screen like below for each activation ;
By the way, you can get the erroneous results, just continue with the other objects till end of the list.
After all list completed, continue to your process…