I am using BAPI "/AFS/BAPI_MATERIAL_SAVEDATA" to create material in SAP AFS module. The data would come from front end and hit this bapi to create the material.
When the user is deleting one of the unit of measure from front end and sending the data to SAP, i am not able to delete the UoM which was deleted from front end. It is not getting deleted from "UNITOFMEASURE" internal table inspite of sending "X" to the deletion flag.
Please guide me. I tried executing the bapi using many options, but no luck.