Skip to Content

Issue with CUD implementation in MBO Generated code

Aug 11, 2017 at 09:16 AM


avatar image

Hello All,

We have a IOS mobile application based on MBO. For one of our MBO SalesDocument, we had to add two new fields. After adding this and GeneratingCode through SAP Mobile WorkSpace, I see that in the MBO Generated code three new methods have been added for Create, Update and Delete.

#pragma mark -

#pragma mark CUD implementation

- (void) create


[super create];

self.cvpOperation.value = nil;


- (void)update


[super update];


self.cvpOperation.value = nil;


- (void)delete


[self doesNotRecognizeSelector:_cmd];


So while deleting the Sales Document on the Client I get an error

[SalesDocument delete]: unrecognized selector sent to instance 0x7f97a6185190

Obviously, because the generated code throws an exception.

Can anyone please help me know why is the Generated code adding this method and also why is this throwing an exception. I checked the other MBO's generated code there they don't have this CUD Implementation.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers