Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

UpdateException mandatory value is missing

Hi Experts,

i have a strange problem. I try to update an existing object, but the following error is shown:

Failed SetCustomerAvailable: com.sap.caf.rt.exception.CAFUpdateException: Mandatory attribute CustomerAvailable value is missing: 

CustomerAvailable is a Attribute of my Business Object (Cardinality 1..1) i try to update the field with:

		CustomerService cs = this.getCustomerService();
		Customer customer = null;

		try {
			customer = cs.read(CusomerID);
			customer.setCustomerAvailable(true);
                       cs.update(cusomer);
} catch .....

Thank for Help

Former Member
Not what you were looking for? View more on this topic or Ask a question