cancel
Showing results for 
Search instead for 
Did you mean: 

Update MBO created from BAPI

Former Member
0 Kudos

Hello everybody,

I created an MBO from a BAPI. And I am able to retrieve all

data from this BAPI and have my MBOs in the local database on the device.

How is it possible to update fields of the MBO in the local database?

If i am creating an update operation for calling an writing BAPI I am only

able to write in the SAP Backend... am I right?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

My undetstanding is that, if you have a 'UPDATE' type operation on your MBO, you can save locally, then the change will propagate to server and eventually to you backend when you synchronize.

Former Member
0 Kudos

Thanks for your quick response. This is what I also expecting... But can somebody say if this is definitely the case (even for BAPIs)? Has this someone already approved?

Former Member
0 Kudos

Stefan, this is what I have confirmed in our environment (SUP 2.1, Windows Mobile, RBS):

1. Multiple MBOs created from BAPI1 for getting data from SAP

2. Mobile device can synchronize and get those MBOs filled with data

3. For one MBO, created 'UPDATE' type operation 'myUpdate()' from BAPI2 for sending data back

4. In device, make some change and call myUpdate() and SubmitPendingChanges()

5. Now your changes save in your device locally but not yet into server

6. Synchronize() propagates changes into cache on server

I haven't seen changes are sent from server to SAP because BAPI2 was a dummy one - written just for test, doing nothing in backend but always returning success.

Bob

Former Member
0 Kudos

Thanks for that information. Sounds very promising.

I will proof this for my application. Do you know which ESD you are using ? 1, 2 or 3.

Because i am using SUP 2.1 ESD 1 and I recognized that there are significant changes

from ESD 1 to 3.