cancel
Showing results for 
Search instead for 
Did you mean: 

SUP 1.5.5 Custom Development - Update Operation

Former Member
0 Kudos

Hi all,

I am developing a custom blackberry application with the backend R/3 and middleware is SUP 1.5.5. My scenario has getList, getDetail & Update. Here I have created two MBOs for GetList & GetDetail. Update operation is in getList MBO. When I do the sync, I have got the list & detail data, and it is dispalying correctly. But when I tried to update, it is not happening. Can any one instruct me how do the Update opration in cu

Regards,

Nithya

Accepted Solutions (0)

Answers (2)

Answers (2)

TomVanDoo
Active Contributor
0 Kudos

instead of "update" operation, use "other" operation

the update, create and delete operations only work when having a DOE integration

Former Member
0 Kudos

Hi Nithya,

Normally whenever you change something, it will be added to pending operations but not sychronized with the server. So what you have to do is, I guess you have a change screen with Submit or Save button. When you click on that, you need to add an operation( I forgot the exact operation but I think it is Synchronize) and you get an option to select based on how many pending operations you want to update. You can keep the count there as "1". So the moment you change and submit, it will be updated or atleast the call goes to your Backend update function module.

Regards,

Siva.

Former Member
0 Kudos

Hi Siva

The problem is I have set the values for the attributes. I have done my code like this : For example.

Customer cust = Customer.findById(101);

cust.setFname("supAdmin");

cust.setCompany_name("Sybase");

cust.setPhone("777-8888");

cust.save();

cust.submitPending();

<PkgName>DB.synchronize();

When i execute the code i get exception in save method. When i debug, I got the exception at KeyGenerator.generateId() method.

Regards,

Nithya

Edited by: Nithya on Aug 9, 2011 12:24 PM

Edited by: Nithya on Aug 9, 2011 12:25 PM