Skip to Content
0
Former Member
Jun 09, 2009 at 07:34 PM

CREATE BAPI Wrapper for Data Objects

37 Views

Hi All

I have some questions about the CREATE BAPI Wrapper.

We have a business scenario where we create an Inventory Count Document on the handheld which has to be sent to the backend. Therefore, I will create a Upload Only Data Object and the CREATE BAPI Wrapper function module.

From a functional point of view once we synchronize the Inv. Count Documents from the handheld to the DOE/Backend, we do not need the documents on the handheld anymore. Actually, the synchronized Inv Count Documents should be deleted from the handheld after the synch.

First, I thought I had to call the DELETE BAPI Wrapper function module after each create, but then I

found the "Send Confirmation" flag in the backend adapter and the "Keep Inst. Locally" on the Data Object Overview. I couldn't find any detailed documentation except the following:

"If checked {Keep Inst. Locally}, the Data Object instance remains on the client after successful

confirmation"

Since I can't prototype this currently, I would like to check with the community my following understanding how CREATE works.

1) If I keep the "Send Confirmation" flag in the backend adapter unchecked, the Inv Count Document will remain on the handheld after synchronization.

2) If I keep "Send Confirmation" flag in the backend adapter checked and have "Keep Inst. Locally" on the Data Object checked, the Inv Count Document will remain on the handheld after synchronization.

3) If I keep "Send Confirmation" flag in the backend adapter checked and have "Keep Inst. Locally" on the Data Object unchecked, the Inv Count Document will be deleted from the handheld after synchronization (I assume this is done all by NW Mobile without a DELETE BAPI Wrapper).

Generally, what does the "Send Confirmation" flag in the backend adapter do for MODIFY and DELETE?

As always, you help on this is greatly appreciated.

Thanks,

W.Berger

Edited by: W Berger on Jun 9, 2009 9:46 PM