on 11-06-2007 11:23 AM
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
Workaround is to set the attribute not be mandatory (Cardinality 0..1).
Is this a bug or intention?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.