Skip to Content
avatar image
Former Member

Issue with CUD implementation in MBO Generated code

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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers