on 08-09-2011 11:05 AM
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
instead of "update" operation, use "other" operation
the update, create and delete operations only work when having a DOE integration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.